A command-line tool for querying and submitting problems on CodeChef.
Features
- Search & submit problems
- Search solutions
- Search users, ratings, tags and teams
Requirements
- python (>= 3.6)
- requests_html (0.10.0)
Installation
pip install codechefcli
Usage
# See full list of options:
codechefcli --help
# Login to CodeChef
codechefcli --login
# Get problem description:
codechefcli --problem WEICOM
# Get contests:
codechefcli --contests
# Submit a problem:
codechefcli --submit WEICOM /path/to/solution/file C++
Linting & Testing
# run tests
pytest -v
# lint
isort
flake8 . --max-line-length=100