You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

redis-tools

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-tools

Library for inter-service event-based communication

0.0.2
Source
pipPyPI
Maintainers
1

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

Keywords

redis rate-limit

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts