Polygon converter
Polygon refers to Codeforces' Polygon.
This package creates a copy of the tests, renames the tests and outputs a string that can be used
for the Score Parameters field (use GroupMin score type) for
Contest Management System (CMS). The renamed tests and the
score parameters capture Polygon's subtasks (groups) and dependencies in CMS.
This code uses problem.xml in the Polygon full package (either Windows or Linux is fine) to retrieve information about subtasks.
How To Use
- Install this package:
pip install polyconv - All groups must use the
COMPLETE_GROUPpoints policy. - Generate a full package on Polygon for your problem and download the Linux version.
- Run this file:
polyconv polygon_path, wherepolygon_pathis the path to the Polygon full package's root directory (where the foldersstatements/andtests/are). Add the-fflag to overwrite files if they exist. - A new folder
cms_outwill be created inpolygon_path(this can be changed with-o) containing the following:- A folder
tests/containing renamed tests. - A
.zipfiletests.zipwith the contents in thetests/folder above. - A
score_params.txtfile with the score parameters string. You should copy this to the Score Parameters field in CMS (use GroupMin score type).
- A folder
- The string in
score_params.txtwill also be output to the standard output.
Metadata
Release files for polyconv 1.0.4
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 |
|---|---|---|---|---|
| polyconv-1.0.4.tar.gz | 17.9 kB | Without provenance | Details for polyconv-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| polyconv-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for polyconv-1.0.4-py3-none-any.whl |
Total release size: 36.1 kB
Release files / polyconv-1.0.4.tar.gz
| Download URL | polyconv-1.0.4.tar.gz |
|---|---|
| Size | 17.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b93c5236de71165b04304fa239351bb306b6b671ae6ffde2e9892669881f12b
|
|
BLAKE2b-256 checksum How to use checksums |
5b371ee8d869fb5bb9eccab5376697b32a3621d2a2703ac6789e4f585d35d76c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / polyconv-1.0.4-py3-none-any.whl
| Download URL | polyconv-1.0.4-py3-none-any.whl |
|---|---|
| Size | 18.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d51f2598d14e8e913b2d01f07f3f13f5f299d6f34720185431acc7409f9de64a
|
|
BLAKE2b-256 checksum How to use checksums |
affb308d92a9daec3ce1904bbf6ed231d9e1502db994c0b3a96d1dd0e3f6bfa9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for polyconv 1.0.4
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.