Skip to main content

A simple command line tool to move your competitive programming workflow to your terminal.

Project description

Codeforces CLI [WORK IN PROGRESS]

A simple command line tool to move your competitive programming workflow to your terminal.

How to install?

1. Install using pip

$ pip install -U codeforces
$ cf --help

2. Install from source

  • Clone the repo
$ git clone https://github.com/Nirlep5252/codeforces-cli
  • Install it
$ cd ./codeforces-cli
$ python3 -m pip install build
$ python3 -m build
$ python3 -m pip install dist/codeforces-0.0.1-py3-none-any.whl --force-reinstall
  • Happy coding!
$ cf --help

Current commands:

cf config - save your username, password, problems-directory
cf contests - list all the current or upcoming contests
cf contests {ID} - view all the problems of an ongoing contest
cf parse {Contest ID} {Problem ID | Optional} {--lang | Optional} - parse the problem and its test cases
cf run {FILE} - check the test cases for the current problem (works based on current directory)
cf submit {FILE} - submit the problem (requires config) (works based on current directory)
cf unsolved - return the list of all your unsolved problems

TODO commands:

cf standings {Contest ID | Optional} - show all the standings of an ongoing of finished contests
cf suggest - suggest a problem based on your current rating

TODO features:

  • Support all languages in run
  • A problem recommendation system, maybe?

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codeforces-0.0.7.tar.gz (9.6 kB view details)

Uploaded Source

File details

Details for the file codeforces-0.0.7.tar.gz.

File metadata

  • Download URL: codeforces-0.0.7.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for codeforces-0.0.7.tar.gz
Algorithm Hash digest
SHA256 ba62f9d9b43a5af752a1531241097c3c3009fa32e7516e1fad180eeceeae8fd2
MD5 99675e991ce3c74f0a6e8998de70caa0
BLAKE2b-256 34b055b8e0f8b732e2df58b3ac851e752f270b9750a9cba31ef68953745a0aa0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page