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.3.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

pywreck-0.3.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

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

Hashes for pywreck-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0960de704b58e58e540ceb867d51afb9c91b9f7886135f15fb1ae952afd20500
MD5 94eaf6d43584ef247757feff43a09135
BLAKE2b-256 d4d254726f46a8ebbba3b7fd4765f91c0ea0c7defb84010e17fbb5ed6e9991f3

See more details on using hashes here.

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

Hashes for pywreck-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae9d7985c67f3d570e928fa9c9c4e4c02ebbd9f2ff87db9f481b258bbd9fd755
MD5 e602e4dbc08932ecc99823d319e0236c
BLAKE2b-256 25646ee3cae005210bc1e7809be9851d800fd7abdf5eb73ce5b31c8f9cb94778

See more details on using hashes here.

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