Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

high performance redis client implemented with cython

Project Description

minimal redis client written in cython, 5X faster than redis-py.


execute command

>>> from credis import Connection
>>> conn = Connection(host='', port=6379)
>>> conn.execute('set', 'test', 1)
>>> conn.execute('get', 'test')

execute pipelined commands

>>> commands = [('set', 'test%d'%i, i) for i in range(3)]
>>> conn.execute_pipeline(*commands)
('OK', 'OK', 'OK')

connection pool for gevent

>>> from credis.geventpool import ResourcePool
>>> pool = ResourcePool(32, Connection, host='', port=6379)
>>> with pool.ctx() as conn:
...     conn.execute('get', 'test')
>>> pool.execute('get', 'test')
>>> commands = [('get', 'test%d'%i) for i in range(3)]
>>> pool.execute_pipeline(*commands)
('1', '2', '3')
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


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
credis-1.0.8.tar.gz (104.0 kB) Copy SHA256 Checksum SHA256 Source Jan 11, 2018

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