Codeforces API wrapper for python
Project description
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.
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
Built Distribution
File details
Details for the file python-codeforces-0.2.7.tar.gz
.
File metadata
- Download URL: python-codeforces-0.2.7.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6730ddba62bfa0fd66417e30e87181dc4e4f1005f88bd3e8623dee7663bbe05 |
|
MD5 | 5206faa920818dfdbf3480b10e9594f9 |
|
BLAKE2b-256 | 549137b0a8badbeb2bf02d701c0d1b67146bf13877462be5b7f690f3fc38f27f |
File details
Details for the file python_codeforces-0.2.7-py3-none-any.whl
.
File metadata
- Download URL: python_codeforces-0.2.7-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd27b74861018fb9e1ad70d325f23993f6fa30a163bc7f4bc093f147e47cded6 |
|
MD5 | ba02f7a73075138266ded5924d46c207 |
|
BLAKE2b-256 | ef66ce3e7ffbfcad9e05026f2456c3e8e9ea1b1b280608b22f27bad8ae946f2d |