Skip to main content

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.

Metadata

Release files for python-codeforces 0.2.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-codeforces 0.2.7
File Size Uploaded Provenance Actions
python-codeforces-0.2.7.tar.gz 5.3 kB Without provenance Details for python-codeforces-0.2.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for python-codeforces 0.2.7
File Interpreter ABI Platform Actions
python_codeforces-0.2.7-py3-none-any.whl Python 3 none any Details for python_codeforces-0.2.7-py3-none-any.whl

Total release size: 12.7 kB

Release files / python-codeforces-0.2.7.tar.gz

Download URL python-codeforces-0.2.7.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a6730ddba62bfa0fd66417e30e87181dc4e4f1005f88bd3e8623dee7663bbe05
BLAKE2b-256 checksum
How to use checksums
549137b0a8badbeb2bf02d701c0d1b67146bf13877462be5b7f690f3fc38f27f
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / python_codeforces-0.2.7-py3-none-any.whl

Download URL python_codeforces-0.2.7-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd27b74861018fb9e1ad70d325f23993f6fa30a163bc7f4bc093f147e47cded6
BLAKE2b-256 checksum
How to use checksums
ef66ce3e7ffbfcad9e05026f2456c3e8e9ea1b1b280608b22f27bad8ae946f2d
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for python-codeforces 0.2.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page