Ultra Piston
An all-in-one wrapper for the Piston API in Python.
✨ Features
This library offers robust customization options and essential functionalities, including:
- Complete 100% API coverage
- Rich data models
- Support for both synchronous and asynchronous methods
- Automatic rate limit handling
- Pluggable HTTP driver system — implement your own custom driver for handling requests
📦 Requirements & Installation
This library supports python versions 3.10 and higher.
To install ultra-piston via pip-
(.venv) $ pip install ultra_piston
Or by uv-
$ uv add ultra_piston
🚀 Quick Start
from ultra_piston import PistonClient, File
client = PistonClient()
result = client.post_execute(
language="python3",
version="3.10.0",
file=File(content='print("Hello from ultra-piston!")'),
)
print(result.run.output)
Ultra Piston also provides async methods for all the available endpoints!
To use the asynchronous variant of a method, simply append _async to the name of its synchronous counterpart.
import asyncio
from ultra_piston import PistonClient, File
client = PistonClient()
async def main():
result = await client.post_execute_async(
language="python3",
version="3.10.0",
file=File(content='print("Hello from ultra-piston!")'),
)
print(result.run.output)
asyncio.run(main())
🔗 Links
- API Reference & Guide: https://ultra-piston.readthedocs.io/en/stable/
- PyPI Page: https://pypi.org/project/ultra-piston/
- Github Page: https://github.com/Jiggly-Balls/ultra-piston/
📄 License
This project is licensed under the MIT License. See the LICENSE file for details.
Metadata
Release files for ultra-piston 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ultra_piston-1.0.1.tar.gz | 12.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ultra_piston-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.6 kB
Release files / ultra_piston-1.0.1.tar.gz
| Download URL | ultra_piston-1.0.1.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14a5a8c83748259de6c04a7ea64d467bfa9c7120692169bedcbb790b798469a9
|
|
BLAKE2b-256 checksum How to use checksums |
d3ba0b00818a6f7d7d6faeb6504f2620c50b83b0eaf31ebd203ae12329651cfe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2025.
Transparency logRelease files / ultra_piston-1.0.1-py3-none-any.whl
| Download URL | ultra_piston-1.0.1-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1bc94b78caac6aac97c289bbf3f2043240efd5384c347959d1b0d9a9e1fdfb1f
|
|
BLAKE2b-256 checksum How to use checksums |
5b71aa0b515bd222365d471f700018199324ff26a7e4bddd467d9089646b0680
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2025.
Transparency log