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.34.0
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.34.0.tar.gz | 18.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| folsom_fuse-0.34.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.1 kB
Release files / folsom_fuse-0.34.0.tar.gz
| Download URL | folsom_fuse-0.34.0.tar.gz |
|---|---|
| Size | 18.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0a69ab4a911b7bb6dc2e60049274fd91ec6913313b44c849acae548ccc44b15
|
|
BLAKE2b-256 checksum How to use checksums |
6e85e41c5e7af55bc929ee0f0d226a996bd220c0e1fd1b9d212ba9d8855a87e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","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.34.0-py3-none-any.whl
| Download URL | folsom_fuse-0.34.0-py3-none-any.whl |
|---|---|
| Size | 23.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d14701640a768ea0ab551c92045ef31bf9599b94097da8f5586c5e6ba1b8f3b6
|
|
BLAKE2b-256 checksum How to use checksums |
4c6499e4d55c4a22c801d7733aef394746695ff92238471f91a06d9b9f34ac67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","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}
|