Getting Started

Advanced Alchemy is a carefully crafted, thoroughly tested, optimized companion library for SQLAlchemy.

It provides base classes, mixins, custom column types, and implementations of the repository and service layer patterns to simplify your database operations.

See also

It is built on:

It’s designed to work on its own or with your favorite web framework.

We’ve built extensions for some of the most popular frameworks, so you can get the most out of Advanced Alchemy with minimal effort.

If your framework is not listed, don’t worry! Advanced Alchemy is designed to be modular and easily integrated with any Python web framework. Join our Discord and we’ll help you get started.

Installation

Install advanced-alchemy with your favorite Python package manager:

Using pip
python3 -m pip install advanced-alchemy
Using UV
uv add advanced-alchemy
Using pipx
pipx install advanced-alchemy
Using PDM
pdm add advanced-alchemy
Using Poetry
poetry add advanced-alchemy