Skip to main content

standard-http

standard-http adds an asynchronous HTTP client and authentication helpers to the standard Python library. Install the package to use the std.http import namespace:

From this repository, install the core and HTTP projects together:

python -m pip install . packages/standard-http

After the add-on is published, install the distributions with python -m pip install standard standard-http.

from std.http import AuthConfig, BearerAuth, HttpClient, RetryConfig

client = HttpClient(
    base_url="https://api.example.com/v1/",
    auth_config=AuthConfig(auth=BearerAuth("your-token")),
    retries=RetryConfig(max_attempts=3),
)

async with client:
    response = await client.get("users", params={"active": "true"})
    response.raise_for_status()
    print(response.json())

The package also provides BasicAuth, ApiKeyAuth, AuthBase, AuthConfig, and Pydantic response helpers such as get_model. See the HTTP guide for retry, timeout, token refresh, error, transport injection, and lifecycle behavior.

The wheel contains only std.http; it does not bundle FastAPI, AWS, or other integration modules.

Metadata

Release files for standard-http 0.2.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 standard-http 0.2.3
File Size Uploaded
standard_http-0.2.3.tar.gz 8.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for standard-http 0.2.3
File Interpreter ABI Platform
standard_http-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 17.5 kB

Release files / standard_http-0.2.3.tar.gz

Download URL standard_http-0.2.3.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d0b3d23b3f507567a78b75a796c8b638c133169ac15f704c3d9ca69dee75b714
BLAKE2b-256 checksum
How to use checksums
e48fe8b85c636b0564b7248bdb8df2562e021293149d651b3535c4e693801c43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release files / standard_http-0.2.3-py3-none-any.whl

Download URL standard_http-0.2.3-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5f49a1dffa1862c99013a0e8714994399ad6d66d7a435aa0a4b39aab0e74809
BLAKE2b-256 checksum
How to use checksums
a3bcfbafbab67ff66330b5592a73940cf5a4d1671271b819b9b5e916ba90017e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.4

2 release files

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

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