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
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-tools-0.0.1.tar.gz
(7.1 kB
view hashes)
Built Distribution
Close
Hashes for redis_tools-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a247e6f26e047822c54fa287594244d758ef1e31d6b64e2e0fd9394c6c011ef |
|
MD5 | defa75cfd50c3bfd0e359428b56e3e79 |
|
BLAKE2b-256 | 61e0c4cf56571fc810153a61ff93689533a42a390d34ed7e5891b40d0bf8d1d6 |