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



>>> from redish.client import Client
>>> x = Client()

# Key/Value
>>> x["foo"] = {"name": "George"}
>>> x["foo"]
{'name': 'George'}
>>> del(x["foo"])
>>> x["foo"]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "redish/", line 52, in __getitem__
    raise KeyError(key)
KeyError: 'foo'

# Sets

>>> s = x.Set("myset")
>>> map(s.add, ["opera", "firefox", "ie", "safari"])
[True, True, True, True]
>>> "opera" in s
>>> s.remove("safari")
>>> "safari" in s
>>> list(s)
['opera', 'ie', 'firefox']
>>> s2 = x.Set("myset2")
>>> map(s2.add, ["opera", "firefox", "mosaic"])
[True, True, True]
>>> s.difference(s2)
set(['opera', 'firefox', 'mosaic'])

# Sorted Set

>>> z = x.SortedSet("myzset")
>>> z.add("foo", 0.9)
>>> z.add("bar", 0.1)
>>> z.add("baz", 0.3)
>>> z[0:3]
['bar', 'baz', 'foo']


You can install redish either via the Python Package Index (PyPI) or from source.

To install using pip,:

$ pip install redish

To install using easy_install,:

$ easy_install redish

If you have downloaded a source tarball you can install it by doing the following,:

$ python build
# python install # as root


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
redish-0.0.1.tar.gz (101.7 kB) Copy SHA256 Checksum SHA256 Source Apr 29, 2010

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