python-codeforces 0.2.7

Creator: railscoder56

Last updated:

Add to Cart

Description:

pythoncodeforces 0.2.7

python-codeforces

Codeforces API wrapper for python














Installation
Using pip
pip install python-codeforces

From source
git clone https://github.com/Mukundan314/python-codeforces.git
cd python-codeforces
pip install .

For Development
git clone https://github.com/Mukundan314/python-codeforces.git
cd python-codeforces
pip install -e .

Commandline tools
cf-run
Run a program against sample testcases.
usage: cf-run [-h] [-t TIMEOUT] [-g] contestId index program

positional arguments:
contestId Id of the contest. It is not the round number. It can
be seen in contest URL.
index A letter or a letter followed by a digit, that
represent a problem index in a contest.
program Path to executable that needs to be tested

optional arguments:
-h, --help show this help message and exit
-t TIMEOUT, --timeout TIMEOUT
Timeout for program in seconds, -1 for no time limit
(default: 10)
-g, --gym If true open gym contest instead of regular contest.
(default: false)

Documentation
Documentation can be found at https://python-codeforces.readthedocs.io/en/latest/
License
See LICENSE.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.