Skip to main content

Cross-session and cross-process API rate limit guard for AI agents

Project description

rate-limit-guard

Cross-session and cross-process API rate limit guard for AI agents.

Usage

from rate_limit_guard import RateLimitGuard

guard = RateLimitGuard()
cooldown = guard.get_remaining_cooldown()
if cooldown:
    print(f"Rate limited! Wait {cooldown}s")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kindred_rate_limit_guard-1.0.0.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kindred_rate_limit_guard-1.0.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file kindred_rate_limit_guard-1.0.0.tar.gz.

File metadata

  • Download URL: kindred_rate_limit_guard-1.0.0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for kindred_rate_limit_guard-1.0.0.tar.gz
Algorithm Hash digest
SHA256 934b4691fa2f83e45b0fc7b0cb43bd67ed079611fea774cfb295d4397c7e35f8
MD5 a615d27b3de3f2a45a83a6f383204927
BLAKE2b-256 895bc3ffb7e9382a812da0c66b82b2f602c7e775e127779677bbfd97522e0f06

See more details on using hashes here.

File details

Details for the file kindred_rate_limit_guard-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for kindred_rate_limit_guard-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 90268eba8649265b777e5dcca562bf737f3e4c4495f1d63a6d09626e75c43aff
MD5 723b77ab1cde261386de47b1a3ec92f3
BLAKE2b-256 9ff50ea89d63bd4b6a6d37b7a97af14020bfac3d64858213cb5a65347cf84d31

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page