Skip to content

sk364/codechef-cli

Repository files navigation

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