hass-nabucasa
Home Assistant cloud integration by Nabu Casa, Inc.
What it is and what it does
hass-nabucasa is Home Assistant's official cloud integration library, maintained by Nabu Casa, Inc. It abstracts the complexity of connecting Home Assistant instances to Nabu Casa's cloud platform, handling authentication, remote UI access via SniTun, ACME certificate lifecycle, and cloud-based features like voice processing and smart assistant integrations. The library manages API interactions, webhook routing, and file storage on the cloud backend.
The package is built on a substantial dependency graph including aiohttp for async HTTP, cryptography for TLS and certificate handling, grpcio for service communication, and specialized libraries like snitun for remote tunneling and pycognito for cloud authentication. It is intended for Home Assistant deployments that need cloud connectivity and is not a standalone tool for general use.
Use it for:
- Enable remote access to Home Assistant instances from outside the home network via Nabu Casa cloud tunneling.
- Integrate Home Assistant with Google Assistant and Alexa voice services through cloud-managed authentication.
- Manage ACME certificate renewal and TLS lifecycle for Home Assistant's web interface.
- Route webhooks and cloud events to local Home Assistant instances.
- Store and retrieve files in cloud storage linked to a Home Assistant account.
- Authenticate Home Assistant users against Nabu Casa cloud accounts.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
hass-nabucasa is a Python library that provides Home Assistant with cloud connectivity, authentication, and integration with Nabu Casa cloud services including remote access, voice processing, and smart home assistant integrations.
Yes, if you run Home Assistant and want cloud connectivity. The package is production-stable, actively maintained, has no known vulnerabilities, and carries low install friction. The GPL-3.0-only copyleft license is appropriate for Home Assistant's open-source ecosystem. The Python 3.14 requirement is unusually strict and should be verified against your Home Assistant version before installing.
Install
hass-nabucasa on PyPI
pip
pip install hass-nabucasauv
uv add hass-nabucasapoetry
poetry add hass-nabucasaInstalling hass-nabucasa
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance status and no known vulnerabilities. Requires Python 3.14 or later, which is a current-version constraint that may limit compatibility with older Home Assistant deployments.
License in practice
GPL-3.0-only copyleft license requires that any derivative work or distribution must also be open-source under GPL-3.0-only terms. This is a strong copyleft obligation suitable for open-source projects but may restrict use in proprietary applications.
Quickstart
pip install hass-nabucasa==2.2.0
import hass_nabucasa
# Typically imported and used internally by Home Assistant,
# not directly by end-user code.
Requires Python 3.14 or later; intended for use within Home Assistant, not as a standalone library for direct application development.
Verify before relying
- Whether the Python 3.14 requirement reflects actual runtime needs or is a documentation artifact, given the package's production-stable status and release history since 2019.
- Specific version constraints or compatibility ranges for the 17 runtime dependencies, which could affect integration with existing Home Assistant installations.
Package facts
| License | GPL-3.0-only (copyleft) |
| Python support | capped below the current Python release (>=3.14) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 17 — acme, aiohttp, atomicwrites-homeassistant, attrs, ciso8601, cryptography, grpcio, icmplib, josepy, pycognito, PyJWT, requests, snitun, voluptuous, webrtc-models, yarl, sentence-stream |
| Maintenance | actively maintained — 144 days since the last release |
| First released | |
| Downloads | 720,852/month — #5,233 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: hass_nabucasa-2.2.0-py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
ha-mcpProvides a Model Context Protocol (MCP) server…
permissive · top 15,000 on PyPI
ha-mcp-devAn MCP server that lets AI assistants control…
permissive · top 15,000 on PyPI
home-assistant-intentsProvides intent recognition data and utilities…
permissive · top 15,000 on PyPI
homeassistantHome Assistant is an open-source home…
permissive · top 5,000 on PyPI
home-assistant-frontendProvides the web-based user interface for Home…
permissive · top 15,000 on PyPI
voip-utilsProvides Voice over IP utilities for Home…
permissive · top 15,000 on PyPI
aiohasupervisorAsynchronous Python client library for…
permissive · top 15,000 on PyPI
hassilParses natural language sentences into…
permissive · top 15,000 on PyPI
hass-web-proxy-libProvides base classes and utilities for Home…
permissive · top 15,000 on PyPI
livekit-plugins-cartesiaIntegrates Cartesia's voice AI services…
permissive · top 5,000 on PyPI