Skip to main content

CLI utility for different online judges.

Project description

Cjudge

Cjudge is a CLI tool build in python that allows the user to download, test and submit problems from different online judges.

Supported judges

This a list of the currently supported judges:

Installation

To install Cjudge just use pip:

pip install cjudge

Note: If you want to download Kattis problem statements from kattis you must need latexmk. Get more information

Commands

cjudge-create

Given a judge and a problem id it downloads the problem statement, test samples and creates a main.cpp from a configurable template.

cjudge-create judge problem

cjudge-info

Given a problem folder or a judge and a problem id it displays information about the selected problem.

cjudge-info judge problem

or

cjudge-info problem-folder

cjudge-test

Given a problem folder it runs the test samples located in the samples folder.

cjudge-test problem-folder

cjudge-submit

Given a problem folder it submits your problem solution to the corresponding judge.

cjudge-submit problem-folder

Note 1: It will require you to introduce login credentials every time you login.

Note 2: In Kattis the login uses a token you can get from kattis website. Get more information

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

cjudge-1.0.2.tar.gz (43.7 kB view details)

Uploaded Source

Built Distribution

cjudge-1.0.2-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file cjudge-1.0.2.tar.gz.

File metadata

  • Download URL: cjudge-1.0.2.tar.gz
  • Upload date:
  • Size: 43.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.4

File hashes

Hashes for cjudge-1.0.2.tar.gz
Algorithm Hash digest
SHA256 508c59058b52b2f9bd6be60813ba5d15ed451cf9e6293f84c87a594ce8103c4f
MD5 7614da7d61507c46b5ce7b8a3cd601bb
BLAKE2b-256 5d7129c9b942a349b8b685746b88720532aaf371f6c973589c8ec8f526a891f1

See more details on using hashes here.

File details

Details for the file cjudge-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: cjudge-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 25.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.4

File hashes

Hashes for cjudge-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3b12b0fc9b9e989f2506ae22492186ec9fd66b6e8ea1a61347a95cbfec577b4a
MD5 5173230820916d549a08dbd2bf1c97c8
BLAKE2b-256 088230b5b1ac4f10d674bd708eed70d087f4f2a99de3ab96ba01e05f46318140

See more details on using hashes here.

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