Skip to main content

A software tool for converting problem files between electronic judges formats.

Project description

convert-ej

A software tool for converting problem files between electronic judges formats.

Pypi link

Installation

pip3 install convert-ej

Usage

convert-ej reader writer file

The tool reads a problem in file, structured in a specific format, and then writes it into a different format. The user needs to provide the following command line arguments:

  • reader: the input e-judge format.
  • writer: the output e-judge format.
  • file: the path to the file (or directory) containing the problem information, which must be structured according to the reader format.

Please be mindful of the specificities of each e-judge format, since convertion might not be sucessful. For example, CodeRunner does not handle EPS images and BOCA may have issues creating the test sheet (usually a PDF file) dependng on the format the examples.

Example

To convert a problem in Polygon format into a CodeRunner one, we can use:

convert-ej Polygon CodeRunner polygon_problem.zip

More details can be found using help function:

convert-ej --help

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

convert-ej-1.1.7.tar.gz (5.3 MB view hashes)

Uploaded Source

Built Distribution

convert_ej-1.1.7-py3-none-any.whl (5.4 MB 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