Skip to main content
The Figranium Python SDK installs from PyPI as figranium-sdk. It has a single runtime dependency on httpx>=0.27,<1, so it stays lightweight in your dependency tree.

Requirements

  • Python 3.9 or newer.
  • A running Figranium server that the client can reach at its base_url. Local installs default to http://localhost:11345.

Install

The package depends only on httpx>=0.27,<1. If your project already uses httpx, the SDK will share the same version range.

Import styles

Import the sync client, async client, helpers, and types from the figranium module.

Verify the install

Call health.check() to confirm the SDK can reach your Figranium server.
verify_sync.py
A healthy Figranium instance returns a dict like {"status": "ok"}. For async environments, use AsyncFigranium with asyncio.run:
verify_async.py

Next steps

Quickstart

Save and run your first task with the SDK.

Client configuration

Configure base_url, timeouts, custom httpx clients, and default headers.