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.9-3.11 and Django 4.2-5.2.

Security

If you discover a security issue, please contact us at security@pretix.eu and see our Responsible Disclosure Policy further information.

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-2.0.1.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

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

django_hierarkey-2.0.1-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_hierarkey-2.0.1.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for django_hierarkey-2.0.1.tar.gz
Algorithm Hash digest
SHA256 1d75efd2697ecc94f3856d84fd1e66fb23b3a656827e587a6d13b7ceb7b725ff
MD5 08fa2ba49deee5f13928a2859a8fbad9
BLAKE2b-256 851b8408798a8123533327ddb38a698d0135bd64424f019eaf61b42742b858c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_hierarkey-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2bb5936c10e12fce9f6baa85b625f3f8ea33525f174659659e9059c74d348c45
MD5 c121216a97d064b9681a22d682b990d0
BLAKE2b-256 3f7dd930ca5d2ae0724ac71b10337d824bd76dea03e0d3fff7b773f74c0dc475

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