Skip to main content

hass-nabucasa

hass-nabucasa is the underlying library that enables Home Assistant to connect to and utilize Nabu Casa cloud services.

This library handles a range of cloud-related functionality including:

  • Authentication and account management
  • Remote UI connections via SniTun
  • API interactions with Nabu Casa cloud services
  • Voice processing capabilities
  • ACME certificate management
  • Google Assistant and Alexa integration
  • Cloud webhook management
  • Cloud file storage and management

Installation

python3 -m pip install hass-nabucasa==x.y.z

Release process

hass-nabucasa is released through GitHub and published to PyPI. The release process is automated and triggered through the GitHub UI:

  1. Go to the GitHub Releases page.
  2. Find the draft release created by release-drafter.
  3. Verify that the tag and name are the expected ones (e.g., 1.2.3)
  4. Publish the release (and set it as the latest release)

Once published, GitHub Actions workflows automatically:

  • Build the package
  • Publish to PyPI

There is no need to manually update version information in the codebase.

Development and contributing

Development environment

We recommend using Visual Studio Code with the official Dev Container extension for development. This provides a consistent, pre-configured environment with all dependencies installed.

This will automatically set up a development environment with all required dependencies.

Running tests

scripts/test

Code quality

This project uses pre-commit hooks for code quality checks:

scripts/lint

Updating voice data

To update the voice data with the latest from Azure:

python3 -m scripts.update_voice_data

You will need to fetch an Azure TTS token. You can generate one by running the sample key generator server and visiting http://localhost:3001/api/get-speech-token.

Metadata

Release files for hass-nabucasa 2.9.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 hass-nabucasa 2.9.1
File Size Uploaded Provenance Actions
hass_nabucasa-2.9.1.tar.gz 154.8 kB With provenance Details for hass_nabucasa-2.9.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hass-nabucasa 2.9.1
File Interpreter ABI Platform Actions
hass_nabucasa-2.9.1-py3-none-any.whl Python 3 none any Details for hass_nabucasa-2.9.1-py3-none-any.whl

Total release size: 259.2 kB

Release files / hass_nabucasa-2.9.1.tar.gz

Download URL hass_nabucasa-2.9.1.tar.gz
Size 154.8 kB
Tags Source
SHA-256 checksum
How to use checksums
41f640fbba4a82da2b7de68902af7d8fa631ff9a04008c901a8ad12dd3b68173
BLAKE2b-256 checksum
How to use checksums
809fbe99c6dd66dbe1ffb77f7f902915322c0147e393ee61cb3c1de6324f91f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 / hass_nabucasa-2.9.1-py3-none-any.whl

Download URL hass_nabucasa-2.9.1-py3-none-any.whl
Size 104.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
32fce895689b58933db91f45b655ba54f1362e7995ffeac9bd48c12ea1edca9c
BLAKE2b-256 checksum
How to use checksums
b6064153f36ebacc8ff058d55eb8360c8cf13d4cfab008c13c6636c7f6074e9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 hass-nabucasa 2.9.1

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 hass_nabucasa-2.9.1.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.

Release history Release notifications | RSS feed

This release

2.9.1 This release

2 release files Full provenance

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