Ligare.database

A framework for working with SQLAlchemy and Alembic, supporting both SQLite and PostgreSQL.

For usage, see Ligare.database.

Modules

config

Ligare.database's integration with Ligare.programming.config.

dependency_injection

Injector dependency injection modules for database connection objects.

engine

Integrations with SQLAlchemy's engine API.

migrations

Ligare.database database migrations, handled by Ligare.database.alembic.

schema

Database schema handlers for SQLAlchemy and PostgreSQL.

testing

Libraries, fixtures, mocks, and other utilities for tests using SQLAlchemy, Alembic, or Ligare.database.

types

Static types for use in type hinting.