DEV Community

Venture Studios
Venture Studios

Posted on

Stop Hammering External APIs: A Simple Python Rate Limiter CLI

Stop Hammering External APIs: A Simple Python Rate Limiter CLI

If you're calling third-party APIs from scripts or services, you've probably hit rate limits.
I built a small, dependency-free Python CLI that adds simple token-bucket rate limiting to any command.

Why use it

  • Zero dependencies, pure Python
  • Works as a CLI wrapper around any shell command
  • Configurable requests-per-second and burst size
  • Great for scraping, API integrations, and CI pipelines

Get it

Grab the tool here: https://buy.stripe.com/14A4gB4Mleey2kNcUbaR20c

Feedback welcome!

Ship Safer Python Toolkit — Bundle

Pair this Rate Limiter CLI with two complementary security tools from fellow indie devs:

  • 🔐 Secret Scanner CLI ($29) — dependency-free single-file Python tool that scans your codebase for leaked API keys/secrets before you ship. Buy instantly via Stripe
  • 🪢 Webhook Signature Verifier CLI ($29) — verify inbound webhook signatures (Stripe, GitHub, etc.) in one file, zero deps. Buy instantly via Stripe

Grab all three and lock down your API layer end-to-end.


Ship Safer Python Toolkit Bundle

Pair this Rate Limiter CLI with these community tools:

Buy the Rate Limiter CLI here: [Stripe checkout link]

Top comments (0)