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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

convert_ej-1.1.7-py3-none-any.whl (5.4 MB view details)

Uploaded Python 3

File details

Details for the file convert-ej-1.1.7.tar.gz.

File metadata

  • Download URL: convert-ej-1.1.7.tar.gz
  • Upload date:
  • Size: 5.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for convert-ej-1.1.7.tar.gz
Algorithm Hash digest
SHA256 41b75d625df50615c52fe2ff1bc607cc8e140d9fd3a227970f73bfcd13573cb1
MD5 e1634a657c2f39da9c5e26271ea847ea
BLAKE2b-256 9d8503fb27d25fbf0d8b94c6f6ca946d276d03c4b73825e7fe78ea387af586f1

See more details on using hashes here.

File details

Details for the file convert_ej-1.1.7-py3-none-any.whl.

File metadata

  • Download URL: convert_ej-1.1.7-py3-none-any.whl
  • Upload date:
  • Size: 5.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for convert_ej-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0d00a471573741a101b0a8a792ac4efc03b7740b34b36c2d768d5aae653102cb
MD5 37ff4dc88c76875426006c98a9473d6e
BLAKE2b-256 12c31384d618c947ba460b05f781c0ce776e8f7b543109590e11c521c2be9c38

See more details on using hashes here.

Supported by

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