Skip to main content

No project description provided

Project description

🚦 Rate Limiter – Reusable Flask Decorator Library

A reusable, production-style rate limiting library for Flask applications, implemented using 4 industry-standard algorithms and exposed PyPI

The project is designed with system design principles, strategy pattern, and real-world API use cases in mind.


✨ Features

  • Decorator-based rate limiting for Flask routes
  • Supports 4 algorithms : 1. Fixed Window 2.Sliding Window 3.Leaky Bucket 4. Token Bucket
  • Per-user and per-endpoint enforcement
  • Clean, extensible strategy-based architecture
  • In-memory state management for simplicity
  • Metrics support for observability
  • Designed as a reusable Python package

Installation

Clone the repository and install the package in editable mode:

pip install flask-rate-limiter-lite

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flask_rate_limiter_lite-0.1.4.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flask_rate_limiter_lite-0.1.4-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file flask_rate_limiter_lite-0.1.4.tar.gz.

File metadata

  • Download URL: flask_rate_limiter_lite-0.1.4.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.5

File hashes

Hashes for flask_rate_limiter_lite-0.1.4.tar.gz
Algorithm Hash digest
SHA256 e42862cbef756d77b3fdbb24896c1086bc48e4545b6768ac1aff390833bbaeca
MD5 6ad0b56d5e1ded2d2c95c7194b9a3602
BLAKE2b-256 69fb0db77a34abce9ffbeeb90602a7b99f91a4438047397c253b8aa4394bae03

See more details on using hashes here.

File details

Details for the file flask_rate_limiter_lite-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for flask_rate_limiter_lite-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 354428b38143390bc4b0c5efd3d3d704511ed04442111c9ca63df6a981fb86a6
MD5 bc8ebd8fd7bb79566764b45146e89265
BLAKE2b-256 709dbf95e828246b3df7cb96e519a2d56efdf605c5213c9bfbc4c9020a4452a4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page