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

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

Built distribution (wheel)

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

Total release size: 322.3 kB

Release files / planir-0.1.0b3.tar.gz

Download URL planir-0.1.0b3.tar.gz
Size 123.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4679c9102e993963fbdf1dafcb73882ca1aaafdf1c3f64f75fc3b5a29113a485
BLAKE2b-256 checksum
How to use checksums
13acc9667150388abfc6a09ea0e4bf19cb948982689cadad6126d3472d5f4fff
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.0b3-py3-none-any.whl

Download URL planir-0.1.0b3-py3-none-any.whl
Size 198.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
343045cbce9e58308f0082d6e32fbe3c92ae44eb2a58d5166fc1dded129282f4
BLAKE2b-256 checksum
How to use checksums
11378637ce2c52bd0abb89326c59e1b10d6d1313664c6965843e70f0509fbe19
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