Skip to content
errium

Installation

Install Errium and the adapter for your framework.

Errium requires Python 3.11+. The base install ships the core plus the FastAPI adapter; every other framework is an extra.

Install

pip install errium

Framework extras

Flask, Django Ninja, and Django REST Framework each ship as an extra, and the django extra installs just Django for the Django helpers. FastAPI needs no extra — it is part of the base install.

pip install "errium[flask]"   # Flask
pip install "errium[ninja]"   # Django Ninja
pip install "errium[drf]"     # Django REST Framework
pip install "errium[django]"  # Django helpers only

Type checking

All six packages — errium, errium_core, errium_flask, errium_ninja, errium_drf and errium_django — ship a py.typed marker, so mypy and pyright read Errium’s annotations directly with no stub package required.

Version

Each package exposes __version__, read from the installed distribution:

import errium

print(errium.__version__)

Next, wire it into your app in the Quickstart.