Redis Server-Assisted Client-Side Caching in Python
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
redis-sacsc-0.0.1.tar.gz
(7.8 kB
view hashes)
Built Distribution
Close
Hashes for redis_sacsc-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 948e275a14a2646950653bcfc52a0eb8466fcc8dbf912d4a2f763eb0d6d8f1f7 |
|
MD5 | 0c18bd9c779df67be30ea40b3689da9a |
|
BLAKE2b-256 | 59ffe3d6f9c04270efe465c615717ca829a82a4a675cc1aafeb5eccb6dfadf51 |