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.0b2

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.0b2
File Size Uploaded
planir-0.1.0b2.tar.gz 116.2 kB Details

Built distribution (wheel)

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

Total release size: 308.0 kB

Release files / planir-0.1.0b2.tar.gz

Download URL planir-0.1.0b2.tar.gz
Size 116.2 kB
Tags Source
SHA-256 checksum
How to use checksums
004c1c1b7e653438eb31cf6bc1492bb6bc27206a4ec8c4bbfb612a27ffc63b97
BLAKE2b-256 checksum
How to use checksums
0c5dc751e55c0b0fe74b437fe983d33ef4d6ef59dcdb6f9f8ae175ecde56564b
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 24, 2026.

Transparency log

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

Download URL planir-0.1.0b2-py3-none-any.whl
Size 191.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
940a361bba5d87cd9c96ca16df6234fd06c7039f8e0344a1770eb1d6f21c2892
BLAKE2b-256 checksum
How to use checksums
159c3df2235d03ae99a694c3ef202f53f6b57397ea5b06ca65ae328c7284d92d
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 24, 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