$npx skillfedfor your agent

SQLAlchemy-Continuum

Versioning and auditing extension for SQLAlchemy.

Worth itPyPI Python ModulesReleased Jul 2026990.5K downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sqlalchemy_continuum-1.7.0-py3-none-any.whl
v1.7.0 · released 2026-07-03 · Python >=3.10 · 1 runtime deps: SQLAlchemy

Yes. SQLAlchemy-Continuum is actively maintained, has no known vulnerabilities, and solves a common problem with minimal install friction. Use it if you need automatic versioning and audit trails for SQLAlchemy models. The BSD-3-Clause license poses no restrictions for most projects.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low friction: pure Python wheel with only SQLAlchemy as a runtime dependency.
  • Actively maintained with a recent release and no known vulnerabilities.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause is permissive; you can use this in commercial and proprietary projects with minimal restrictions.

last release 2026-07-03 (42 days) · last repo commit 2026-08-13 · 644 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 990,524 downloads/mo, #4,562 on PyPI

Verify before relying

pip install SQLAlchemy-Continuum

from sqlalchemy_continuum import make_versioned
from sqlalchemy import Column, Integer, Unicode, create_engine
from sqlalchemy.orm import Session, declarative_base

make_versioned(user_cls=None)
Base = declarative_base()

class Article(Base):
    __versioned__ = {}
    __tablename__ = 'article'
    id = Column(Integer, primary_key=True)
    name = Column(Unicode(255))

engine = create_engine('sqlite://')
Base.metadata.create_all(engine)
session = Session(engine)

article = Article(name='Original')
session.add(article)
session.commit()
article.versions[0].name  # Access version history
  • Whether PostgreSQL trigger-based versioning performs better than the default approach for high-volume updates.
  • Compatibility with SQLAlchemy 2.0+ ORM features beyond basic CRUD operations.
  • Performance impact on large tables with many historical versions.
Same gist for agents: .md · .json

What it is and what it does

SQLAlchemy-Continuum is a versioning and auditing extension that automatically creates and stores versions of your SQLAlchemy model instances whenever they are inserted, updated, or deleted. It integrates directly into the ORM layer, so you define versioning declaratively by adding a `__versioned__` attribute to any model you want to track. Each change is recorded in a version table, and you can query the full history of any object, inspect what changed at each step, and revert objects to previous states—even if they've been deleted.

The package stores only meaningful changes (skipping updates that don't alter data) and supports querying transactions and changed records using standard SQLAlchemy query syntax. It works with alembic migrations and can reflect temporal relationships, showing a parent object's related records as they existed at a specific point in time. For PostgreSQL users, it offers native trigger-based versioning as an alternative to the default approach.

Use it for

  • Audit compliance: maintain an immutable record of all changes to critical business entities for regulatory or forensic purposes.
  • Undo/revert functionality: let users restore objects to previous states without manual rollback logic.
  • Change analysis: query which records changed in a specific transaction or time window to understand data evolution.
  • Temporal reporting: reconstruct the state of your database at any historical point for historical analysis or debugging.
  • Soft deletes with history: keep deleted records accessible via version history while maintaining referential integrity.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

SQLAlchemy-Continuum is actively maintained, has no known vulnerabilities, and solves a common problem with minimal install friction. Use it if you need automatic versioning and audit trails for SQLAlchemy models. The BSD-3-Clause license poses no restrictions for most projects.

Install

sqlalchemy-continuum on PyPI

Before you install

Low friction: pure Python wheel with only SQLAlchemy as a runtime dependency. Actively maintained with a recent release and no known vulnerabilities.

Requires Python 3.10 or later.

License in practice

BSD-3-Clause is permissive; you can use this in commercial and proprietary projects with minimal restrictions.

Quickstart

pip install SQLAlchemy-Continuum

from sqlalchemy_continuum import make_versioned
from sqlalchemy import Column, Integer, Unicode, create_engine
from sqlalchemy.orm import Session, declarative_base

make_versioned(user_cls=None)
Base = declarative_base()

class Article(Base):
    __versioned__ = {}
    __tablename__ = 'article'
    id = Column(Integer, primary_key=True)
    name = Column(Unicode(255))

engine = create_engine('sqlite://')
Base.metadata.create_all(engine)
session = Session(engine)

article = Article(name='Original')
session.add(article)
session.commit()
article.versions[0].name  # Access version history

Verify before relying

  • Whether PostgreSQL trigger-based versioning performs better than the default approach for high-volume updates.
  • Compatibility with SQLAlchemy 2.0+ ORM features beyond basic CRUD operations.
  • Performance impact on large tables with many historical versions.

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
SQLAlchemy
MaintenanceActively maintained 42 days since the last release
Last repo commit
First released
Downloads990,524 / month, #4,562 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Environment :: Web EnvironmentIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software Development :: Libraries :: Python Modules

Evidence: sqlalchemy_continuum-1.7.0-py3-none-any.whl

Tags

Capabilities
sqlalchemy versioningdatabase audit trailtrack model changessqlalchemy historytemporal data queriesrevert database changeschange data capture
Topics
audit-trailtemporal-queriesorm-extension

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “sqlalchemy versioning”

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also sqlalchemy-repr · sqlalchemy-json · sqlalchemy-celery-beat · sqlacodegen · sqlalchemy-easy-softdelete · alembic · sqlalchemy-mixins · zope.sqlalchemy · pycadf · django-pghistory