etlplus.api.rate_limiting

etlplus.api.rate_limiting package.

Rate-limiting configuration and runtime helpers for HTTP requests.

This package exposes small, focused primitives for configuring and enforcing HTTP request rate limits.

Notes

  • RateLimitConfig is an immutable configuration for sleep seconds

    and maximum requests-per-second.

  • RateLimiter is a lightweight runtime helper that sleeps between

    requests according to a resolved configuration.

  • Utilities are intentionally minimal and orthogonal to the rest of the API

    surface, following KISS and high cohesion/low coupling principles.

Classes

RateLimiter(*[, sleep_seconds, max_per_sec])

HTTP request rate limit manager.

RateLimitConfig(*[, sleep_seconds, max_per_sec])

Lightweight container for optional API request rate-limit settings.

RateLimitConfigDict

Configuration mapping for HTTP request rate limits.