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 | |
|---|---|---|---|
| django-cache-stockpile-0.1.0.tar.gz | 5.0 kB | Details |
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 |