{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/3"}],"enrichment":{"capability":"Wraps HTTPX with built-in rate limiting and caching transports, letting you control request throttling and response caching through a single manager interface.","skillfed_tags":["rate-limiting","http-caching","async-http"],"use_cases":["Scrape rate-limited APIs without exceeding request quotas or hammering servers.","Batch-download many files over HTTP while respecting rate limits and caching responses locally.","Build async request pipelines that throttle concurrency and reuse cached responses across multiple tasks.","Cache HTTP responses with custom TTL rules per site and path, overriding server cache headers when needed.","Share a single rate limiter across multiple threads using pyrate-limiter's in-memory backend."],"what_it_does":"httpxthrottlecache is a convenience wrapper around HTTPX that bundles rate limiting and HTTP response caching into a single manager. You configure it once with a cache mode (disabled, file-based, or S3-backed), a rate limit (requests per second), and optional cache rules (site and path regex patterns mapped to TTLs), then use it for synchronous, asynchronous, or batch requests. The package abstracts away the complexity of assembling HTTPX transports and making opinionated choices about when and how to cache.\n\nIt supports four cache modes: disabled (rate limiting only), Hishel-File (file-backed), Hishel-S3 (S3-backed), and FileCache (simpler file storage using Last-Modified revalidation). Rate limiting is powered by pyrate-limiter, a leaky-bucket implementation that works across threads and can be extended to multiprocess or distributed scenarios. The package was born from real-world needs\u2014specifically, working around strict rate limits and unhelpful caching headers on certain APIs.","worth_installing":"Yes, if you need rate limiting and caching together for HTTPX. The package is actively maintained, has low install friction, and solves a real problem. However, verify the license before use in proprietary contexts, and be aware it is young with minimal adoption. Start with a small trial to confirm the cache and rate-limit behavior matches your use case."},"id":"httpxthrottlecache","links":{"html":"https://skillfed.io/packages/httpxthrottlecache","md":"https://skillfed.io/packages/httpxthrottlecache.md","pypi":"https://pypi.org/project/httpxthrottlecache/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-13","license_spdx":null,"license_treatment":"unclear","name":"httpxthrottlecache","python_support":"supports_current","summary":"Rate Limiting and Caching HTTPX Client"},"popularity":{"monthly_downloads":794590,"position":5037,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.6.1"}
