Useful tool to speedup testing codes in cp-programming
Project description
Universal Problem Parser Tool
Install
Simple and straight. Make sure you have Python3 and pip. Then install using this command.
pip install universal-parser-tool
This script needs selenium to run. The python library will be added by default if you use the above command. The below link has explained how to install selenium drivers. Firefox is the default driver for this code, so install Firefox and it's driver as in the link below.
https://selenium-python.readthedocs.io/installation.html
The main idea is based on this repository.
So you must add cf
to your PATH.
After installing, upt
command will be added to your PATH.
Parse
You can use upt
like this script:
upt <PARSER> <PARSER COMMANDS>
Supported Parser
In this time, these judges have parsers. You can find more info about them in their directory.
- AtCoder (Added login feature!)
- Codechef
- Spoj
- Quera
NOTE: You may use the parser for practice problems. During a contest, some judges need to log in. For now, this feature is supported by atcoder parser.
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
Hashes for universal-parser-tool-0.2.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ae2cfbc4ad76a08e9ddb9ee17b2824001d72de09a5418281296c9c4161673a9 |
|
MD5 | d52a20dd2e975b2308f25dbf3b60f51e |
|
BLAKE2b-256 | a5a7f9a29168c30765a7c0b8307503b3c1c67b9d13a32909de8761eb717b2e36 |
Hashes for universal_parser_tool-0.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cd00eaffe60dda138d3dbcefd3e2b239f9d8c1d39431dff66282f394fa1f5e8 |
|
MD5 | 94457a9bad1b34ae5be2d75dcdd2484c |
|
BLAKE2b-256 | 65e4a1d1d55f98e829f6c52ce88d8ae26af212ae7849c3a50f8040f620c607ed |