uploader to polygon.codeforces.com
Project description
Polygon Uploader
uploader of tasks to polygon.codeforces.com
Installation
pip install polygon-uploader
Usage, usaco module
usacoimport <usaco_cp_id> <usaco_name> <polygon id>
usacoimport 1020 deleg_platinum_feb20 123123
usaco_cp_id
is taken from the problem description link, for example: http://usaco.org/index.php?page=viewproblem2&cpid=1020, in this example usaco_cp_id
is 1020
usaco_id
is taken from testdata link, for example: http://usaco.org/current/data/deleg_platinum_feb20.zip, in this example usaco_id
is deleg_platinum_feb20
Usage, domjudge module
domjudgeimport <problem_directory> <polygon problem id> [--create]
domjudgeimport bapc2022/adjustedaverage 123123
--create
-- creates new problem in polygon if no problem with the provided ID was found
Config file
Config file is located in <user dir>/.config/polygon-uploader
Uploads to https://polygon.codeforces.com by default, change the config file to upload to a different instace of polygon
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
File details
Details for the file polygon_uploader-0.3.0.tar.gz
.
File metadata
- Download URL: polygon_uploader-0.3.0.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 629afbdfb125a90c3d057ebd70da6851ec47225ba9c541a49fb00e88c7d04145 |
|
MD5 | f998ce27b3392bfb4e766e39c021b1e0 |
|
BLAKE2b-256 | e7d07b1afa86d885f9a5a0e520b656867ba88f46db0d644e1b9d6a77c9daf3f4 |
File details
Details for the file polygon_uploader-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: polygon_uploader-0.3.0-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16c1f4afde575a7efe63639a2f7829776885fa8837a23cf56ce2a04a7ee4002d |
|
MD5 | 8afab1a97c435d37d95747a1220e1311 |
|
BLAKE2b-256 | 568759d1ab539c95fd0275030326fef1353324ff4659ff2d065e585e97cefd73 |