Skip to main content

pyhaversion Build Status

A python module to the newest version number of Home Assistant.

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['homeassistant'])

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
  • tinker

Download files

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

Source Distribution

pyhaversion-0.1.0.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file pyhaversion-0.1.0.tar.gz.

File metadata

  • Download URL: pyhaversion-0.1.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.14

File hashes

Hashes for pyhaversion-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1c8d8ffae1efc73855390c4bffd2451378f0fbabb181c1592625c4572c2a9d50
MD5 f8fec81a2dace949f8e35b96c104098e
BLAKE2b-256 d70c466ec94b223427a11c1a8d3044eeb6df591db6d86f1c6099a4d2b8e8a3b7

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