Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A simple django ORM caching layer.

Project Description

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 `

Release History

Release History

This version
History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-cache-stockpile-0.1.0.tar.gz (5.0 kB) Copy SHA256 Checksum SHA256 Source Jun 15, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting