Metadata-Version: 2.4 Name: hass-nabucasa Version: 2.2.0 Summary: Home Assistant cloud integration by Nabu Casa, Inc. Author-email: "Nabu Casa, Inc." License-Expression: GPL-3.0-only Platform: any Classifier: Intended Audience :: End Users/Desktop Classifier: Intended Audience :: Developers Classifier: Operating System :: OS Independent Classifier: Topic :: Internet :: Proxy Servers Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: Development Status :: 5 - Production/Stable Classifier: Programming Language :: Python :: 3.14 Requires-Python: >=3.14 Description-Content-Type: text/markdown License-File: LICENSE Requires-Dist: acme==5.4.0 Requires-Dist: aiohttp>=3.6.1 Requires-Dist: atomicwrites-homeassistant==1.4.1 Requires-Dist: attrs>=19.3 Requires-Dist: ciso8601>=2.3.0 Requires-Dist: cryptography>=42.0.0 Requires-Dist: grpcio<2,>=1.75.1 Requires-Dist: icmplib<4,>=3 Requires-Dist: josepy<3,>=2 Requires-Dist: pycognito==2024.5.1 Requires-Dist: PyJWT>=2.8.0 Requires-Dist: requests<3,>=2.0 Requires-Dist: snitun==0.45.1 Requires-Dist: voluptuous>=0.15 Requires-Dist: webrtc-models<1.0.0 Requires-Dist: yarl<2,>=1.20 Requires-Dist: sentence-stream<2,>=1.2.0 Provides-Extra: test Requires-Dist: codespell==2.4.2; extra == "test" Requires-Dist: freezegun==1.5.5; extra == "test" Requires-Dist: mypy==1.19.1; extra == "test" Requires-Dist: pre-commit==4.5.1; extra == "test" Requires-Dist: pre-commit-hooks==6.0.0; extra == "test" Requires-Dist: pylint==4.0.5; extra == "test" Requires-Dist: pytest-aiohttp==1.1.0; extra == "test" Requires-Dist: pytest-socket==0.7.0; extra == "test" Requires-Dist: pytest-timeout==2.4.0; extra == "test" Requires-Dist: pytest==9.0.2; extra == "test" Requires-Dist: ruff==0.15.6; extra == "test" Requires-Dist: types_atomicwrites==1.4.5.1; extra == "test" Requires-Dist: types_pyOpenSSL==24.1.0.20240722; extra == "test" Requires-Dist: types-requests==2.32.4.20260107; extra == "test" Requires-Dist: xmltodict==1.0.4; extra == "test" Requires-Dist: syrupy==5.1.0; extra == "test" Requires-Dist: tomli==2.4.0; extra == "test" Dynamic: license-file # 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](https://www.github.com/NabuCasa/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 ```bash 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][releases]. 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 ```bash scripts/test ``` ### Code quality This project uses pre-commit hooks for code quality checks: ```bash scripts/lint ``` ### Updating voice data To update the voice data with the latest from Azure: ```bash 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](https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/samples/js/browser/server) and visiting `http://localhost:3001/api/get-speech-token`. [releases]: https://github.com/NabuCasa/hass-nabucasa/releases [PyPI]: https://pypi.org/project/hass-nabucasa/