pyhaversion 
A python module to the newest version number of Home Assistant.
Install
pip install pyhaversion
Example usage
import pyhaversion
source = 'pip'
branch = 'stable'
image = 'default' # Optional (Only used for Hassio)
result = pyhaversion.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-1.0.1.tar.gz
(2.6 kB
view details)
File details
Details for the file pyhaversion-1.0.1.tar.gz.
File metadata
- Download URL: pyhaversion-1.0.1.tar.gz
- Upload date:
- Size: 2.6 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c85a83053634a21529f398e2e53d6bbdcc0e4557393a4bfb2a6d09c75bdf6d89
|
|
| MD5 |
48d1de6023c2f4492a9a3c5f2e11db35
|
|
| BLAKE2b-256 |
87e5d6abd43d03566b1955733547d3c665cc1de5c301da6b269afd9250ed3170
|