◄ Back to all products DIGITAL DOWNLOAD

⏱️ Rate Limiter

$4.99

Four production-ready rate limiting algorithms in a single Python module: Token Bucket, Sliding Window Log, Sliding Window Counter, and Fixed Window. Supports IP-based, API-key-based, and custom key extraction. Includes HTTP middleware integration and rate limit headers (X-RateLimit-*).

What’s Included

  • Rate limiter library with 4 algorithms (~220 lines)
  • Token Bucket, Sliding Window Log/Counter, Fixed Window
  • Key extraction: IP address, API key, custom callable
  • HTTP server middleware with X-RateLimit-* headers
  • Per-route and global rate limit configuration
  • Thread-safe with stdlib threading locks
  • Example: rate-limited API server with per-route limits
  • MIT License
⚡ Buy Now — $4.99 ◄ Back to Store
Stripe Apple Pay Google Pay Crypto

🔒 Secure checkout via Stripe · Instant digital download · Python 3.10+ stdlib only