SQLAlchemy Nested Mutable Types.
Project description
SQLAlchemy-Nested-Mutable
An advanced SQLAlchemy column type factory that helps map complex Python types (e.g. List, Dict, Pydantic Model and their hybrids) to database types (e.g. ARRAY, JSONB), And keep track of mutations in deeply nested data structures so that SQLAlchemy can emit proper UPDATE statements.
SQLAlchemy-Nested-Mutable is highly inspired by SQLAlchemy-JSON [0][1]. However, it does not limit the mapped Python types to dict-like objects.
Documentation is not ready yet. Please refer to these test files for usage:
- test_mutable_list.py
- test_mutable_dict.py
- test_mutable_pydantic_type.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sqlalchemy_nested_mutable-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4766b04da3280166f1042dd5b1adf4c9a3d0820316421a2e03c2f2d26a1fcfda |
|
MD5 | 9ea1e89f55708c7a0c6ad94765b986c1 |
|
BLAKE2b-256 | 57c483fae200f48ec3c2e221e5fa6aa76cd598b037ce30a6850ee56ad33a3d89 |
Close
Hashes for sqlalchemy_nested_mutable-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb2745d8dd3e35e5af7d55164958cd50cf2c2ab64738bb980701e4b6981b9828 |
|
MD5 | 0a320f4c7e281db4b487e8ae1346a26c |
|
BLAKE2b-256 | 22c85813762420479c90d2cec0868c4f0c5b7fcb285bfce90751c9fa86567398 |