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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pywreck-0.2.2.tar.gz.

File metadata

  • Download URL: pywreck-0.2.2.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.2.2.tar.gz
Algorithm Hash digest
SHA256 81cd3349352e5473bc5a00a3637abda5df55cb6d228b9fd0467c34fc010ccce2
MD5 ddcb9134cc922408b8d5b7db867eb90b
BLAKE2b-256 4234071acbf3aac5acd3b077fcc5c8ff089270c3a4b09201653a3a0d8ca0180f

See more details on using hashes here.

File details

Details for the file pywreck-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: pywreck-0.2.2-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.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d2a5962cc10f0718f56fa32b87108aa7eb84dfd4929627741c2ee86325435aac
MD5 4760eb0db8a41daf0c1b49fcef45e97b
BLAKE2b-256 7ba0eba1b3aef2232d9d678bcb30e1be711a57ab7ca9d68c17679d12c7772ccd

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