Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1.26 KB

README.rst

File metadata and controls

43 lines (26 loc) · 1.26 KB

pywreck

ci coverage docs black

A small, not so great async Python HTTP client.

API documentation is available here!

This HTTP client does not implement any error / exception handling. If the server the client is talking to deviates from the HTTP spec, this code will behave in unexpected ways. Network errors? Those are unhandled too!

Install

pip install pywreck

Usage

response = await pywreck.get("www.example.com", "/")
print(response.status, response.headers, response.data)

Why?

Eh, why not? Sometimes you just need a small async HTTP client with no dependencies -- no batteries included.