Codeforces Client is a Python library and tooling for working with Codeforces.
Use the package manager pip to install codeforces-client.
pip install codeforces-client
To configure default params like your codeforces handle or favorite programming language you can use:
cf-cli config
You can load all submissions you made to codeforces before with:
cf-cli load
Load could be specified with different params i.e. next command will load all submissions, including unsuccessful tourist
made for the contest 2
in delphi
. Please use --help
for detailed info.
cf-cli load --handle=tourist --contest-id=2 --verdict=any --language=delphi
import codeforces_client as cf
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.