Skip to main content

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, client.interventions, client.operations.

the mutating calls (environments.create, destroy, drain, fork, migrate, snapshots.create, snapshots.restore) take an optional idempotency_key=; a retry with the same key and request returns the first call's result instead of running again. without one each call sends a fresh random key. a call that outlasts the server's wait is followed through client.operations until it finishes, so it returns or raises as usual; client.operations.get(id, wait=None) and client.operations.wait(id, timeout=None) read an operation directly.

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.46.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for folsom-fuse 0.46.0
File Size Uploaded Provenance Actions
folsom_fuse-0.46.0.tar.gz 35.1 kB Without provenance Details for folsom_fuse-0.46.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for folsom-fuse 0.46.0
File Interpreter ABI Platform Actions
folsom_fuse-0.46.0-py3-none-any.whl Python 3 none any Details for folsom_fuse-0.46.0-py3-none-any.whl

Total release size: 79.1 kB

Release files / folsom_fuse-0.46.0.tar.gz

Download URL folsom_fuse-0.46.0.tar.gz
Size 35.1 kB
Tags Source
SHA-256 checksum
How to use checksums
28c676b0464679b102c7f14d6d98aecb03350a8cf61fb95ef3846534018f01fb
BLAKE2b-256 checksum
How to use checksums
4ef2701b0da5ed1f1cf3f901e64037af12ce85d2c3040c14bb0e1b5a2a56e26f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.46.0-py3-none-any.whl

Download URL folsom_fuse-0.46.0-py3-none-any.whl
Size 44.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
85c3543bc397554fb344a259fb44fc5fccdf25191495c920f1f64f958ad6cd42
BLAKE2b-256 checksum
How to use checksums
d6e643315902936b3bcd7d0042fb98988e3ed8947bd8c59a7dd2cd58b98d2b59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for folsom-fuse 0.46.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.46.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page