Skip to main content

Hierarchical key-value store for django

Project description

https://img.shields.io/pypi/v/django-hierarkey.svg https://readthedocs.org/projects/django-hierarkey/badge/?version=latest

This package allows you to attach a key-value store to a model, e.g. to store preferences of an user or a customer. The package supports arbitrary datatypes, defaults and model hierarchies, i.e. you can define a different model instance as your instance’s parent and the values of the parent instance will be used as default values for the child instances.

This approach has been in use in pretix for quite a while, so it has been tested in production.

Tested with Python 3.8-3.10 and Django 3.2-4.0.

License

The code in this repository is published under the terms of the Apache License. See the LICENSE file for the complete license text.

This project is maintained by Raphael Michel <mail@raphaelmichel.de>. See the AUTHORS file for a list of all the awesome folks who contributed to this project.

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

django_hierarkey-1.2.0.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

django_hierarkey-1.2.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file django_hierarkey-1.2.0.tar.gz.

File metadata

  • Download URL: django_hierarkey-1.2.0.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for django_hierarkey-1.2.0.tar.gz
Algorithm Hash digest
SHA256 b16a400539c91fdbbef00f8f9e7c2c3034f20733819eef1d22434afc91e20fbe
MD5 fc505d1965c3d7085d6a9a0ae454d09a
BLAKE2b-256 5430c997cc7642290d22c43ae379d78806019dd72be5006d3be913328803a100

See more details on using hashes here.

File details

Details for the file django_hierarkey-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_hierarkey-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b3633c116c462d5fe5e1b114b8cc9dc70cb9b044004146b1ed592507f791b2ae
MD5 65ad55e26fd3fa7939e58acaca3bac83
BLAKE2b-256 e6327d26a4a2e7a9d5b16f27fe3c7f8f3fac998c4ab3766ab3782a25f5fbaf7d

See more details on using hashes here.

Supported by

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