Stockpile Cache
Stockpile provides limited automatic caching and invalidation for Django models through the ORM. Objects fetched through .objects.get(pk=..) or .objects.get(id=..) are cached by the primary key. In addition, there is a way to get objects with the methods .objects.pk_in(id_list) and .objects.id_in(id_list).
Requirements
Stockpile requires Django 1.3. It was written and tested on Python 2.6.
Installation
Get it from [pypi](http://pypi.python.org/pypi/django-cache-stockpile):
`bash pip install django-cache-stockpile `
or [github](http://github.com/streeter/django-cache-stockpile):
`bash pip install -e git://github.com/streeter/django-cache-stockpile.git#egg=django-cache-stockpile `
Running Tests
`bash git clone git://github.com/streeter/django-cache-stockpile.git cd django-cache-stockpile pip install -r requirements.txt python runtests.py `
Metadata
Release files for django-cache-stockpile 0.1.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 | Actions |
|---|---|---|---|---|
| django-cache-stockpile-0.1.0.tar.gz | 5.0 kB | Without provenance | Details for django-cache-stockpile-0.1.0.tar.gz |
Release files / django-cache-stockpile-0.1.0.tar.gz
| Download URL | django-cache-stockpile-0.1.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
348bbd18744ec5af5d7eb61d38d2b9cb2629d6b734eb1d69a6955aadb682b1f3
|
|
BLAKE2b-256 checksum How to use checksums |
eba1727c9b5ce4f2b5c46ed5f668a481f3a10a957461f881829c9c8a49ee5233
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-cache-stockpile 0.1.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.