/sqlalchemy-postgresql-audit

A postgres audit table implementation that works with sqlalchemy and alembic

Primary LanguagePythonMIT LicenseMIT

SQLAlchemy Postgresql Audit

CircleCI Codacy Badge codecov Documentation Status

Description

Enables table change tracking support for tables defined by SQLAlchemy models.

Additionally, provides a flexible mechanism for enriching table change data with additional metadata (such as a request UUID or a username or ID).

Installation

pip install sqlalchemy-postgresql-audit

This is only known to be compatible with the postgresql+psycopg2 dialect.

Usage

See Docs