Skip to main content
Latest PyPI version https://img.shields.io/pypi/dm/judge0api.svg https://img.shields.io/pypi/pyversions/judge0api.svg https://travis-ci.com/vCra/judge0api.svg?branch=master https://readthedocs.org/projects/judge0api/badge/?version=latest Maintainability Test Coverage https://img.shields.io/github/license/vCra/judge0api.svg

judge0api is a Python API for interacting with the Judge0 REST API.

Usage

Using this tool is super easy!

>>> import judge0api as api
>>> client = api.Client("https://api.judge0.com")
>>> client.wait = False  # Not needed on servers which support wait
>>> submission = api.submission.submit(
...     client,
...     b"print(f'Hello {input()}')",
...     71,
...     stdin=b'Judge0',
...     expected_output=b"Hello Judge0"
... )
>>> submission.load(client)  # Load the status from the server
>>> submission.stdout
'Hello Judge0'

Installation

Simply run pip install judge0api

Requirements

Python requests is required.

Compatibility

Only Python >= 3.6 is supported.

Help!

Your first place to get help should be The Docs!

However:

Is something not working properly? Are the docs awful? Want to help make this better? If the answer is yes then great! All you have to do is open an issue.

Licence

This software is released under the MIT License

Authors

judge0api was written by Aaron Walker.

Metadata

Release files for judge0api 0.1.20

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for judge0api 0.1.20
File Size Uploaded
judge0api-0.1.20.tar.gz 5.7 kB Details

Release files / judge0api-0.1.20.tar.gz

Download URL judge0api-0.1.20.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
31444d891cfd55346bb3bc4e1cfe348432c837810e5390347f18638b8c31d618
BLAKE2b-256 checksum
How to use checksums
11e6270ab62f2fd86a5e0345bab5fab290fff2a463aea916ca8c9a95074452b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.1

Release history Release notifications | RSS feed

This release

0.1.20 This release

1 release file

0.1.19

1 release file

0.1.18

1 release file

0.1.17

1 release file

0.1.16

1 release file

0.1.15

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page