{"id":13814069,"url":"https://github.com/swisscom/cleanerversion","last_synced_at":"2025-05-15T03:32:34.569Z","repository":{"id":20509729,"uuid":"23788348","full_name":"swisscom/cleanerversion","owner":"swisscom","description":"CleanerVersion adds a versioning/historizing layer to your relational DB which implements a \"Slowly Changing Dimensions Type 2\" behavior","archived":true,"fork":false,"pushed_at":"2019-02-07T06:22:35.000Z","size":1188,"stargazers_count":134,"open_issues_count":29,"forks_count":53,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-05-12T10:59:01.429Z","etag":null,"topics":["django","model-history","python","slowly-changing-dimensions","soft-delete","versioning"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swisscom.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-08T11:28:31.000Z","updated_at":"2025-05-10T16:20:04.000Z","dependencies_parsed_at":"2022-09-09T12:01:57.931Z","dependency_job_id":null,"html_url":"https://github.com/swisscom/cleanerversion","commit_stats":null,"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swisscom%2Fcleanerversion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swisscom%2Fcleanerversion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swisscom%2Fcleanerversion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swisscom%2Fcleanerversion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swisscom","download_url":"https://codeload.github.com/swisscom/cleanerversion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253726895,"owners_count":21954095,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","model-history","python","slowly-changing-dimensions","soft-delete","versioning"],"created_at":"2024-08-04T04:01:41.937Z","updated_at":"2025-05-15T03:32:34.239Z","avatar_url":"https://github.com/swisscom.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":".. note::  Please note that development of CleanerVersion has been\n           **discontinued as of February 2019**. Feel free to fork the\n           repository.\n\n*************************\nCleanerVersion for Django\n*************************\n\n.. image:: https://img.shields.io/travis/swisscom/cleanerversion/master.svg\n    :target: https://travis-ci.org/swisscom/cleanerversion\n.. image:: https://img.shields.io/coveralls/swisscom/cleanerversion/master.svg\n   :target: https://coveralls.io/r/swisscom/cleanerversion\n.. image:: https://img.shields.io/pypi/v/CleanerVersion.svg\n   :target: https://pypi.python.org/pypi/CleanerVersion\n\nAbstract\n========\n\nCleanerVersion is a solution that allows you to read and write multiple versions of an entry to and from your\nrelational database. It allows to keep track of modifications on an object over time, as described by the theory of\n**Slowly Changing Dimensions** (SCD) **- Type 2**.\n\nCleanerVersion therefore enables a Django-based Datawarehouse, which was the initial idea of this package.\n\nFeatures\n========\n\nCleanerVersion's feature-set includes the following bullet points:\n\n* Simple versioning of an object (according to SCD, Type 2)\n\n  - Retrieval of the current version of the object\n  - Retrieval of an object's state at any point in time\n\n* Versioning of One-to-Many relationships\n\n  - For any point in time, retrieval of correct related objects\n\n* Versioning of Many-to-Many relationships\n\n  - For any point in time, retrieval of correct related objects\n\n* Migrations, if using in conjunction with Django 1.7 and upwards\n\n* Integration with Django Admin (Credits to @boydjohnson and @peterfarrell)\n\n\nPrerequisites\n=============\n\nThis code was tested with the following technical components\n\n* Python 2.7 \u0026 3.6\n* Django 1.11 \u0026 2.0\n* PostgreSQL 9.3.4 \u0026 SQLite3\n\nOlder Django versions\n=====================\nCleanerVersion was originally written for Django 1.6 and has now been ported up to Django 1.11.\n\nCleanerVersion 2.x releases are compatible with Django 1.11 and 2.0. It may\nalso work with Django 1.9 and 1.10, but note that these versions are not\nofficially supported and test cases have been removed.\n\nOld packages compatible with older Django releases:\n\n* Django 1.6 and 1.7: https://pypi.python.org/pypi/CleanerVersion/1.5.4\n\n* Django 1.8: https://pypi.python.org/pypi/CleanerVersion/1.6.2\n\n* Django 1.9 \u0026 1.10: https://pypi.python.org/pypi/CleanerVersion/2.0.0\n\nDocumentation\n=============\n\nFind a detailed documentation at http://cleanerversion.readthedocs.org/.\n\n\nFeature requests\n================\n\n- Querying for time ranges\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswisscom%2Fcleanerversion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswisscom%2Fcleanerversion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswisscom%2Fcleanerversion/lists"}