Python bindings for the glot.io API.
Project description
glot.io API for Python
Installation
$ pip install walkscore-api
Basic Usage
from glotio import Runner
g = Runner("[YOUR_API_KEY]")
# language list
print(Runner.get_lang().keys())
g.set_lang("python")
code = "import sys;print(input() + ', ' + sys.argv[1])"
g.set_code(code, filename="main.py")
g.set_stdin("input text")
g.set_command("python3 main.py 'command line argument'")
result = g.run()
print(result)
LICENCE
glotio-api is made available under an MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
glotio-api-1.0.0.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for glotio_api-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8989577f17fe6c28f563f4db9a66addcf9fed66b33dbb021ac9529c84c5593db |
|
MD5 | a949d4410bb8a7e55a7a790bc3cda907 |
|
BLAKE2b-256 | 290f1c90e37b058c175e49ea894fc2ed8ac8dab8eb7b4831dec9f74b03a9ae21 |