sphere-engine

Sphere Engine SDK


Keywords
Sphere, Research, Labs, Engine, Online, Compiler, Problems, Judge, api, sdk, spoj, ideone
Install
pip install sphere-engine==0.27

Documentation

Requirements.

Python 2.7, 3.4+ Build Status

Sphere Engine SDK

python setup.py install

Or you can install from Github via pip:

pip install git+https://github.com/sphere-engine/python-client.git

Or you can install from PyPI:

pip install sphere-engine

To use the bindings, import the package:

import sphere_engine

Unit tests

./test.sh

Examples

Usage:

from sphere_engine import CompilersClientV4
client = CompilersClientV4('<token>', '<endpoint>')
r = client.submissions.create('<source_code>', compilerId, '<input>')
print(client.submissions.get(r['id']))

(...)

You will find many examples in the Examples folder.

Full list of compilers

A full list of programming languages is available at https://developer.sphere-engine.com/other/languages.