codechefcli

CodeChef Command Line Interface


Keywords
codechefcli, codechef, cli, programming, competitive-programming, competitive-coding, codechef-api, codechef-cli, python
License
GPL-3.0
Install
pip install codechefcli==0.5.3

Documentation

CodeChef CLI PyPI version Build Status

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

Features

  • Search & submit problems
  • Search solutions
  • Search users, ratings, tags and teams

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