{"categories":[{"label":"Mathematics","url":"https://skillfed.io/packages/category/scientific-engineering-mathematics/2"}],"enrichment":{"capability":"Provides synchronous and asynchronous rate limiters to regulate loop execution frequency at a specified rate, similar to rospy.Rate.","skillfed_tags":["timing-control","robotics","asyncio"],"use_cases":["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."],"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.\n\nThe 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.","worth_installing":"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."},"id":"loop-rate-limiters","links":{"html":"https://skillfed.io/packages/loop-rate-limiters","md":"https://skillfed.io/packages/loop-rate-limiters.md","pypi":"https://pypi.org/project/loop-rate-limiters/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-08-13","license_spdx":null,"license_treatment":"permissive","name":"loop-rate-limiters","python_support":"supports_current","summary":"Loop rate limiters."},"popularity":{"monthly_downloads":280738,"position":8107,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.2.0"}
