Metadata-Version: 2.1
Name: pyhaversion
Version: 0.0.1
Summary: UNKNOWN
Home-page: https://gitlab.com/ludeeus/pyhaversion
Author: Joakim Sorensen
Author-email: joasoe@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# 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

```bash
pip install pyhaversion
```

## Example usage

```python
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

