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
Metadata
Release files for polygon-uploader 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| polygon_uploader-0.3.0.tar.gz | 10.5 kB | Without provenance | Details for polygon_uploader-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| polygon_uploader-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for polygon_uploader-0.3.0-py3-none-any.whl |
Total release size: 23.7 kB
Release files / polygon_uploader-0.3.0.tar.gz
| Download URL | polygon_uploader-0.3.0.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
629afbdfb125a90c3d057ebd70da6851ec47225ba9c541a49fb00e88c7d04145
|
|
BLAKE2b-256 checksum How to use checksums |
e7d07b1afa86d885f9a5a0e520b656867ba88f46db0d644e1b9d6a77c9daf3f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / polygon_uploader-0.3.0-py3-none-any.whl
| Download URL | polygon_uploader-0.3.0-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
16c1f4afde575a7efe63639a2f7829776885fa8837a23cf56ce2a04a7ee4002d
|
|
BLAKE2b-256 checksum How to use checksums |
568759d1ab539c95fd0275030326fef1353324ff4659ff2d065e585e97cefd73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for polygon-uploader 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.