loop-rate-limiters
Loop rate limiters.
Decision gist · record as of 2026-08-14
Yes. The package is lightweight, dependency-free, actively maintained, permissively licensed, and solves a common need in control and real-time systems. Install it if you need straightforward loop frequency regulation in synchronous or asynchronous code.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction: pure Python wheel with no runtime dependencies.
- Actively maintained with a recent release on 2025-08-13 and ongoing repository activity.
License · maintenance · safety
permissive license (permissive) — Permissive license allows use in commercial and open-source projects without significant restrictions.
last release 2025-08-13 (366 days) · last repo commit 2026-03-10 · 35 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 280,738 downloads/mo, #8,107 on PyPI
Alternatives
Verify before relying
pip install loop-rate-limiters
from loop_rate_limiters import RateLimiter
rate = RateLimiter(frequency=400.0)
while True:
rate.sleep()- Whether the rate limiter maintains accuracy under high-frequency or variable-load conditions.
- How the implementation handles system clock adjustments or sleep precision on different operating systems.
What it is and what it does
Loop rate limiters provides simple frequency regulation for tight loops in Python, offering both synchronous and asynchronous variants. The synchronous RateLimiter class accepts a frequency parameter and sleeps for the appropriate duration each iteration to maintain that rate; the AsyncRateLimiter does the same for asyncio-based code. Both are designed to work similarly to rospy.Rate, making them useful for robotics, control systems, and any application that needs to run a loop at a fixed frequency without busy-waiting.
The package has no external dependencies and supports Python 3.9 through 3.12. It is actively maintained and classified as production-stable, making it suitable for production use in timing-sensitive applications where you need straightforward frequency control without the complexity of a full scheduler.
Use it for
- Robotics control loops that must execute at a fixed frequency (e.g., 400 Hz sensor polling).
- Asynchronous tasks running in parallel at different frequencies within a single event loop.
- Simulation or game loops that need consistent frame rates or update frequencies.
- Data acquisition or sensor sampling at a regulated rate without blocking other operations.
- Real-time monitoring or telemetry collection at a specified sampling frequency.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is lightweight, dependency-free, actively maintained, permissively licensed, and solves a common need in control and real-time systems. Install it if you need straightforward loop frequency regulation in synchronous or asynchronous code.
Install
loop-rate-limiters on PyPI
Before you install
Low friction: pure Python wheel with no runtime dependencies. Actively maintained with a recent release on 2025-08-13 and ongoing repository activity.
License in practice
Permissive license allows use in commercial and open-source projects without significant restrictions.
Quickstart
pip install loop-rate-limiters
from loop_rate_limiters import RateLimiter
rate = RateLimiter(frequency=400.0)
while True:
rate.sleep()
Verify before relying
- Whether the rate limiter maintains accuracy under high-frequency or variable-load conditions.
- How the implementation handles system clock adjustments or sleep precision on different operating systems.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 366 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 280,738 / month, #8,107 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Topic :: Scientific/Engineering :: Mathematics |
Evidence: loop_rate_limiters-1.2.0-py3-none-any.whl
Tags
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 › “loop rate limiter”
- loop-rate-limitersProvides synchronous and asynchronous rate limiters to regulate loop…
- throttlerProvides rate limiting, concurrency limiting, execution timing, and…
- httpx-limiterProvides rate-limited HTTP transports for httpx clients, supporting…
Give your agent the search over MCP, or paste the wish link into any chat.
More Mathematics packages
NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.
kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.
Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.
SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.
ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.
PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.
onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.
Install it if you have ONNX models to run in production or development.
See also ratelimiter · asynciolimiter · ratelim · fastapi-limiter · python-redis-rate-limit · aiolimiter · rush · requests-ratelimiter · throttler · control