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
./test.sh
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.
A full list of programming languages is available at https://developer.sphere-engine.com/other/languages.