Metadata-Version: 2.1
Name: sqlalchemy-postgresql-audit
Version: 0.3.0
Summary: A postgres audit table implementation that works with sqlalchemy and alembic
Home-page: https://github.com/huntcsg/sqlalchemy-postgresql-audit
Author: Hunter Senft-Grupp
Author-email: huntcsg@gmail.com
License: MIT
Keywords: sqlalchemy sql postgresql postgres alembic audit changelog
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
Description-Content-Type: text/markdown
Provides-Extra: dev
Provides-Extra: testing
Provides-Extra: docs
Provides-Extra: linting
Requires-Dist: sqlalchemy
Provides-Extra: dev
Requires-Dist: tox; extra == 'dev'
Requires-Dist: pip-tools; extra == 'dev'
Provides-Extra: docs
Requires-Dist: sphinx; extra == 'docs'
Requires-Dist: sphinx-rtd-theme; extra == 'docs'
Requires-Dist: alembic; extra == 'docs'
Provides-Extra: linting
Requires-Dist: isort; extra == 'linting'
Requires-Dist: black; extra == 'linting'
Requires-Dist: flake8; extra == 'linting'
Provides-Extra: testing
Requires-Dist: pytest; extra == 'testing'
Requires-Dist: pytest-cov; extra == 'testing'
Requires-Dist: psycopg2-binary; extra == 'testing'
Provides-Extra: testing
Requires-Dist: mock; (python_version < "3") and extra == 'testing'

# SQLAlchemy Postgresql Audit

[![CircleCI](https://circleci.com/gh/huntcsg/sqlalchemy-postgresql-audit.svg?style=svg)](https://circleci.com/gh/huntcsg/sqlalchemy-postgresql-audit) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/a80daeed20654e7aa85358d8e9c761cf)](https://www.codacy.com/app/fool.of.god/sqlalchemy-postgresql-audit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=huntcsg/sqlalchemy-postgresql-audit&amp;utm_campaign=Badge_Grade) [![codecov](https://codecov.io/gh/huntcsg/sqlalchemy-postgresql-audit/branch/master/graph/badge.svg)](https://codecov.io/gh/huntcsg/sqlalchemy-postgresql-audit) [![Documentation Status](https://readthedocs.org/projects/sqlalchemy-postgresql-audit/badge/?version=latest)](https://sqlalchemy-postgresql-audit.readthedocs.io/en/latest/?badge=latest)


## 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

```bash
pip install sqlalchemy-postgresql-audit
```

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

## Usage

See [Docs](https://sqlalchemy-postgresql-audit.readthedocs.io/en/latest/)


