assets2036py-0.0.14
توضیحات
helper library to easily implement assets2036
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | assets2036py-0.0.14 |
| نام | assets2036py |
| نسخه کتابخانه | 0.0.14 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Daniel Ewert (CR/APA3 G6/BD-BBI) |
| ایمیل نویسنده | Daniel.Ewert@de.bosch.com |
| آدرس صفحه اصلی | https://github.com/boschresearch/assets2036-submodels |
| آدرس اینترنتی | https://pypi.org/project/assets2036py/ |
| مجوز | BIOS |
# 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).
نیازمندی
| مقدار | نام |
|---|---|
| - | jsonschema |
| - | paho-mqtt |
| - | python-dateutil |
نحوه نصب
نصب پکیج whl assets2036py-0.0.14:
pip install assets2036py-0.0.14.whl
نصب پکیج tar.gz assets2036py-0.0.14:
pip install assets2036py-0.0.14.tar.gz