Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

universal-parser-tool-0.2.4.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

universal_parser_tool-0.2.4-py3-none-any.whl (18.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page