Skip to main content

Tool to solve Pybites Platform exercices locally.

Project description

forthebadge

eatlocal

Eatlocal helps users solve Pybites code challenges locally. This cli tool allows you to download bites from the platform. You can display bite directions directly in the terminal. Once you have solved the bite you can use eatlocal to submit and it offers to open your default browser the corresponding bite page.

Table of Contents

Updates

eatlocal 1.0.0+ has been updated to work with version 2.0 of the PyBites platform.

Breaking Changes

Version 1.1.0

  • Uses the bite slug for the name of the directory.

Version 1.0.0

  • eatlocal version 1.0.0 only works on the new platform (v2).
  • eatlocal directory no longer has to be a git repository.
  • Submitting a bite no longer pushes it to GitHub.
  • Bite directories are now names by the bites instead of the number.
  • No need to download chrome and chrome driver.
  • No more verbose mode

Usage

Set up your configuration file:

eatlocal init

Download bites:

eatlocal download

Display bites in the terminal:

# change the theme with -t <theme name>
eatlocal display

Submit bites:

eatlocal submit

Installation

There are a few options for install eatlocal.

Using uv

If you have uv installed:

uv tool install eatlocal

Using pipx

If you have pipx installed:

pipx install eatlocal

macOS/Linux

pip3 install eatlocal

Windows

pip install eatlocal

Setup

Run eatlocal init to configure your PyBites username, PyBites password*, and local git repository.

*Note: If you signed up for PyBites by authenticating through GitHub or Google, you will need to set a password on the platform first.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eatlocal-1.1.0.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

eatlocal-1.1.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file eatlocal-1.1.0.tar.gz.

File metadata

  • Download URL: eatlocal-1.1.0.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.1

File hashes

Hashes for eatlocal-1.1.0.tar.gz
Algorithm Hash digest
SHA256 87ea23e50725bea96d25a893e8db0e5360db6bc7703b5d37dc2a1965b63d8b18
MD5 17b40e99c8c573ddc598a71092087374
BLAKE2b-256 b74d8b3685d00a0c674cd4187b754738e470c9dd7473b85c3304ca2b203f6d3a

See more details on using hashes here.

File details

Details for the file eatlocal-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for eatlocal-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f852482e4e848b4cd70a749225fd442f46f5e67905bba6a1cdd2adaee6c0557
MD5 7cebe8a250b8e94c4f513832bc162049
BLAKE2b-256 03fa74b2fdea37893516ceaed2b496ed3f71b4221e28d73460ef3fed0ca97c14

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page