Skip to main content

OpenContest Client

A very simple OpenContest command line client written in Python. The only dependency is the requests library. Tested with Linux only. Please report bugs on our issues page.

Usage

You can get started with

pip install opencontest-client

Now register an account on an OpenContest server with

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

You can save your username, homeserver (the server you registered your account on), and password with

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

Query information about an OpenContest server with

occ about -s server.com

You can view the contests on the server with

occ contests -s server.com

Check the contest info with

occ info -s server.com -c contest

Save a problem statement with

occ problems -s server.com -c contest -p problem

Now you can submit with

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

And check your status with

occ status -s server.com -c contest

You can query your submission history for a contest

occ submissions -s server.com -c contest

And examine a particular submission with

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

View the number of solves of each problem with

occ solves -s server.com -c contest

Release files for opencontest-client 2.3.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-client 2.3.0
File Size Uploaded
opencontest-client-2.3.0.tar.gz 15.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for opencontest-client 2.3.0
File Interpreter ABI Platform
opencontest_client-2.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 31.0 kB

Release files / opencontest-client-2.3.0.tar.gz

Download URL opencontest-client-2.3.0.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
605110a6bcc6bfdc1fdaf07409bc832bf3c4865d448f7aba4412da1a2230fb7b
BLAKE2b-256 checksum
How to use checksums
dac5a97ca228ced04853785c95cb594fbdbab3641a803ace1ff4b52fae7dcf54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

Release files / opencontest_client-2.3.0-py3-none-any.whl

Download URL opencontest_client-2.3.0-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
60568dabd09df288de658790d4897d30827aee5c9f90ce490cf6a5f9cf80f58f
BLAKE2b-256 checksum
How to use checksums
80fb2417185969f381490c81d083ddfc1325a9e624bdb2631a77d9ec261ec282
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

Release history Release notifications | RSS feed

This release

2.3.0 This release

2 release files

2.1.0

2 release files

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