Skip to main content

Redis Server-Assisted Client-Side Caching in Python

Project description

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

Project details


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)

Uploaded Source

Built Distribution

redis_sacsc-0.0.1-py3-none-any.whl (8.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page