Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tsih-0.1.1-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file tsih-0.1.1.tar.gz.

File metadata

  • Download URL: tsih-0.1.1.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

File hashes

Hashes for tsih-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ccf04c713ddcd7c274b1ca070293765b0cb08216890b37d4953d6a63493f9acb
MD5 aec7a8c94dbf0ecfc49298068528f87a
BLAKE2b-256 6b1e8f2c47740bb9a257948e1ed9d2deee59e38e2bb125a200f15d14aa0a7042

See more details on using hashes here.

File details

Details for the file tsih-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tsih-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

File hashes

Hashes for tsih-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 be19a0beecfbd7daf902a23c71b63c260a3881b5faed1168266a36234fa4ad9e
MD5 da03f2f93a16d5981089a47640cff1b6
BLAKE2b-256 d0833eac708970ce23ba2966e76e9cdac226a6e0994ae2eac8f16a3d4a15ca7b

See more details on using hashes here.

Supported by

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