Skip to main content

Generic nested mutable objects and iterables for SQLAlchemy

Project description


SQLAlchemy-Mutable provides generic nested mutable objects and iterables for SQLAlchemy. Its primary features are:

  1. Nested mutation tracking
  2. Mutation tracking for iterables (list and dict)
  3. Support for embedded database models
  4. Support for common literals and datetime objects
  5. Support for custom Mutable classes
  6. Support for converting existing classes to Mutable classes

Example: Nested mutation tracking with lists and dicts

x = MyModel()
x.mutable = {'greeting': []}
x.mutable['greeting'].append('hello world')


hello world


You can find the latest documentation at


Publications which use this software should include the following citation:

Bowen, D.S. (2019). SQLAlchemy-Mutable [Computer software].

This project is licensed under the MIT License LICENSE.


Much inspiration drawn from SQLAlchemy-JSON

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sqlalchemy-mutable-0.0.7.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distribution

sqlalchemy_mutable-0.0.7-py3-none-any.whl (9.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page