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.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 standard-http 0.2.1
File Size Uploaded
standard_http-0.2.1.tar.gz 8.0 kB Details

Built distribution (wheel)

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

Total release size: 17.5 kB

Release files / standard_http-0.2.1.tar.gz

Download URL standard_http-0.2.1.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3c1393951f809464d9791f18da8346e36bcb37917375bde829d8cfb9dd77c215
BLAKE2b-256 checksum
How to use checksums
415ba2c3dfd875099e6ab384ee9fdebbd41b615358699a4be4f09c4155d5ca10
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.1-py3-none-any.whl

Download URL standard_http-0.2.1-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68547ae873fe48e2e7b2ae2e8905348aaefba061d15a047646b5ea9ba0c62f72
BLAKE2b-256 checksum
How to use checksums
3dc3f752902f0b884ba110c299bd5451e846fbdcc66f5f407aeb5635af009e10
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

0.2.3

2 release files

0.2.2

2 release files

This release

0.2.1 This release

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