PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Rate Limiting Python Packages

Python packages with the GitHub topic rate-limiting. Sorted by relevance, with stars and monthly downloads.
alisaifee
limits

Rate limiting using various strategies and storage backends such as redis, memcached & mongodb

36.8M 628 74
alisaifee
flask-limiter

Rate Limiting extension for Flask

23.3M 1K 129
mjpieters
aiolimiter

An efficient implementation of a rate limiter for asyncio.

15.8M 761 31
tomasbasham
ratelimit

API Rate Limit Decorator

12M 830 162
vutran1710
pyrate-limiter

⚔️Python Rate-Limiter using Leaky-Bucket Algorithm Family

5.8M 502 49
sigmavirus24
rush

Modular, way of implementing rate-limiting in python with a few handy default implementations

1.6M 64 8
ZhuoZhuoCrayon
throttled-py

🔧 High-performance Python rate limiting library with multiple algorithms (Fixed Window, Sliding Window, Token Bucket, Leaky Bucket & GCRA) and storage backends (Redis, In-Memory).

982K 635 33
JWCook
requests-ratelimiter

Easy rate-limiting for python requests

819K 118 10
steinitzu
celery-singleton

Seamlessly prevent duplicate executions of celery tasks

301K 262 41
stephane-caron
loop-rate-limiters

Loop rate limiters in Python with an API similar to rospy.Rate

176K 35 0
piccolo-orm
piccolo-api

ASGI middleware for authentication, rate limiting, and building REST endpoints.

155K 160 26
vstorm-co
pydantic-ai-shields

Guardrail capabilities for Pydantic AI — cost tracking, prompt injection detection, PII filtering, secret redaction, tool permissions, and async guardrails. Built on pydantic-ai's native capabilities API.

110K 63 10
upstash
upstash-ratelimit

Rate limiting library for serverless runtimes in Python

97K 34 1
vstorm-co
pydantic-ai-middleware

Guardrail capabilities for Pydantic AI — cost tracking, prompt injection detection, PII filtering, secret redaction, tool permissions, and async guardrails. Built on pydantic-ai's native capabilities API.

82K 63 10
evoluxbr
python-redis-rate-limit

Python Rate Limiter implemented based on Redis INCR, EXPIRE, EVALSHA and EVAL.

74K 133 35
alexdelorenzo
limiter

⏲️ Easy rate limiting for Python using a token bucket algorithm, with async and thread-safe decorators and context managers

28K 51 1
BennyThadikaran
mthrottle

A simple and generic rate limiter to prevent too many function calls or http requests.

25K 1 0
Ameyanagi
llmratelimiter

Rate limiter for LLM

9K 4 0
aks-71
plimit

Run multiple async functions with limited concurrency — Python port of p-limit

7K 4 0
JGLTechnologies
aiohttp-ratelimiter

A rate limiter for the aiohttp.web framework

7K 14 6
Elijas
token-throttle

Multi-resource rate limiting for LLM APIs. Reserve tokens before you call, refund what you don't use, stay under the limit across workers.

6K 18 2
tn3w
flask-captchaify

A strong bot protection system for Flask with many features: rate limiting, special rules for users, web crawler detection, and automatic bot detection.

4K 21 5
wemake-services
asyncio-redis-rate-limit

Rate limiter for async functions using Redis as a backend.

3K 53 3
CralixRaev
httpx-ratelimiter

Leaky-bucket ratelimiting for httpx

3K 7 4
    • Data from PyPI, GitHub, ClickHouse, and BigQuery