Skip to main content
sprockets.clients.redis
=======================
Base functionality for accessing/modifying data in Redis. Currently
there is only support for interacting with Redis servers in a sharded
manner.

That is to say, there are multiple Redis servers we are distributing reads
and writes among them based on a consistent hash of the key value we're
operating on. This is also known as "Client Side Partitioning".

More information about setting up or managing Redis in this manner
can be found on the Redis documentation website: http://redis.io/topics/partitioning

|Version| |Downloads| |Status| |Coverage| |License|

Installation
------------
``sprockets.clients.redis`` is available on the
`Python Package Index <https://pypi.python.org/pypi/sprockets.clients.redis>`_
and can be installed via ``pip`` or ``easy_install``:

.. code:: bash

pip install sprockets.clients.redis

Documentation
-------------
http://sprockets-clients-redis.readthedocs.org/en/latest/

Requirements
------------
.. include:: requirements.txt

Example
-------
This examples demonstrates how to use a sharded Redis connection
in ``sprockets.clients.redis`` by ...

.. code:: python

import os
from sprockets import clients.redis

os.environ['REDIS_URI'] = 'redis://localhost/'

shard = clients.redis.ShardedRedisConnection()

shard.set('foo', 1)
value = shard.get('foo')
shard.delete('foo')


Version History
---------------
Available at http://sprockets-clients-redis.readthedocs.org/en/latest/history.html

.. |Version| image:: https://badge.fury.io/py/sprockets.clients.redis.svg?
:target: http://badge.fury.io/py/sprockets.clients.redis

.. |Status| image:: https://travis-ci.org/sprockets/sprockets.clients.redis.svg?branch=master
:target: https://travis-ci.org/sprockets/sprockets.clients.redis

.. |Coverage| image:: https://img.shields.io/coveralls/sprockets/sprockets.clients.redis.svg?
:target: https://coveralls.io/r/sprockets/sprockets.clients.redis

.. |Downloads| image:: https://pypip.in/d/sprockets.clients.redis/badge.svg?
:target: https://pypi.python.org/pypi/sprockets.clients.redis

.. |License| image:: https://pypip.in/license/sprockets.clients.redis/badge.svg?
:target: http://sprockets-clients-redis.readthedocs.org/en/latest/

Release files for sprockets.clients.redis 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sprockets.clients.redis 2.0.0
File Size Uploaded
sprockets.clients.redis-2.0.0.tar.gz 8.6 kB Details

Release files / sprockets.clients.redis-2.0.0.tar.gz

Download URL sprockets.clients.redis-2.0.0.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a84944e9633bbc42b1967a50ca325ce7776a05ebb3764248646f8662d6001012
BLAKE2b-256 checksum
How to use checksums
0e1dd27dc4c470978daf0753b12bbc40fae9802164e370e69541b9c8b4b4c5df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2.0.0 This release

1 release file

1.2.0

1 release file

1.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page