Official Python SDK for planir.io — hosted, hardware-isolated microVM runtimes with a stable public URL per runtime.
Project description
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
page = client.runtimes.list()
for runtime in page:
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 or environment to
override. 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file planir-0.1.0b0.tar.gz.
File metadata
- Download URL: planir-0.1.0b0.tar.gz
- Upload date:
- Size: 58.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ace6fc110968b79f2936a4250ba615404e2f48d5af2cbbbca3941b4e9ce8ad6b
|
|
| MD5 |
b8a3a003810d3fc2a9265c6c0b9494a2
|
|
| BLAKE2b-256 |
0856743090c85f6052215d8ff2f06551ff543944374e2e4fb868b93bd725cc50
|
Provenance
The following attestation bundles were made for planir-0.1.0b0.tar.gz:
Publisher:
release.yml on Planir-io/sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
planir-0.1.0b0.tar.gz -
Subject digest:
ace6fc110968b79f2936a4250ba615404e2f48d5af2cbbbca3941b4e9ce8ad6b - Sigstore transparency entry: 2082008429
- Sigstore integration time:
-
Permalink:
Planir-io/sdk@56a5b1727b68b93937ceabaa3dc3e53580325b90 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Planir-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@56a5b1727b68b93937ceabaa3dc3e53580325b90 -
Trigger Event:
push
-
Statement type:
File details
Details for the file planir-0.1.0b0-py3-none-any.whl.
File metadata
- Download URL: planir-0.1.0b0-py3-none-any.whl
- Upload date:
- Size: 84.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6b7a18f6b84b91644adf8c25a8558939b38b044a3bd0060834cb2d3a5a47701
|
|
| MD5 |
398740ace6b6c06d0c96357ed674b6c8
|
|
| BLAKE2b-256 |
bc60d0434a6a81e1655e7b664fbd09d6191da08259084ce2b0e26905ded7c888
|
Provenance
The following attestation bundles were made for planir-0.1.0b0-py3-none-any.whl:
Publisher:
release.yml on Planir-io/sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
planir-0.1.0b0-py3-none-any.whl -
Subject digest:
b6b7a18f6b84b91644adf8c25a8558939b38b044a3bd0060834cb2d3a5a47701 - Sigstore transparency entry: 2082008435
- Sigstore integration time:
-
Permalink:
Planir-io/sdk@56a5b1727b68b93937ceabaa3dc3e53580325b90 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Planir-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@56a5b1727b68b93937ceabaa3dc3e53580325b90 -
Trigger Event:
push
-
Statement type: