fuse python sdk
python client for the fuse microvm control plane. mirrors the go sdk.
install
uv add folsom-fuse
usage
import fuse
with fuse.Client("https://orchestrator.example.com", token="...") as client:
env = client.environments.create(
fuse.CreateRequest(task_id="t-1", spec=fuse.Spec(cpus=2, ram_mb=2048))
)
for event in client.environments.events(env.id):
if event.err:
raise event.err
print(event.state)
if fuse.is_terminal_state(event.state):
break
services hang off the client: client.environments, client.snapshots,
client.hosts, client.api_keys.
errors raise fuse.ApiError; use predicates like fuse.is_not_found(err) to
branch on the server error code.
development
uv sync
uv run pytest
uv run ruff check .
uv run mypy
Metadata
Release files for folsom-fuse 0.29.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| folsom_fuse-0.29.3.tar.gz | 16.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| folsom_fuse-0.29.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.9 kB
Release files / folsom_fuse-0.29.3.tar.gz
| Download URL | folsom_fuse-0.29.3.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d207ed7a518924653aa75f737645c3e8a67ea23e8900d51e51627224201309e7
|
|
BLAKE2b-256 checksum How to use checksums |
b45263f549baebff7dc62911b27510c01e019dbeea6957947e90d88f4aed183d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / folsom_fuse-0.29.3-py3-none-any.whl
| Download URL | folsom_fuse-0.29.3-py3-none-any.whl |
|---|---|
| Size | 22.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
332d3195f8fcf99d9a80c9c13776f63db6ef19e8c67f44f134c07a31aadedc3b
|
|
BLAKE2b-256 checksum How to use checksums |
7ea12e0bc52ac4aed5a1b8a43b7f3a4c0135c5eb6bb87e46364bf29e2e4964a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|