Simple async HTTP/1.1 client
Project description
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
Release history Release notifications | RSS feed
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.3.0.tar.gz
(15.8 kB
view details)
Built Distribution
File details
Details for the file pywreck-0.3.0.tar.gz
.
File metadata
- Download URL: pywreck-0.3.0.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0960de704b58e58e540ceb867d51afb9c91b9f7886135f15fb1ae952afd20500 |
|
MD5 | 94eaf6d43584ef247757feff43a09135 |
|
BLAKE2b-256 | d4d254726f46a8ebbba3b7fd4765f91c0ea0c7defb84010e17fbb5ed6e9991f3 |
File details
Details for the file pywreck-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: pywreck-0.3.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae9d7985c67f3d570e928fa9c9c4e4c02ebbd9f2ff87db9f481b258bbd9fd755 |
|
MD5 | e602e4dbc08932ecc99823d319e0236c |
|
BLAKE2b-256 | 25646ee3cae005210bc1e7809be9851d800fd7abdf5eb73ce5b31c8f9cb94778 |