$npx skillfedfor your agent

rush

A library for throttling algorithms

With conditionsPyPI InternetReleased Apr 2021299.4K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — rush-2021.4.0-py3-none-any.whl
v2021.4.0 · released 2021-04-01 · Python >=3.6 · 1 runtime deps: attrs

Yes, if you need a simple, well-typed rate-limiting library and can accept that it will not receive updates. The code is stable and production-ready (Development Status 5), has no known vulnerabilities, and low install friction. However, do not use it if you require active maintenance, security patches, or support for Python versions beyond 3.7.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.6 or later.
  • Redis backend requires additional redis and rfc3986 dependencies if using Redis storage instead of in-memory.
  • Low install friction with a single runtime dependency (attrs).

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions, making it safe from a licensing perspective for most projects.

last release 2021-04-01 (1961 days) · last repo commit 2023-03-27 · 65 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 299,368 downloads/mo, #7,860 on PyPI

Verify before relying

pip install rush

from rush.limiters import Limiter
from rush.stores import MemoryStore

store = MemoryStore()
limiter = Limiter(store, max_attempts=5)
if limiter.try_acquire('user_id'):
    # Allow request
    pass
  • Whether the package works reliably with Python versions beyond 3.7 (classifiers only list 3.6 and 3.7, but requires_python says >=3.6)
  • Whether abandonment and lack of maintenance since 2021 poses compatibility risks with modern Python or dependency ecosystems
  • Specific rate-limit interval values and configuration defaults for the periodic interval and GCRA limiters
Same gist for agents: .md · .json

What it is and what it does

rush is a small, focused library for implementing rate-limiting and throttling logic in Python applications. It provides two main algorithms—a basic periodic interval limiter and a leaky bucket rate limiter based on GCRA—along with pluggable storage backends so you can choose between Redis for distributed state or an in-memory dictionary for testing and prototyping. The library is fully typed, well-tested, and documented.

The package is designed to be algorithm-agnostic and storage-agnostic, meaning you can mix and match limiters and backends without worrying about compatibility. It's useful when you need to enforce rate limits on API calls, user interactions, or other resource access patterns. However, the project has been abandoned since early 2021 with no active maintenance, so it will not receive bug fixes, security patches, or updates for newer Python versions.

Use it for

  • Enforce rate limits on outbound API calls to third-party services.
  • Throttle user requests in a web application to prevent abuse or resource exhaustion.
  • Implement distributed rate limiting across multiple application instances using a Redis backend.
  • Prototype and test rate-limiting logic quickly using the in-memory storage backend.
  • Add request throttling to a CLI tool or batch job that interacts with rate-limited APIs.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need a simple, well-typed rate-limiting library and can accept that it will not receive updates.

The code is stable and production-ready (Development Status 5), has no known vulnerabilities, and low install friction. However, do not use it if you require active maintenance, security patches, or support for Python versions beyond 3.7.

Install

rush on PyPI

Before you install

Low install friction with a single runtime dependency (attrs). However, the package is abandoned—last release was 2021-04-01 and last commit 2023-03-27—so no maintenance or security updates are forthcoming.

Requires Python 3.6 or later. Redis backend requires additional redis and rfc3986 dependencies if using Redis storage instead of in-memory.

License in practice

MIT license is permissive, allowing commercial and private use with minimal restrictions, making it safe from a licensing perspective for most projects.

Quickstart

pip install rush

from rush.limiters import Limiter
from rush.stores import MemoryStore

store = MemoryStore()
limiter = Limiter(store, max_attempts=5)
if limiter.try_acquire('user_id'):
    # Allow request
    pass

Verify before relying

  • Whether the package works reliably with Python versions beyond 3.7 (classifiers only list 3.6 and 3.7, but requires_python says >=3.6)
  • Whether abandonment and lack of maintenance since 2021 poses compatibility risks with modern Python or dependency ecosystems
  • Specific rate-limit interval values and configuration defaults for the periodic interval and GCRA limiters

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
attrs
MaintenanceAbandoned 1,961 days since the last release
Last repo commit
First released
Downloads299,368 / month, #7,860 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7

Evidence: rush-2021.4.0-py3-none-any.whl

Tags

Capabilities
rate limiting librarythrottle algorithmapi rate limiterleaky bucket gcraredis rate limitrequest throttlingperiodic interval limiter
Topics
rate-limitingthrottlingapi-control
PyPI keywords
throttlesthrottlealgorithmgcraredis

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “throttle algorithm”

  • rushrush provides rate-limiting algorithms (periodic interval and leaky…
  • requests-ratelimiterAdds rate-limiting to the requests library by wrapping…
  • asynciolimiterProvides rate limiting for async Python code by enforcing a maximum…

Give your agent the search over MCP, or paste the wish link into any chat.

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also pyrate-limiter · throttled-py · token-throttler · limits · httpx-limiter · upstash-ratelimit · requests-ratelimiter · aiolimiter · asynciolimiter · drain3