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!

An asynchronous Redis client for Tornado

Project Description

An asynchronous Redis client for Tornado

Documentation is available at tredis.readthedocs.org.

Commands Implemented

TRedis is a work in progress and not all commands are implemented. The following list details each command category and the number of commands implemented in each.

If you need functionality that is not yet implemented, follow the patterns for the category mixins that are complete and submit a PR!

Category Count
Cluster 2 of 20
Connection 5 of 5
Geo 0 of 6
Hashes 13 of 15
HyperLogLog 3 of 3
Keys 22 of 22
Lists 0 of 17
Pub/Sub 0 of 6
Scripting 6 of 6
Server 7 of 30
Sets 15 of 15
Sorted Sets 6 of 21
Strings 23 of 23
Transactions 0 of 5

For information on local development or contributing, see CONTRIBUTING.rst

Example

import logging
import pprint

from tornado import gen, ioloop
import tredis


@gen.engine
def run():
    client = tredis.Client([{"host": "127.0.0.1", "port": 6379, "db": 0}],
                           auto_connect=False)
    yield client.connect()
    value = yield client.info()
    pprint.pprint(value)
    ioloop.IOLoop.current().stop()

if __name__ == '__main__':
    logging.basicConfig(level=logging.DEBUG)
    io_loop = ioloop.IOLoop.current()
    io_loop.add_callback(run)
    io_loop.start()
Release History

Release History

This version
History Node

0.7.2

History Node

0.7.1

History Node

0.7.0

History Node

0.6.0

History Node

0.5.0

History Node

0.4.0

History Node

0.3.0

History Node

0.2.1

History Node

0.2.0

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
tredis-0.7.2-py2.py3-none-any.whl (44.9 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Mar 13, 2017
tredis-0.7.2.tar.gz (37.7 kB) Copy SHA256 Checksum SHA256 Source Mar 13, 2017

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