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.2.tar.gz
(7.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file redis-tools-0.0.2.tar.gz.
File metadata
- Download URL: redis-tools-0.0.2.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2e00c840c776c93a91d2b6733c00e9c742a25ea8675b40000ea1b9bbcf0c142
|
|
| MD5 |
7110aec14c523329c3c03f4fd51d8702
|
|
| BLAKE2b-256 |
2d796fd70f1455bfa525ed7c69cf87a995313a2436571d746f82a62b44cfe931
|
File details
Details for the file redis_tools-0.0.2-py2.py3-none-any.whl.
File metadata
- Download URL: redis_tools-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cb83af83ae6b608049b9c78d9bce62c44638fb6bd28ae873de61d5330897821
|
|
| MD5 |
ca26576aa025ddca91cfc69d7e9cadb8
|
|
| BLAKE2b-256 |
618aa4c8238b08f43b83126dff28d6e9ac85d6201ae0b34fd74946dbdd2fa492
|