A very simple OpenContest command line client written in Python
Project description
OpenContest CLI
A very simple OpenContest command line client written in Python and requests.
Usage
You can get started with
pip install opencontest-cli
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
Project details
Release history Release notifications | RSS feed
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
Hashes for opencontest_cli-2.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60749fc3faf8e78aa8ab8d7453672f0a10cbe586d36ced3f46108ba1bb1df299 |
|
MD5 | 39bdc7a345449c34ea3a0639f97ae1ec |
|
BLAKE2b-256 | 69fa233363581a5f42917ffdd2de02c9b66f146755d7850b192eb490a74469b5 |