Skip to main content

pyhaversion - A python module to the newest version number of Home Assistant

Notes

This has been tested with python 3.6
This module uses these external libraries:

  • requests

Install

pip install pyhaversion

Example usage

from pyhaversion import HAVersion

source = 'pip'
branch = 'stable'

ha_version = HAVersion()
result = ha_version.get_version_number(source, branch)

#Print results:
print('HA version: ' + result)

Valid options for source

  • pip
  • docker
  • hassio

Valid options for branch

  • stable
  • beta

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyhaversion-0.0.1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file pyhaversion-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyhaversion-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 52a61fbf133f2ff96a59adbe766b589e59f4f4f30dc9092eb015bd7642f65a08
MD5 d6430246b7c1f8869b1ed0f10ebd936c
BLAKE2b-256 a98324ba792bde32ffbce36da9ca909ccd804492c48f93de95d0b11cca4a7de3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page