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.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.29.0.tar.gz | 16.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| folsom_fuse-0.29.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.7 kB
Release files / folsom_fuse-0.29.0.tar.gz
| Download URL | folsom_fuse-0.29.0.tar.gz |
|---|---|
| Size | 16.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2093086b575c6c1ab23a6a8a3da3f13f8e73225551f268c9873cb815153bda49
|
|
BLAKE2b-256 checksum How to use checksums |
ce9a3997b6aa33917dddb87ca1efc1752c40c14fe5f6e1b0743d9fbe614e4360
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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.0-py3-none-any.whl
| Download URL | folsom_fuse-0.29.0-py3-none-any.whl |
|---|---|
| Size | 21.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
000c5998bb52a6ecee6d08c8bcdaade8aaab20c92e9ec5db7b4fa5b861ed9f34
|
|
BLAKE2b-256 checksum How to use checksums |
cfacb4d0be1be2e64ad1852beb8327da2a2163e1e19198b2bbf4985e960128fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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}
|