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

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.2
File Size Uploaded
standard_http-0.2.2.tar.gz 8.0 kB Details

Built distribution (wheel)

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

Total release size: 17.5 kB

Release files / standard_http-0.2.2.tar.gz

Download URL standard_http-0.2.2.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6164f2c51772a654dbef34ab833fa79d1296ddd9ca727becad840908669a204c
BLAKE2b-256 checksum
How to use checksums
ee0307fe5a825e0413496f94b8a0c4379aa216244b04206e82263b8ebe83833e
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.2-py3-none-any.whl

Download URL standard_http-0.2.2-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9709ff790affd9a04afd907faf22913e87d164f48e91952712972f4afd701c77
BLAKE2b-256 checksum
How to use checksums
5c27b164d70d16043ec8c800cafd7d0e71bd5102f5fc0e2dcc89b90fc46c0416
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

This release

0.2.2 This release

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