--- id: limits version: "5.8.0" license: MIT license_treatment: permissive maintenance: active --- # limits — Rate limiting utilities License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install limits uv add limits poetry add limits ## Description .. |ci| image:: https://github.com/alisaifee/limits/actions/workflows/main.yml/badge.svg?branch=master :target: https://github.com/alisaifee/limits/actions?query=branch%3Amaster+workflow%3ACI .. |codecov| image:: https://codecov.io/gh/alisaifee/limits/branch/master/graph/badge.svg :target: https://codecov.io/gh/alisaifee/limits .. |pypi| image:: https://img.shields.io/pypi/v/limits.svg?style=flat-square :target: https://pypi.python.org/pypi/limits .. |pypi-versions| image:: https://img.shields.io/pypi/pyversions/limits?style=flat-square :target: https://pypi.python.org/pypi/limits .. |license| image:: https://img.shields.io/pypi/l/limits.svg?style=flat-square :target: https://pypi.python.org/pypi/limits .. |docs| image:: https://readthedocs.org/projects/limits/badge/?version=latest :target: https://limits.readthedocs.org ###### limits ###### |docs| |ci| |codecov| |pypi| |pypi-versions| |license| **limits** is a python library for rate limiting via multiple strategies with commonly used storage backends (Redis, Memcached & MongoDB). The library provides identical APIs for use in sync and `async `_... ## AI interpretation — verify before relying Implements rate limiting with multiple strategies (fixed window, moving window, sliding window counter) and storage backends (Redis, Memcached, MongoDB, in-memory) for both sync and async Python applications. Verdict: Production-ready rate limiting library with solid maintenance, permissive licensing, and low install friction. Supports multiple strategies and backends suitable for both simple and distributed rate-limiting scenarios. No known vulnerabilities. [View on SkillFed](https://skillfed.io/packages/limits) · [View on PyPI](https://pypi.org/project/limits/)