This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

ORM for managing cache of django models using redis. Models data can be cached just once and as per requirements it can be fetched using filters.

No-Sql in retrieval of model objects.


[django >=1.3](



User Manual :

from redis_db.manager import CacheManager

class Person(models.Model):

“”” Person model, contains basic details. “”” name = models.CharField(max_length = 255) email = models.EmailField(max_length = 100) gender = models.ChoiceField(choices = ((‘M’, ‘Male’), (‘F’, ‘Female’)))

#custom managers objects = models.Manager() cache_objects = CacheManager(key = ‘person-cache’)

Creating Cache Data (one time process)

qs = Person.objects.all() # qs can be anything, filtered queryset or model object itself

Retrieving Objects from cache (No-SQL)

1- All objects

objs = Person.cache_objects.all() # returns list of Person Objects. Note - Gives back list not queryset,
# because querysets itself is lazy query

2 - Filters usage

objs = Person.cache_objects.filter(gender = ‘M’) # all male Person’s Objects

3 - Get a specific object based on id

obj = Person.cache_objects.get(id= 10)

Note :

For non reference objects there is no query at all but in case of ForiegnKey retreival it makes a query to get that object.

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Redis-DB-0.1.5.tar.gz (3.7 kB) Copy SHA256 Checksum SHA256 Source Nov 25, 2013

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