PravdaAIClient (fork)
● Released
PravdaAIClient - a top-notch native async Python client for the OpenAI-compatible API gateway. Features automatic retries with exponential backoff, token-aware streaming, rate-limit handling, structured output parsing, configurable timeouts, and full type hints. Built for production use with zero external SDK dependencies (only httpx). Ships with an example CLI chatbot.
Platforms
python
async
openai
llm
api
Comments
used this on a high-traffic endpoint, the retry logic saved my ass during a spike
Tried it with a streaming endpoint that had intermittent 503s. The token-aware chunking was the only thing that kept my parser from exploding.