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.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7971cdf2c57bce06e970f141361e45363e9b79fa5115eefb6105c87000dfc5f3 |
|
MD5 | f32fde10376de8384a2cc91751a8f8b9 |
|
BLAKE2b-256 | e01521a6c3abcea106d481f914828f2f2204fc7b66ab7fda517439531396f75f |