Simple async HTTP/1.1 client
Project description
A small, not so great async Python HTTP client.
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!
Usage
import asyncio
import pywreck
async def main():
response = await pywreck.get("www.example.com", "/")
print(response)
asyncio.run(main())
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.1.1.tar.gz
(12.7 kB
view details)
Built Distribution
File details
Details for the file pywreck-0.1.1.tar.gz
.
File metadata
- Download URL: pywreck-0.1.1.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0f66102911d794bc4c3be65d426f516e4bf85fc81eb7eb4be9e72781950374f |
|
MD5 | 018ce224b9c01552738419487d12788e |
|
BLAKE2b-256 | 6f95b50ff7872b77f52279078841d80f661d2710a1228df40bfabfcf7d7d4414 |
File details
Details for the file pywreck-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: pywreck-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3418428bf2f59adb73174c674ea45814ea80199bf906f73f757bd958bb789874 |
|
MD5 | 39dc1426347a9c2ddab3dfbabc578b8d |
|
BLAKE2b-256 | 3742de215673707aa65d1a877c9a9c6f3bfa50ccfa01893b4e38e2eeb1561a33 |