Skip to main content

OpenContest CLI

A very simple OpenContest command line client written in Python and requests.

Usage

Install this client using pip:

pip install opencontest-cli

Register an account on an OpenContest server:

occ user -s homeserver.com -N name -E email -U username -P password

Save username, homeserver (the server you registered your account on), and password to disk:

occ save -U username -H homeserver.com -P pasword

Get information about an OpenContest server:

occ about -s server.com

Get information about a contest:

occ info -s server.com -c contest

View the number of solves of each problem:

occ solves -s server.com -c contest

View the submission history of all users in a contest:

occ history -s server.com -c contest

Submit code:

occ submit -s server.com -c contest -p problem -c code_file

Check user status:

occ status -s server.com -c contest

Query your contest submission history:

occ submissions -s server.com -c contest

Get code for a specific submission number:

occ code -s server.com -c contest -n submission_number

Metadata

Release files for opencontest-cli 2.8.0

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

Source distribution (sdist)

Source distribution for opencontest-cli 2.8.0
File Size Uploaded Provenance Actions
opencontest-cli-2.8.0.tar.gz 15.3 kB Without provenance Details for opencontest-cli-2.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for opencontest-cli 2.8.0
File Interpreter ABI Platform Actions
opencontest_cli-2.8.0-py3-none-any.whl Python 3 none any Details for opencontest_cli-2.8.0-py3-none-any.whl

Total release size: 31.1 kB

Release files / opencontest-cli-2.8.0.tar.gz

Download URL opencontest-cli-2.8.0.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1e1b8263c9c5bd2c52034e2ac5d052c1670b01b18e0cc8bf35faca7dc3360151
BLAKE2b-256 checksum
How to use checksums
93075e66ec3404545d7630b14bfe735e4562ba70721c123bb3b96cb79bd4d0b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release files / opencontest_cli-2.8.0-py3-none-any.whl

Download URL opencontest_cli-2.8.0-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a25e86d000af65bda4af44664f70148dd6371ae2f63c5b054c78dac7d6d4643
BLAKE2b-256 checksum
How to use checksums
5fc0e85da882e17582cd33bb7cc890514df2e2f57afe8d89e046b25d330c4f11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Security for opencontest-cli 2.8.0

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