Skip to main content

Library for inter-service event-based communication

Project description

Redis Tools

Useful helpers and tools when working with Redis or using redis for common problems like rate-limitting, locks and other...

12Factor configuration

Standarized initialization of client using environment, supporting Sentinel.

# export REDIS_URL=redis://localhost
# export REDIS_URL=sentinel://localhost?master=mymaster
# export REDIS_URL=sentinel://localhost:12343/0?master=mymaster
import redistools
redistools.get_redis()  # get redis client
redistools.get_redis(master=False)  # slave (read-only) client

Rate limitting

Rate limitting log filter

Lock decorator

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-tools-0.0.2.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

redis_tools-0.0.2-py2.py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 2 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