Skip to main content

Python SDK

Installation

1

Create an account

Sign up at app.fact0.io and complete onboarding.
2

Get your API key

Dashboard → Settings → API Keys → New key. Choose write scope. Copy the key - shown once.
3

Install

Requires Python 3.10+. Import as import fact0 (PyPI name is fact0-sdk because fact0 is reserved on PyPI).
4

Verify

Store API keys in a secrets manager. Raw keys are shown only once at creation.
The SDK defaults to https://api.fact0.io. For local development, pass base_url="http://localhost:8000" to Client(...). Continue to the Quickstart.