Miwory 746b25d53a
All checks were successful
Verify Dev Build / publish (push) Successful in 31s
Фикс проксирования
2026-03-08 07:42:55 +03:00
2026-02-15 19:38:37 +03:00
2026-02-24 07:53:24 +03:00

🦀 OxideHTTP

High-performance Python HTTP client. Rust engine (pyreqwest) + HTTPX Interface + Redis-backed Resiliency.

🚀 Features

  • GCRA Rate Limiting: Smooth, distributed throttling via Redis.
  • Smart Caching: Avoid redundant hits with TTL-based Redis caching.
  • Blazing Fast: Core logic offloaded to Rust.
  • UV Ready: Optimized for the modern Python ecosystem.

📦 Installation

OxideHTTP is available via our private PyPI index. Configure uv to pull from it:

# Add the index to your project
uv add oxidehttp --index https://git.miwory.dev/api/packages/OxideHTTP/pypi/simple

Alternatively, add it to your pyproject.toml:

[[tool.uv.index]]
name = "OxideHTTP"
url = "https://git.miwory.dev/api/packages/OxideHTTP/pypi/simple"

🛠 Usage

from oxidehttp import OxideClient

async with OxideClient(
    base_url="https://api.example.com",
    redis_url="redis://localhost:6379",
    ratelimit_limit=60, # 60 req/min
    ratelimit_key="service-alpha"
) as client:
    # This call is cached for 60 seconds
    res = await client.get("/data", cache_ttl=60)
    json = await res.json()
    print(json)


Description
High-performance Python HTTP client.
Readme 35 KiB
Languages
Python 100%