dims-client-0.0.4
توضیحات
Raspberry Pi Client Registration
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | dims-client-0.0.4 |
| نام | dims-client |
| نسخه کتابخانه | 0.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jonathas |
| ایمیل نویسنده | jhsalves@gmail.com |
| آدرس صفحه اصلی | https://uiot.org/ |
| آدرس اینترنتی | https://pypi.org/project/dims-client/ |
| مجوز | - |
# UIoT Devices - Dims Client Library
The objective of this library is to enable users to create *Clients* and *Services* that follow UIoT's Ontology of sending and managing message flows
All the protocols included as a means of communication in this library follow the same principles:
* Create a *Device*
* Create a *Service*
* Send *Data*
# Basic Usage
* Send *Data*
```
from dims_client import DimsClient
config = {'DEFAULT_DIMS_URI': 'http://0.0.0.0:5000'}
dims_client = DimsClient(
config=config
)
returned = dims_client.send_data(<data_to_send>)
```
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
| - | uuid |
| - | geocoder |
| - | argparse |
نحوه نصب
نصب پکیج whl dims-client-0.0.4:
pip install dims-client-0.0.4.whl
نصب پکیج tar.gz dims-client-0.0.4:
pip install dims-client-0.0.4.tar.gz