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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
folsom_fuse-0.19.0.tar.gz
(12.7 kB
view details)
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 folsom_fuse-0.19.0.tar.gz.
File metadata
- Download URL: folsom_fuse-0.19.0.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a92b3fd3c2cfdae71089e900e0c1f9d67d1ecd6f4cd2192933f9fdb209816683
|
|
| MD5 |
0756bd7ca2c42e2e8faf68acce4f324d
|
|
| BLAKE2b-256 |
52faebb55ef0eb3a502ba35dc306133839569e7594604075eee1629ed336086a
|
File details
Details for the file folsom_fuse-0.19.0-py3-none-any.whl.
File metadata
- Download URL: folsom_fuse-0.19.0-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1ac03b158317ab68909c1e41b87e1f5c9b80283d2c01b0fda40852a8cf9db93
|
|
| MD5 |
4661bbfb5378cee09b5ebbb969bc427b
|
|
| BLAKE2b-256 |
cfd3ca8322cbc006dd7868feb62443293ba9941d8f73063a31b1a1e57ac6fba2
|