Skip to main content

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.

  1. aiohttp_client_request
  2. aiosonic_request
  3. asks_request
  4. blacksheep_client_request
  5. curl_cffi_request
  6. http_client_request
  7. httpcore_request
  8. httpx_request
  9. hyper_request
  10. pycurl_request
  11. python-urlopen
  12. requests_request
  13. tornado_client_request
  14. 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.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-http_request 0.1.7.1
File Size Uploaded Provenance Actions
python_http_request-0.1.7.1.tar.gz 9.2 kB Without provenance Details for python_http_request-0.1.7.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for python-http_request 0.1.7.1
File Interpreter ABI Platform Actions
python_http_request-0.1.7.1-py3-none-any.whl Python 3 none any Details for python_http_request-0.1.7.1-py3-none-any.whl

Total release size: 20.1 kB

Release files / python_http_request-0.1.7.1.tar.gz

Download URL python_http_request-0.1.7.1.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ade9376d737ce7df6048defb5839803979130eb9304bd80321641f31534d95f0
BLAKE2b-256 checksum
How to use checksums
5b780c27be4c93b8484e45036e2f8494be974d8e465483f0dd9e3aa76ece3586
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.7.1-py3-none-any.whl

Download URL python_http_request-0.1.7.1-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2c891e437f133b4605834bbb95d9dc339f5d727e63b58d42b0cb40fcb0f8659
BLAKE2b-256 checksum
How to use checksums
e2b320597e8f548c41f78a693eef6bcc8257c4cdcc9dd10cf117426e5d9bbcf3
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

Security for python-http_request 0.1.7.1

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.

Release history Release notifications | RSS feed

This release

0.1.7.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page