opencontest-cli 2.8.0

Creator: bradpython12

Last updated:

0 purchases

TODO
Add to Cart

Description:

opencontestcli 2.8.0

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

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.