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:
...
Metadata
Release files for python-http_request 0.1.6.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.6.2.tar.gz | 9.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_http_request-0.1.6.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.9 kB
Release files / python_http_request-0.1.6.2.tar.gz
| Download URL | python_http_request-0.1.6.2.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ceaa430cee0a73d858fb4dc470e65dc681e0a46ffa3224a26aa3c6658b4a1318
|
|
BLAKE2b-256 checksum How to use checksums |
0c4e9bc01fa5bbe398810607ea2e57ed7d9ec3e3e1d2fd2aaf98b88ff89ef49c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.5 Darwin/25.0.0
|
Release files / python_http_request-0.1.6.2-py3-none-any.whl
| Download URL | python_http_request-0.1.6.2-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7d4d49a987e483fa1857261474a1fab4159f296b10eeeaafc4169e2a810f73c2
|
|
BLAKE2b-256 checksum How to use checksums |
9d4a0bbd42e4408bfb050c35c27a3b34ddc18038829decdcae8b7228257db8ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.5 Darwin/25.0.0
|