Skip to main content

hassette-client

Typed async client for the Hassette HTTP API.

import aiohttp
from hassette_client import HassetteClient

async with aiohttp.ClientSession() as session:
    client = HassetteClient(session, "http://127.0.0.1:8126", token="...")
    health = await client.get_health()

Every method returns a hassette-wire model, and every failure raises a HassetteClientError subclass. The client uses the aiohttp.ClientSession you pass in and never opens or closes one. Responses parse leniently, so the client keeps working against a newer server.

Full guide: Call the API from Python.

This package is released in lockstep with hassette and hassette-wire.

Metadata

Release files for hassette-client 0.57.0

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

Source distribution (sdist)

Source distribution for hassette-client 0.57.0
File Size Uploaded
hassette_client-0.57.0.tar.gz 18.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hassette-client 0.57.0
File Interpreter ABI Platform
hassette_client-0.57.0-py3-none-any.whl Python 3 none any Details

Total release size: 40.3 kB

Release files / hassette_client-0.57.0.tar.gz

Download URL hassette_client-0.57.0.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c393a3d002567adc7f28876ea30825aadca28578b775235f4dfaf29fb6f3b45e
BLAKE2b-256 checksum
How to use checksums
f97d61cffbe716341ffb6e373256984f2ee8cc77167a832fc176e62dff283965
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 / hassette_client-0.57.0-py3-none-any.whl

Download URL hassette_client-0.57.0-py3-none-any.whl
Size 21.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e998df7248386dd2d73a1ac28a467bc5820a40e59248891755becb902ed94aa9
BLAKE2b-256 checksum
How to use checksums
9b963b668f23875370f44e1b0431fe30a7216d7d67fca711baab0f89c5849443
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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

This release

0.57.0 This release

2 release files

0.55.0

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