Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

planir

Official Python SDK for planir.io — hosted, hardware-isolated microVM runtimes with a stable public URL per runtime. Sync and async clients.

Install

pip install planir

Usage

import os
from planir import PlanirClient

client = PlanirClient(token=os.environ["PLANIR_TOKEN"])

# List runtimes (one page; pass cursor=page.next_cursor for the next one)
page = client.runtimes.list()
for runtime in page.runtimes:
    print(runtime.id)

# Create a runtime
runtime = client.runtimes.create(image="ghcr.io/acme/agent:latest")
print(runtime.urls)

The client defaults to https://api.planir.io; pass base_url to point elsewhere (e.g. a mock server in tests). An async client is available as AsyncPlanirClient. client.runtimes.exec(...) runs synchronously; client.runtimes.exec_detached(...) returns an exec id you poll with client.runtimes.get_exec(...).

License

Apache-2.0

Release files for planir 0.1.0b5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for planir 0.1.0b5
File Size Uploaded
planir-0.1.0b5.tar.gz 123.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for planir 0.1.0b5
File Interpreter ABI Platform
planir-0.1.0b5-py3-none-any.whl Python 3 none any Details

Total release size: 322.7 kB

Release files / planir-0.1.0b5.tar.gz

Download URL planir-0.1.0b5.tar.gz
Size 123.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a075cb4245c9dd44ad589a59c348bbc81e079f6f9b97fe706dcc2e77b35315c5
BLAKE2b-256 checksum
How to use checksums
57a783301c870c6eba8d12607b122a3185b6f8f3fa3bd89b8d305640f0655be1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 25, 2026.

Transparency log

Release files / planir-0.1.0b5-py3-none-any.whl

Download URL planir-0.1.0b5-py3-none-any.whl
Size 199.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2028e87c487b93c0aaabb73df89c24f691cd525a50bb180ea96e3e62a670bf9f
BLAKE2b-256 checksum
How to use checksums
d7fb18bf22055a8cb6af095272532cc808037145b89ea75ffc2be7c18f9b6f16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 25, 2026.

Transparency log
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