Python http request utils.
Installation
You can install from pypi
pip install -U python-http_request
Usage
import http_request
import http_request.extension
Extension
I've implemented several modules, all of which provide a request function. Their signatures are similar, so they can be used as drop-in replacements for each other.
- aiohttp_client_request
- aiosonic_request
- asks_request
- blacksheep_client_request
- curl_cffi_request
- http_client_request
- httpcore_request
- httpx_request
- hyper_request
- pycurl_request
- python-urlopen
- requests_request
- tornado_client_request
- urllib3_request
To make it more general, I've encapsulated a request function
from http_request.extension import request
You just need to implement a urlopen function pass to request, then it can be directly extended. The urlopen function signature is roughly as follows:
def urlopen[Response](
url: str,
method: str,
data=None,
headers: None | dict[str, str] = None,
**request_args,
) -> Response:
...
Release files for python-http_request 0.1.7.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 | |
|---|---|---|---|
| python_http_request-0.1.7.2.tar.gz | 9.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_http_request-0.1.7.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.2 kB
Release files / python_http_request-0.1.7.2.tar.gz
| Download URL | python_http_request-0.1.7.2.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e31173713a1c911565495370c787dac6dda744ff8e71a9fe244dfad70a8135a
|
|
BLAKE2b-256 checksum How to use checksums |
8d43d9b2c73fdba2a9e7e5850eda02f3737cca324b4ac968ac0274018e3aa026
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.13.5 Darwin/25.0.0
|
Release files / python_http_request-0.1.7.2-py3-none-any.whl
| Download URL | python_http_request-0.1.7.2-py3-none-any.whl |
|---|---|
| Size | 11.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83b7d4621c05d0034ee508955f5b623daba40bd2f72ffb3b648d0197f8e36b15
|
|
BLAKE2b-256 checksum How to use checksums |
65fbb3e3b82638ed1e706f5aaa28348c563d6494993fc9e77c68c2792384b38f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.13.5 Darwin/25.0.0
|