A command-line tool for querying and submitting problems on CodeChef.
- Search & submit problems
- Search solutions
- Search users, ratings, tags and teams
- python (>= 3.6)
- requests_html (0.10.0)
pip install codechefcli
# 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++
# run tests
pytest -v
# lint
isort
flake8 . --max-line-length=100