A lightweight library to store an object's history into a SQL database
Project description
TSIH - A dict with a HISTory
tsih.Dict
is a type of UserDict
that allows versioning, backed up by a sqlite3
database.
- Transparent operation
- Only changes (deltas) are stored.
- Forward-filling of values. A value is reused in future versions, unless it changes.
Use cases
Tsih was originally part of the Soil Agent-Based Social Simulation framework, where both the environment and the agents need to keep track of state (i.e., attribute) changes.
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
tsih-0.1.1.tar.gz
(8.7 kB
view hashes)
Built Distribution
tsih-0.1.1-py3-none-any.whl
(12.0 kB
view hashes)