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'
image = 'default'

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

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

Valid options for source

  • pip
  • docker
  • hassio

Valid options for branch

  • stable
  • beta

Optional valid options for image (hassio)

  • default
  • qemux86
  • qemux86-64
  • qemuarm
  • qemuarm-64
  • intel-nuc
  • raspberrypi
  • raspberrypi2
  • raspberrypi3
  • raspberrypi3-64

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.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for pyhaversion-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f5b81004da5cad3ce28c9c3e86c55c4176935ef6a450e62b8d98cb3de20cee86
MD5 6b87bad02ad99e956da17a846d754b75
BLAKE2b-256 e31edcef35ed5cb568c6b8113c98e7662a17d34788c18cf767e2f409f9c77498

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