redis-sacsc

Redis Server-Assisted Client-Side Caching in Python


License
MIT
Install
pip install redis-sacsc==0.0.1

Documentation

Build Status Coverage

redis-sacsc

Redis Server-Assisted Client-Side Caching in Python

WARNING!

This feature is still in redis beta release, scheduled to be released in version 6

Features

  • Fully typed with annotations and checked with mypy, PEP561 compatible
  • Redis Server-Assisted Client-Side Caching

Installation

pip install redis-sacsc

Example

Showcase how your project can be used:

import redis
from redis_sacsc import Manager
pool = redis.ConnectionPool.from_url("redis://127.0.0.1:6379")
manager = Manager(pool, capacity=512)
redis_conn = manager.get_connection()
redis_conn.set('foo', 'bar')
redis_conn.get('foo')
# => 'bar'

License

MIT