pyhaversion
Get the latest Home Assistant version from various sources.
What it is and what it does
pyhaversion is a Python library that retrieves the latest Home Assistant version information from various sources. It uses aiohttp for async HTTP requests and awesomeversion for version handling, making it suitable for applications that need to check for Home Assistant updates without blocking.
The package is designed for developers integrating Home Assistant version-checking into tools, dashboards, or automation workflows. It abstracts away the complexity of querying multiple version sources, presenting a unified interface for fetching current release information.
Use it for:
- Check for Home Assistant updates in a monitoring dashboard or management tool
- Automate Home Assistant deployment pipelines by querying the latest available version
- Build a bot or notification system that alerts users when new Home Assistant releases are available
- Integrate version checking into Home Assistant companion applications or add-ons
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Fetches the latest Home Assistant version information from multiple sources via async HTTP requests.
Yes, if you need to programmatically fetch Home Assistant version information. The package has low install friction, permissive licensing, no known vulnerabilities, and active maintenance. The 794-day gap since the last release is notable but the repository shows recent commits, suggesting the maintainer is still engaged. Verify that the supported version sources match your needs before committing.
Install
pyhaversion on PyPI
pip
pip install pyhaversionuv
uv add pyhaversionpoetry
poetry add pyhaversionInstalling pyhaversion
Before you install
Low friction install with only two runtime dependencies (aiohttp and awesomeversion). Actively maintained as of 2026-08-09 with recent commits, though 794 days have passed since the last release.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal legal constraints.
Quickstart
pip install pyhaversion
import aiohttp
from pyhaversion import LatestVersionFetcher
# Requires async context; see example.py in repository for full usage
Requires Python 3.12 or later (minimum version enforced by requires_python constraint)
Verify before relying
- Which specific Home Assistant version sources are supported (e.g., GitHub releases, official API, etc.)
- Whether the package handles version comparison or only retrieval
- Rate limiting or caching behavior when querying multiple sources
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.12) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — aiohttp, awesomeversion |
| Maintenance | actively maintained — 794 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 73,930/month — #14,908 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyhaversion-24.6.1-py3-none-any.whl
Keywords: homeassistant, version, update
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
awesomeversionParse and compare version strings across…
permissive · top 5,000 on PyPI
huggingfaceThis package provides a unified interface to…
permissive · top 15,000 on PyPI
aiohasupervisorAsynchronous Python client library for…
permissive · top 15,000 on PyPI
aiogithubapiAsynchronous Python client library for…
permissive · top 15,000 on PyPI
ha-garminPython client for the Garmin Connect API with…
permissive · top 15,000 on PyPI
homeassistant-stubsProvides PEP 484 type stubs for Home Assistant…
permissive · top 15,000 on PyPI
pyvesyncAsynchronous Python library to discover,…
permissive · top 15,000 on PyPI
pyairnowA thin async Python client for the EPA AirNow…
permissive · top 15,000 on PyPI
ha-ffmpegProvides an asyncio-based Python interface to…
permissive · top 15,000 on PyPI
airthings-cloudA Python library for communicating with…
permissive · top 15,000 on PyPI