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.66.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.66.0
File Size Uploaded Provenance Actions
hassette_client-0.66.0.tar.gz 24.9 kB With provenance Details for hassette_client-0.66.0.tar.gz

Built distribution (wheel)

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

Total release size: 53.8 kB

Release files / hassette_client-0.66.0.tar.gz

Download URL hassette_client-0.66.0.tar.gz
Size 24.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4f10767eedb92820a1da10acd975b3ce4b55f0aeda5bfeea5929367ebebf75d8
BLAKE2b-256 checksum
How to use checksums
448edae4c88ccd52dbb5fda539962f3820fa09ee6ea62a4dafcd23e6887755db
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 23, 2026.

Transparency log

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

Download URL hassette_client-0.66.0-py3-none-any.whl
Size 28.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7f4594314cc6c05176301f485ccfa3dfd522921c8d19e821965166a09ff25bd
BLAKE2b-256 checksum
How to use checksums
eac8bbf1e4a692711de97831ccc3340dfa0b2afb84f68f700272318e08765c30
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 23, 2026.

Transparency log

Security for hassette-client 0.66.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.66.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 23, 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