Giter VIP home page Giter VIP logo

cleanerversion's Introduction

CleanerVersion for Django

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:

  • Simple versioning of an object (according to SCD, Type 2)
    • Retrieval of the current version of the object
    • Retrieval of an object's state at any point in time
  • Versioning of One-to-Many relationships
    • For any point in time, retrieval of correct related objects
  • Versioning of Many-to-Many relationships
    • For any point in time, retrieval of correct related objects
  • Migrations, if using in conjunction with Django 1.7 and upwards
  • Integration with Django Admin (Credits to @boydjohnson and @peterfarrell)

Prerequisites

This code was tested with the following technical components

  • Python 2.7 & 3.6
  • Django 1.11 & 2.0
  • PostgreSQL 9.3.4 & SQLite3

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

  • Querying for time ranges

cleanerversion's People

Contributors

boydjohnson avatar brandonmoser avatar brki avatar dunkelstern avatar ezheidtmann avatar kuvandjiev avatar maennel avatar pzeinlinger avatar raphaelm avatar yscumc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.