Skip to main content

No project description provided

Project description

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

Project details


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

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

Uploaded Python 3

Supported by

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