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

Rate Limiting Python Packages

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

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

37M 649 84
tomasbasham
ratelimit

API Rate Limit Decorator

14.4M 830 159
mjpieters
aiolimiter

An efficient implementation of a rate limiter for asyncio.

9.8M 787 32
alisaifee
flask-limiter

Rate Limiting extension for Flask

8.1M 1K 131
vutran1710
pyrate-limiter

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

7.9M 528 51
JWCook
requests-ratelimiter

Easy rate-limiting for python requests

544K 119 11
stephane-caron
loop-rate-limiters

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

436K 35 0
piccolo-orm
piccolo-api

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

420K 162 27
steinitzu
celery-singleton

Seamlessly prevent duplicate executions of celery tasks

414K 264 41
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.

302K 94 11
sigmavirus24
rush

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

198K 65 7
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).

139K 651 36
upstash
upstash-ratelimit

Rate limiting library for serverless runtimes in Python

91K 36 2
BennyThadikaran
mthrottle

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

38K 1 0
evoluxbr
python-redis-rate-limit

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

23K 133 35
alexdelorenzo
limiter

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

15K 52 1
doug
polite-http

A courteous, dependency-free HTTP client with rate limiting, retries, and backoff.

14K 0 0
baldurhq
baldur-framework

Self-healing reliability layer for Python — circuit breaker, retry, and fallback behind a single decorator. Framework-agnostic core with Django, FastAPI, Flask, and Celery adapters.

5K 2 0
MHammett
spn-client

A hardened Python client for archive.org's availability API and Save Page Now (SPN2): process-wide rate pacing with a circuit breaker, dual-mode anonymous/S3-authenticated submission, and an explicit archive-outcome vocabulary.

5K 0 0
CralixRaev
httpx-ratelimiter

Leaky-bucket ratelimiting for httpx

4K 8 4
nullrunio
nullrun

Enforcement gateway for AI agents. Nullrun official Python SDK.

4K 3 0
wemake-services
asyncio-redis-rate-limit

Rate limiter for async functions using Redis as a backend.

4K 54 5
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
Bubblegunn
proactive-gate

Decide whether a proactive AI agent may reach a user right now, and log why not. Ordered checks as code or JSON, presets for platform and legal limits, adapters for agent frameworks, a browser playground, and a Python sibling held to the same fixtures.

4K 1 3
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology