{"id":18405741,"url":"https://github.com/pybites-open-source/eatlocal","last_synced_at":"2025-04-07T08:32:12.821Z","repository":{"id":38845269,"uuid":"447708794","full_name":"PyBites-Open-Source/eatlocal","owner":"PyBites-Open-Source","description":"This package helps users solve PyBites code challenges on their local machine.","archived":false,"fork":false,"pushed_at":"2025-02-14T10:43:11.000Z","size":4748,"stargazers_count":23,"open_issues_count":2,"forks_count":11,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-06T23:15:59.507Z","etag":null,"topics":["hacktoberfest","pybites"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PyBites-Open-Source.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-13T18:27:37.000Z","updated_at":"2025-02-19T17:59:01.000Z","dependencies_parsed_at":"2023-02-09T16:46:17.870Z","dependency_job_id":null,"html_url":"https://github.com/PyBites-Open-Source/eatlocal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyBites-Open-Source%2Featlocal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyBites-Open-Source%2Featlocal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyBites-Open-Source%2Featlocal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyBites-Open-Source%2Featlocal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PyBites-Open-Source","download_url":"https://codeload.github.com/PyBites-Open-Source/eatlocal/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247620263,"owners_count":20968172,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","pybites"],"created_at":"2024-11-06T03:04:33.630Z","updated_at":"2025-04-07T08:32:12.810Z","avatar_url":"https://github.com/PyBites-Open-Source.png","language":"Python","readme":"[![forthebadge](https://forthebadge.com/images/badges/made-with-python.svg)](https://forthebadge.com)\n\n# eatlocal\n\nEatlocal helps users solve [Pybites](https://pybitesplatform.com) 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.\n\n## Table of Contents\n\n- [eatlocal](#eatlocal)\n  - [Updates](#updates)\n    - [Version](#version-080)\n    - [Breaking Changes](#breaking-changes)\n  - [Table of Contents](#table-of-contents)\n  - [Usage](#usage)\n  - [Installation](#installation)\n    - [macOS/Linux](#macoslinux)\n    - [Windows](#windows)\n  - [Setup](#setup)\n\n## Updates\n\neatlocal 1.0.0+ has been updated to work with version 2.0 of the PyBites platform.\n\n### Breaking Changes\n\n#### Version 1.1.1\n+ 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.\n\n#### Version 1.1.0\n+ Uses the bite slug for the name of the directory.\n\n#### Version 1.0.0\n+ eatlocal version `1.0.0` only works on the new platform (v2).\n+ eatlocal directory no longer has to be a git repository.\n+ Submitting a bite no longer pushes it to GitHub.\n+ Bite directories are now names by the bites instead of the number.\n+ No need to download chrome and chrome driver.\n+ No more verbose mode\n\n\n## Setup\n\nRun `eatlocal init` to configure your PyBites username, PyBites password*, and local where you will solve your bites.\n\n*Note:  If you signed up for PyBites by authenticating through GitHub or Google, you will need to set a password on the platform first.\n\n## Usage\n\nSet up your email, password, and directory where you will solve your bites. It will also create the local bites database, and the cache database:\n\n```bash\neatlocal init\n```\n\nDownload bites:\n\n```bash\n# Show all bites\neatlocal download\n\n# Show only newbie bites\neatlocal download --level newbie\n\n# Show only intro bites\neatlocal download --level intro\n\n# Show only beginner bites\neatlocal download --level Beginner\n\n# Show only intermediate bites\neatlocal download --level Intermediate\n\n# Show only advanced bites\neatlocal download --level Advanced\n```\n\nIf you want to force a re-download of a given bite use the `--force` flag. This will overwrite the bite directory.\n\n```bash\neatlocal download --force\n```\n\nBy 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.\n\n```bash\neatlocal download --clear-cache\n```\n\nDisplay bites in the terminal:\n\n```bash\n# change the theme with -t \u003ctheme name\u003e\neatlocal display\n```\n\nSubmit bites:\n\n```bash\neatlocal submit\n```\n\n## Installation\n\nThere are a few options for install eatlocal.\n\n### Using uv\n\nIf you have [uv](https://github.com/astral-sh/uv) installed:\n\n```bash\nuv tool install eatlocal\n```\n\n### Using pipx\n\nIf you have [pipx](https://pypa.github.io/pipx/) installed:\n\n```bash\npipx install eatlocal\n```\n\n### macOS/Linux\n\n```bash\npip3 install eatlocal\n```\n\n### Windows\n\n```bash\npip install eatlocal\n```\n\n## Contributing\n\nContributions 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](CONTRIBUTING.md) for more information.. ","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpybites-open-source%2Featlocal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpybites-open-source%2Featlocal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpybites-open-source%2Featlocal/lists"}