Metadata-Version: 2.1
Name: assets2036py
Version: 0.1.0
Summary: helper library to easily implement assets2036
Home-page: https://github.com/boschresearch/assets2036spy
Author: Daniel Ewert (CR/APA3 G6/BD-BBI)
Author-email: Daniel.Ewert@de.bosch.com
License: BIOS
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: NOTICE
Requires-Dist: jsonschema
Requires-Dist: paho-mqtt
Requires-Dist: python-dateutil

# Assets2036Py

Helper lib for consuming and providing assets2036 assets.

## Usage
```python
from assets2036py import AssetManager

# for local MQTT broker with default port
mgr = AssetManager("localhost",1883,"my_namespace","endpoint_name")

my_lamp = mgr.create_asset("my_lamp","https://raw.githubusercontent.com/boschresearch/assets2036-submodels/master/light.json")

my_lamp.light.light_on.value = True
```
For further examples take a look at the [tests](tests/test_asset.py).
