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

Persistent python objects with Redis backend.

pip install rob

JsonObject

An object that does a JSON dump of the dictionary and save it in a Redis hash.

Needs to define HASH_KEY - the key to the hash.

HashObject

An object that saves its dictionary in a Redis hash. Using the HMSET. It uses a list to keep track of saved objects.

Needs to define HASH_KEY - a key that is used as prefix to the list and as the key to the hash.

Mixins

The mixins below will work with all the object types.

Autosave mixin

A mixin that calls save every time an attribute is set.

Examples

Simple object

from redis import Redis


class ExampleObject(JsonObject):
    HASH_KEY = 'exampleobject'
    redis = Redis()

Autosave object

from redis import Redis


class ExampleAutosaveObject(JsonObject, AutosaveMixin):
    HASH_KEY = 'exampleobject'
    redis = Redis()
Release History

Release History

0.3.0

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

0.2.0

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

0.1.0

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
rob-0.3.0-py3-none-any.whl (5.2 kB) Copy SHA256 Checksum SHA256 3.4 Wheel Jan 30, 2015
rob-0.3.0.tar.gz (2.9 kB) Copy SHA256 Checksum SHA256 Source Jan 30, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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