Unofficial Piston API Wrapper for Python
Project description
Piston API Wrapper for Python
This is a very simple API Wrapper for the Piston API.
The Piston API documentation can be found here.
Installation
pip install pistonapi
or
python setup.py build
python setup.py install
Usage Example
from pistonapi import PistonAPI
# Create a new Piston API instance
piston = PistonAPI()
# Get all the supported languages
print(piston.languages)
# OR
print(piston.runtimes)
# Execute your own code!
code = 'print("Hello, World!")'
print(piston.execute(language="py", version="3.9", code=code))
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
pistonapi-1.0.1.tar.gz
(2.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pistonapi-1.0.1.tar.gz.
File metadata
- Download URL: pistonapi-1.0.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22c43802bb4a62168e4a790e40a29c43825337cc2a6ebecf644ab15962033209
|
|
| MD5 |
1b8af85c79b9b1bab236ec779a91bff1
|
|
| BLAKE2b-256 |
ac417d1b34a1099a65773b09e49bf4e7a13c3faaf9d5c73ddac4da4550cc521f
|
File details
Details for the file pistonapi-1.0.1-py3-none-any.whl.
File metadata
- Download URL: pistonapi-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a88fad690cdfd679fa654c83fb8864dcc7779821c2d16d0326343388687dcae
|
|
| MD5 |
3f789dec1336e8de01ab78a6bebd881b
|
|
| BLAKE2b-256 |
0df17e471dbe3e752acb045e2f035b315a3d18e3be93218bad4d37060f1ded63
|