Overview
This library provides a number of utilities for working with and extending Django’s prefetch_related system. Currently, it consists of:
a collection of descriptors to define relationships between models which support prefetching
a new implementation of prefetch_related_objects which supports an identity map so that multiple copies of the same object are not fetched multiple times.
Free software: BSD 3-Clause License
Installation
pip install django-prefetch-utils
Documentation
Changelog
0.2.0 (2022-01-12)
Added library of descriptors for defining relationships of Django models which can be prefetched.
Add support for the latest version of Django and Python.
Removed support for Python 2 and unsupported Django versions.
Updated backport of prefetch_related_objects to latest version from Django 4.0.
0.1.0 (2019-07-16)
First release on PyPI.
Metadata
Release files for django-prefetch-utils 0.2.0
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 | |
|---|---|---|---|---|
| django-prefetch-utils-0.2.0.tar.gz | 62.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_prefetch_utils-0.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 91.8 kB
Release files / django-prefetch-utils-0.2.0.tar.gz
| Download URL | django-prefetch-utils-0.2.0.tar.gz |
|---|---|
| Size | 62.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd80c2b80a4e4d844b3a491b7f803c32c696b5300f12e63a7be190b95caad425
|
|
BLAKE2b-256 checksum How to use checksums |
5fd6fdf159a6b337fb4d67194a2fe1001d4698feb5a581ee0ff6fa7036e19d7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.2.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11
|
Release files / django_prefetch_utils-0.2.0-py2.py3-none-any.whl
| Download URL | django_prefetch_utils-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 29.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c6cb2779f4c591ba4b59dac2666075b080260e6c137b33d0b6d808fcbe87823e
|
|
BLAKE2b-256 checksum How to use checksums |
4287b88b978fedc86fb6833adfdb4aa185a7c83b7f16507b14ae17c69bd782a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.2.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11
|
Security for django-prefetch-utils 0.2.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.