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(request={"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.runtime(runtime.id).commands and .pty expose the generated streaming Process client. Commands use argv; no shell is added implicitly. A custom httpx_client also requires process_http_client, because streaming Process calls use Connect's native Pyqwest client.

License

Apache-2.0

Release files for planir 0.1.0b8

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

Built distribution (wheel)

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

Total release size: 316.1 kB

Release files / planir-0.1.0b8.tar.gz

Download URL planir-0.1.0b8.tar.gz
Size 113.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9f197c9cb584f8e95ed0e3fdbd42931e373f3177beb0af98212ab650f839264a
BLAKE2b-256 checksum
How to use checksums
04a621056686e8a8ab6c63372f72746fd6cd084863fc0ccb6130480761a6165e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Aug 13, 2026.

Transparency log

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

Download URL planir-0.1.0b8-py3-none-any.whl
Size 202.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3a495a262e637461b84ece541a7604293b7502ea76854aeefa9a5301e0fefa2
BLAKE2b-256 checksum
How to use checksums
9a8a42934355e77c6fb545de40e6ba8f1a1c5ca2b29ac6fdb6a9bde910323829
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Aug 13, 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