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.6.3

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.6.3
File Size Uploaded Provenance Actions
python_http_request-0.1.6.3.tar.gz 9.1 kB Without provenance Details for python_http_request-0.1.6.3.tar.gz

Built distribution (wheel)

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

Total release size: 19.9 kB

Release files / python_http_request-0.1.6.3.tar.gz

Download URL python_http_request-0.1.6.3.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
25c954861cd69cd81efe62ef45e836bbbff827d362abc9ab21d7b97ca412c4fd
BLAKE2b-256 checksum
How to use checksums
6da6246b65d807656499e77b7bbcf846e445cd4d401a8769e1bb0008185f14b3
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.3-py3-none-any.whl

Download URL python_http_request-0.1.6.3-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
03bda2e01b55c564833b87dc48218f32381d3aed55bc38f8434282c4d119d1a1
BLAKE2b-256 checksum
How to use checksums
a9d7908d3a2b7476033e6123ca9f2653436ff2acf957ebdfe8fb7a0d27f1df6d
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.6.3

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.6.3 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