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.68.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.68.0
File Size Uploaded Provenance Actions
hassette_client-0.68.0.tar.gz 24.9 kB With provenance Details for hassette_client-0.68.0.tar.gz

Built distribution (wheel)

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

Total release size: 53.8 kB

Release files / hassette_client-0.68.0.tar.gz

Download URL hassette_client-0.68.0.tar.gz
Size 24.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0c7bfeda82096bfc177656102699fffce91c377c7ebd96476a58502b1332b0ca
BLAKE2b-256 checksum
How to use checksums
ff9ab35b3c8c1d89c4febada896b9c474d530ace394725b89e5e2997e3d15d24
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 Nov 30, 2026.

Transparency log

Release files / hassette_client-0.68.0-py3-none-any.whl

Download URL hassette_client-0.68.0-py3-none-any.whl
Size 28.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2abb8eab912d68e6d490b726c22c04ed5eb3a88822ac6f3c4f65bdcb9586eca1
BLAKE2b-256 checksum
How to use checksums
1c88f6ad42d6c34edc3e900ac0c1c7500f406b360c4d959d68b21a64bf36004d
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 Nov 30, 2026.

Transparency log

Security for hassette-client 0.68.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hassette_client-0.68.0.tar.gz

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 Nov 30, 2026.

Transparency log

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.

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