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
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
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
opencontest-cli-2.8.0.tar.gz
(15.3 kB
view hashes)
Built Distribution
Close
Hashes for opencontest_cli-2.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a25e86d000af65bda4af44664f70148dd6371ae2f63c5b054c78dac7d6d4643 |
|
MD5 | e0a2ef9fcfde75a26ae39b4b8904cc06 |
|
BLAKE2b-256 | 5fc0e85da882e17582cd33bb7cc890514df2e2f57afe8d89e046b25d330c4f11 |