Metadata-Version: 2.1
Name: pylacrosseview
Version: 0.1.5
Summary: Python library that allows you to use La Crosse devices that connect with La Crosse View
License: GPLv3
Author: regulad
Author-email: regulad@outlook.com
Requires-Python: >=3.8,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: PyJWT[crypto] (>=2.3.0,<3.0.0)
Requires-Dist: requests (>=2.27.1,<3.0.0)
Description-Content-Type: text/markdown

# pylacrosseview

`pylacrosseview` is a python library that allows you to use La Crosse devices that connect with La Crosse View in your python scripts.

Designed for Home Assistant.

See an example below:

```py
from logging import INFO, basicConfig
from os import environ

from pylacrosseview import *

if __name__ == "__main__":
    basicConfig(level=INFO)
    ws: WeatherStation = WeatherStation()
    ws.start(environ["LACROSSE_EMAIL"], environ["LACROSSE_PASSWORD"])
    for device in ws.devices:
        for field, values in device.states().items():
            print(f"Value of {field} on {device} is {values[-1].value} {field.unit}")
```

