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.3.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.3-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flask_rate_limiter_lite-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 09fc545c7e7649ca53d03db566fda7835d176acbac85868e131939cd883d1d56
MD5 72526ae52e18cbc1a1eb7a4cc5e61532
BLAKE2b-256 752f854ee7e7274934b24a366cca84fe2141d81097bea7501f760977352d1b53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flask_rate_limiter_lite-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d85e1604b199f31ca5b8f358964c5654bbbd4f314451416b9a47829a65a2dda9
MD5 9e5f85fd78a6d7058c0be11dca747949
BLAKE2b-256 5ba8d9f76f41c3d17785e8de4c73ac08a2137696d962aace2ed394a90335f364

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