Skip to main content

PyPI Github Releases Downloads PyPI Downloads License Docs Versions

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

📄 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)

Source distribution for ultra-piston 1.0.1
File Size Uploaded
ultra_piston-1.0.1.tar.gz 12.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ultra-piston 1.0.1
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page