swisscom / cleanerversion

CleanerVersion adds a versioning/historizing layer to your relational DB which implements a "Slowly Changing Dimensions Type 2" behavior
Apache License 2.0
136 stars 53 forks source link
django model-history python slowly-changing-dimensions soft-delete versioning

.. note:: Please note that development of CleanerVersion has been discontinued as of February 2019. Feel free to fork the repository.


CleanerVersion for Django


.. image:: https://img.shields.io/travis/swisscom/cleanerversion/master.svg :target: https://travis-ci.org/swisscom/cleanerversion .. image:: https://img.shields.io/coveralls/swisscom/cleanerversion/master.svg :target: https://coveralls.io/r/swisscom/cleanerversion .. image:: https://img.shields.io/pypi/v/CleanerVersion.svg :target: https://pypi.python.org/pypi/CleanerVersion

Abstract

CleanerVersion is a solution that allows you to read and write multiple versions of an entry to and from your relational database. It allows to keep track of modifications on an object over time, as described by the theory of Slowly Changing Dimensions (SCD) - Type 2.

CleanerVersion therefore enables a Django-based Datawarehouse, which was the initial idea of this package.

Features

CleanerVersion's feature-set includes the following bullet points:

Prerequisites

This code was tested with the following technical components

Older Django versions

CleanerVersion was originally written for Django 1.6 and has now been ported up to Django 1.11.

CleanerVersion 2.x releases are compatible with Django 1.11 and 2.0. It may also work with Django 1.9 and 1.10, but note that these versions are not officially supported and test cases have been removed.

Old packages compatible with older Django releases:

Documentation

Find a detailed documentation at http://cleanerversion.readthedocs.org/.

Feature requests