Skip to main content

A Python API for interacting with the Judge0 REST API

Project description

Latest PyPI version https://travis-ci.com/vCra/judge0api.svg?branch=master Maintainability Test Coverage

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")
>>> submission = api.submission.submit(
...     client,
...     open(file.c),
...     4,
...     stdin=b'Judge0'
... )
>>> submission.stdout
'hello, Judge0'

Installation

Simply run pip install judge0api

Requirements

Python requests is required.

Compatibility

Only Python >= 3.6 is supported.

Help!

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.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
judge0api-0.1.16.tar.gz (4.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page