PyVelo is a next-generation, high-performance HTTP client library for Python, built on the robust AnyIO framework. It is designed for speed, reliability, and ease of use in modern asynchronous applications.
- High Performance: Optimized for speed and low latency.
- Async & Sync Support: Works seamlessly with both synchronous and asynchronous code.
- AnyIO Backed: Compatible with
asyncio,trio, and other AnyIO-supported event loops. - HTTP/1.1 & HTTP/2: Full support for modern HTTP standards.
- WebSocket Client: Robust WebSocket implementation.
- Server Sent Events (SSE): Easy-to-use SSE client.
- Advanced Decompression: Transparent support for deflate, gzip, zstd, and brotli.
- ASGI Support: Test ASGI 3.0 applications directly without overhead.
Install PyVelo using pip:
pip install pyveloTo include optional dependencies for extra performance (like brotli or zstd support):
pip install pyvelo[brotli,zstd]import anyio
from pyvelo import AsyncClient
async def main():
async with AsyncClient() as client:
response = await client.get('https://httpbin.org/get')
print(response.json())
anyio.run(main)Full documentation is available at pyvelo.readthedocs.io.
This project is licensed under the MIT License.