Skip to main content

Simple async HTTP/1.1 client

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pywreck-0.5.2.tar.gz (16.2 kB view hashes)

Uploaded Source

Built Distribution

pywreck-0.5.2-py3-none-any.whl (9.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page