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'
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
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for pyhaversion-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5b81004da5cad3ce28c9c3e86c55c4176935ef6a450e62b8d98cb3de20cee86 |
|
MD5 | 6b87bad02ad99e956da17a846d754b75 |
|
BLAKE2b-256 | e31edcef35ed5cb568c6b8113c98e7662a17d34788c18cf767e2f409f9c77498 |