Eatlocal - This package helps users solve PyBites code challenges on their local machine

Related tags

Miscellaneouseatlocal
Overview

eatlocal

This package helps the user solve Pybites code challenges locally.

Installation

pip install eatlocal

Usage

Go through the directions on the PyBites website to connect your GitHub account to your PyBites account. eatlocal allows you to download bites, unzip, and organize them according to the expected structure from the directions on the PyBites website. Once you have solved the bite you can submit it and the eatlocal will open a bowser tab at the correct location.

Download and extract bites with the --download flag: eatlocal -d <bite number>

Unzip and organize bites you have already downloaded with the --extract flag: eatlocal -e <bite number>

Submit bites with the --submit flag: eatlocal -s <bite number>

Requirements

In order for the download flag to work properly, you must have chromedriver on $PATH. Since I use macOS, I handled this with homebrew: brew install chromedriver. Homebrew automatically puts chromedriver on path for you. You must also have your PyBites username and password stored in the environment variables PYBITES_USERNAME and PYBITES_PASSWORD respectively. There are two methods to handle this.

Virtual Environment Method

  1. Create a virtual environment for your pybites repo:
    • python3 -m venv .venv
  2. With the environment deactivated, use your favorite text editor to open the activate file, e.g. nvim .venv/bin/activate and add the following lines:
    • export PYBITES_USERNAME=<username>
    • export PYBITES_PASSWORD=<password>
  3. Activate the environment source .venv/bin/activate.

Shell RC Method

  1. If you are not using a virtual environment, you can add the variables directly to your shell config. I use zsh, so I would use my favorite text editor nvim ~/.zshrc and set the variables by adding the same two lines as above:
    • export PYBITES_USERNAME=<username>
    • export PYBITES_PASSWORD=<password>
  2. Either exit close your shell completely and reopen, or source your config file with source ~/.zshrc.
Owner
Russell
I teach math and coding.
Russell
Calc.py - A powerful Python REPL calculator

Calc - A powerful Python REPL calculator This is a calculator with a complex sou

Alejandro 8 Oct 22, 2022
Ahmed Hossam 12 Oct 17, 2022
a simple thing that i made for fun :trollface:

we-do-a-little-trolling about a simple thing that i made for fun. requirements and instructions first you need to install obs , then start the virtual

ranon rat 6 Jul 15, 2022
Got-book-6 - LSTM trained on the first five ASOIAF/GOT books

GOT Book 6 Generator Are you tired of waiting for the next GOT book to come out? I know that I am, which is why I decided to train a RNN on the first

Zack Thoutt 974 Oct 27, 2022
Coffeematcher is a python library to randomly match participants for coffee meetings.

coffeematcher coffeematcher is a python library to randomly match participants for coffee meetings. Installation Clone the repository: git clone https

Thomas Wesselink 3 May 06, 2022
Basic Hspice runner with Python

HSpicePy Bilgisayarınıza PATH değişkenlerine eklediğiniz HSPICE programını python ile çalıştırmanızı sağlayan basit bir araç. A simple tool that allow

1 Nov 16, 2021
A simple projects to help your seo optimizing has been written with python

python-seo-projects it is a very simple projects to help your seo optimizing has been written with python broken link checker with python(it will give

Amirmohammad Razmy 3 Dec 25, 2021
A software dedicated to automaticaly select the agent of your desire in Valorant

AUTOPICKER A software dedicated to automaticaly select the agent of your desire in Valorant GUIDE Before stariting to use this program check if you ha

p1n00 0 Sep 24, 2022
Tenda D151 & D301 - Unauthenticated configuration download

Exploit Title: Tenda D151 & D301 - Unauthenticated configuration download (login included)

Ayoub 3 Jul 14, 2022
A simple script that can watch a list of directories for change and does some action

plot_watcher A simple script that can watch a list of directories and does some action when a specific kind of change happens In its current implement

Charaf Errachidi 12 Sep 10, 2021
3D Printed Flip Clock Design and Code

Smart Flip Clock 3D printed smart clock that puts a new twist on old technology. Making The Smart Flip Clock The first thing that must be done for thi

Thomas 105 Oct 17, 2022
Sudoku-Solver

Sudoku-Solver This is a personal project, that put all my today knowledges to the test, is a project that im developing alone with a lot of effort and

Carlos Ismael Gitto Bernales 5 Nov 08, 2021
The git for the Python Story Utility Package library.

PSUP, The Python Story Utility Package Module. PSUP helps making stories or games with options, diverging paths, different endings and so on. You can

Enoki 6 Nov 27, 2022
Simple python code for compile brainfuck program.

py-brainf*ck Just a basic compiled that compiles your brainf*ck codes and gives you informations about memory, used cells, dumped version, logs etc...

4 Jun 13, 2021
Flask-built web application that simulates a time and cost calculator for charging Electric Vehicles.

ev_charging_calculator Flask-built web application that simulates a time and cost calculator for charging Electric Vehicles. The project aims to simul

1 Nov 03, 2021
Python module for creating the circuit simulation definitions for Elmer FEM

elmer_circuitbuilder Python module for creating the circuit simulation definitions for Elmer FEM. The circuit definitions enable easy setup of coils (

5 Oct 03, 2022
Battle-Ship - Python-console battle ship

Battle-Ship this SHOULD work in lenux(if i spelled it wrong spam issues till I fix it) the thing that maby wont work is where it clears the screen the

pl608 2 Jan 06, 2022
🍕 A small app with capabilities ordering food and listing them with pub/sub pattern

food-ordering A small app with capabilities ordering food and listing them. Prerequisites Docker Run Tests docker-compose run --rm web ./manage.py tes

Muhammet Mücahit 1 Jan 14, 2022
A self contained invitation management system for gatekeeping.

Invitease Description A self contained invitation management system for gatekeeping. Purpose Serves as a focal point for inviting guests to a venue pr

מעגן מיכאל 7 Jul 19, 2022
An implementation of an interpreter for the Brainfuck esoteric language in Python

Brainfuck Interpreter in Python An implementation of an interpreter for the Brainfuck esoteric language in Python. 🧠 The Brainfuck Language Created i

Carlos Santos 0 Feb 01, 2022