opencontest-client 2.3.0

Creator: bradpython12

Last updated:

0 purchases

TODO
Add to Cart

Description:

opencontestclient 2.3.0

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

License

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

Files:

Customer Reviews

There are no reviews.