django-hstore-field
An easy to use postgres hstore field that is based on django-hstore-widget
Requirements
- Python 3.10 and Up ( well technically any python version from 3.6 should work )
- Django 3.2 and Up
- Modern browsers ( Chrome 112+, Firefox 117+, Safari 16.5+ or any browsers supporting css nesting )
Installation
pip install django-hstore-field
Usage
Option 1:
Include django-hstore-widget in your settings.py's INSTALLED_APPS:
# settings.py
INSTALLED_APPS = [
...,
'django_hstore_widget',
...
]
Option 2:
Include django-hstore-widget's migration to any of your model's migration:
# Generated migration file
from django.db import migrations, models
import django.contrib.postgres.fields
class Migration(migrations.Migration):
dependencies = [
("django_hstore_widget", "__latest__"),
]
operations = [
...
]
and then use it:
# yourapp/models.py
from django.db import models
from django_hstore_field import HStoreField
class ExampleModel(models.Model):
data = HStoreField()
Indexing
You should use GIN indexing for 99% of the use case, create an index like this:
# models.py
from django.db import models
from django.contrib.postgres.indexes import GinIndex
from django_hstore_field import HStoreField
class ExampleModel(models.Model):
data = HStoreField()
class Meta:
indexes = [
GinIndex(fields=["data"], name="example_data_gin"),
]
Example:
Check the cat directory
If you want a lower level implementation, please check django-hstore-widget.
Metadata
Release files for django-hstore-field 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_hstore_field-0.0.6.tar.gz | 2.4 kB | With provenance | Details for django_hstore_field-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_hstore_field-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for django_hstore_field-0.0.6-py3-none-any.whl |
Total release size: 5.2 kB
Release files / django_hstore_field-0.0.6.tar.gz
| Download URL | django_hstore_field-0.0.6.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ce22f3a801465acdae9163dfad9d1cd459ce30804d2e641bc046df484c122a0
|
|
BLAKE2b-256 checksum How to use checksums |
94b23abf80da08087f17ce826f31f77de5b2e374bebf9b0508813b8fae890246
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logRelease files / django_hstore_field-0.0.6-py3-none-any.whl
| Download URL | django_hstore_field-0.0.6-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
afe8aa2dc7fcb3c5c9f7940d1f028a3605b135ceb515efdba283c6e9b8b97d3c
|
|
BLAKE2b-256 checksum How to use checksums |
92d99b72732b1ead4d4a6976cdca403a03d52f357b30f8591e91d435b67e5360
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logSecurity for django-hstore-field 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for django_hstore_field-0.0.6.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.