SQLAlchemy-Continuum is a versioning and auditing extension for SQLAlchemy.
NOTE: PLEASE report bugs / advanced issues on the official issue tracker - much more comprehensive help for complex issues is available there.
Official resources
Features
- Creates versions for inserts, deletes and updates
- Does not store updates which don't change anything
- Supports alembic migrations
- Can revert objects data as well as all object relations at given transaction even if the object was deleted
- Transactions can be queried afterwards using SQLAlchemy query syntax
- Query for changed records at given transaction
- Temporal relationship reflection. Version object's relationship show the parent objects relationships as they where in that point in time.
- Supports native versioning for PostgreSQL database (trigger based versioning)