Skip to content

Async HTTP client for Python, powered by AnyIO, supporting multiple async backends effortlessly.

License

Notifications You must be signed in to change notification settings

utachicodes/PyVelo

Repository files navigation

PyVelo

Build Status Code Coverage Documentation Status PyPI Supported Python Versions

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.


Features

  • 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.

Installation

Install PyVelo using pip:

pip install pyvelo

To include optional dependencies for extra performance (like brotli or zstd support):

pip install pyvelo[brotli,zstd]

Quick Start

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)

Documentation

Full documentation is available at pyvelo.readthedocs.io.

License

This project is licensed under the MIT License.

About

Async HTTP client for Python, powered by AnyIO, supporting multiple async backends effortlessly.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published