Metadata-Version: 2.1
Name: polygon-uploader
Version: 0.2.8
Summary: uploader to polygon.codeforces.com
Home-page: https://github.com/niyaznigmatullin/polygon-uploader
Author: Niyaz Nigmatullin
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE

# 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`

## 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
