Skip to main content

A Python API for interacting with the Judge0 REST API

Project description

Latest PyPI version Maintainability Test Coverage

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


Using this tool is super easy!

>>> import judge0api as api
>>> client = api.Client("")
>>> 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'


Simply run pip install judge0api


Python requests is required.


Only Python >= 3.6 is supported.


Your first place to get help should be The Docs!

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.


This software is released under the MIT License


judge0api was written by Aaron Walker.

Project details

Download files

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

Files for judge0api, version 0.1.19
Filename, size File type Python version Upload date Hashes
Filename, size judge0api-0.1.19.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page