Skip to main content

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.1

  • Moved the local bites database to a new location. It used to be in the directory set by the user, now eatlocal will look for it in ~/.eatlocal. Run eatlocal init to set the new location.

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

Setup

Run eatlocal init to configure your PyBites username, PyBites password*, and local where you will solve your bites.

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

Usage

Set up your email, password, and directory where you will solve your bites. It will also create the local bites database, and the cache database:

eatlocal init

Download bites:

# Show all bites
eatlocal download

# Show only newbie bites
eatlocal download --level newbie

# Show only intro bites
eatlocal download --level intro

# Show only beginner bites
eatlocal download --level Beginner

# Show only intermediate bites
eatlocal download --level Intermediate

# Show only advanced bites
eatlocal download --level Advanced

If you want to force a re-download of a given bite use the --force flag. This will overwrite the bite directory.

eatlocal download --force

By default, eatlocal will cache the bites list and update it every 30 days. If you are not seeing a new bite, then you can clear the cache with the --clear-cache flag.

eatlocal download --clear-cache

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

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated, be sure to explore the contributing guide for more information..

Metadata

Release files for eatlocal 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eatlocal 1.2.2
File Size Uploaded
eatlocal-1.2.2.tar.gz 2.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for eatlocal 1.2.2
File Interpreter ABI Platform
eatlocal-1.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 2.6 MB

Release files / eatlocal-1.2.2.tar.gz

Download URL eatlocal-1.2.2.tar.gz
Size 2.6 MB
Tags Source
SHA-256 checksum
How to use checksums
65d0929259defe17ee54423c74af52760fa30042140e3dec2c1fb95c192cca32
BLAKE2b-256 checksum
How to use checksums
81023d6d3cd754f17092bb4f5ea276a2e695d6f7d4b150ee69339fcce168e1ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.25

Release files / eatlocal-1.2.2-py3-none-any.whl

Download URL eatlocal-1.2.2-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
20ec916fed3ae2d32e8ac2c8fd2770fb993b4041121e5b7b36146ae793b16b49
BLAKE2b-256 checksum
How to use checksums
584d28af44179f69e7a68522215116862c2fbbd57c464ca74137e9d389894b67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.25

Release history Release notifications | RSS feed

This release

1.2.2 This release

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.7

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.6

2 release files

0.5

2 release files

0.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page