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.

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.20.0.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

folsom_fuse-0.20.0-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file folsom_fuse-0.20.0.tar.gz.

File metadata

  • Download URL: folsom_fuse-0.20.0.tar.gz
  • Upload date:
  • Size: 12.9 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

Hashes for folsom_fuse-0.20.0.tar.gz
Algorithm Hash digest
SHA256 803d70077f5fffb94ca991634bf87fb89d5658caee1e02db9962d9cbc961faed
MD5 f9d38f54e1ce0c1bc0a8bae2518ba365
BLAKE2b-256 ffffe38be32747b5353b3f86b2b3de3eb5f3e5ed35e3eb5710e9584234b95472

See more details on using hashes here.

File details

Details for the file folsom_fuse-0.20.0-py3-none-any.whl.

File metadata

  • Download URL: folsom_fuse-0.20.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

Hashes for folsom_fuse-0.20.0-py3-none-any.whl
Algorithm Hash digest
SHA256 062a1028dba4f6c45555980ee2b20d62f4e69a4ac6ffacb2f90d2e16d2a8896d
MD5 45f31f2528e0dd92e080b0248137dd75
BLAKE2b-256 24febae94b80cb82113e3b2f94d0d4025e1ee84620a2a14b284550e106eb05e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page