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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pywreck-0.5.2.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for pywreck-0.5.2.tar.gz
Algorithm Hash digest
SHA256 cb88f1a6cdd3c4f335802b2cd49a559f6cdf3c0fe0b790cccff5e801cb48e9e5
MD5 8a6d9d7ff30034e07dd5f9654395a745
BLAKE2b-256 d4683bf7919f3e57e758ea039bb4e0ad01d9359b6f42adfe59117e542d0c9ae5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywreck-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for pywreck-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e20f542135a7e12f8f9e5c2313dc6024906108a5df0596a368d53844f7596b6a
MD5 e2e20d492b1fc793d47c75345e008253
BLAKE2b-256 f4e467bf84aa54fa904e9b67b5f3a043e31132392b445e152f81521a7a671c7c

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