https://github.com/sk364/codechef-cli
CodeChef Command Line Client.
https://github.com/sk364/codechef-cli
cli codechef codechef-api codechef-cli competitive-coding competitive-programming python
Last synced: 3 days ago
JSON representation
CodeChef Command Line Client.
- Host: GitHub
- URL: https://github.com/sk364/codechef-cli
- Owner: sk364
- License: gpl-3.0
- Created: 2017-10-26T12:00:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T09:11:45.000Z (over 2 years ago)
- Last Synced: 2026-01-05T20:36:59.225Z (11 days ago)
- Topics: cli, codechef, codechef-api, codechef-cli, competitive-coding, competitive-programming, python
- Language: Python
- Homepage: https://pypi.python.org/pypi/codechefcli
- Size: 186 KB
- Stars: 36
- Watchers: 2
- Forks: 36
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CodeChef CLI [](https://badge.fury.io/py/codechefcli) [](https://travis-ci.org/sk364/codechef-cli)
A command-line tool for querying and submitting problems on [CodeChef](https://www.codechef.com/).
# Features
* Search & submit problems
* Search solutions
* Search users, ratings, tags and teams
# Requirements
* python (>= 3.6)
* [requests_html](https://github.com/psf/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
```