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.9.2.tar.gz
(10.5 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.9.2.tar.gz.
File metadata
- Download URL: folsom_fuse-0.9.2.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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 |
b7f4ddda89e3aa0b553af0c74a64b8ad29da484ea0a7fac59e709498ef96a4ba
|
|
| MD5 |
f95b740f3b12cd02a6171cada244e98e
|
|
| BLAKE2b-256 |
4ff0c839f325478fe738117a1cb16402a3ba930e8e9946697276a627ce6002ec
|
File details
Details for the file folsom_fuse-0.9.2-py3-none-any.whl.
File metadata
- Download URL: folsom_fuse-0.9.2-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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 |
3dcd9b7283d63d29c62f911b7cbfbebcd08d08c2e87003e67cc4f99d5b505eb9
|
|
| MD5 |
8aa30130f0a8715e682a5d17616c1192
|
|
| BLAKE2b-256 |
2d16bdac2ce16933ef50bb173cb06a8d1518855deb47ab1f2862a98494dd97ed
|