sk364 / codechef-cli

CodeChef Command Line Client.
https://pypi.python.org/pypi/codechefcli
GNU General Public License v3.0
35 stars 36 forks source link
cli codechef codechef-api codechef-cli competitive-coding competitive-programming python

CodeChef CLI PyPI version Build Status

A command-line tool for querying and submitting problems on CodeChef.

Features

Requirements

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