HTTQ
HTTQ is a fast and lightweight HTTP client written in pure Python and distributed under the Apache 2 license. It is contained within a single file module with no external dependencies so it can be easily dropped into existing projects.
The HTTP class has separate methods for sending requests and receiving responses. This decoupling allows multiple requests to be pipelined on a single connection prior to the corresponding responses being read.
Example Code
Open an HTTP connection to http.io on port 8080, send a GET request to /hello and obtain the response content:
>>> from httq import HTTP
>>> http = HTTP(b"httq.io:8080")
>>> print(http.get(b"/hello").response().content)
hello, world
Get the same content using a full URL on a single-use connection:
>>> from httq import get
>>> print(get(b"http://httq.io:8080/hello").content)
hello, world
Metadata
Release files for httq 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| httq-0.0.2.tar.gz | 10.1 kB | Without provenance | Details for httq-0.0.2.tar.gz |
Release files / httq-0.0.2.tar.gz
| Download URL | httq-0.0.2.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
867444a682a4e0c87271a48d0e87725dd5a711f8ebb9876dba2493b5e73a1947
|
|
BLAKE2b-256 checksum How to use checksums |
3879a805e7b94122d85646486f10e7064386db7d2c552ed52319f82638c1fa23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for httq 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.