A package Bunalab-System
Project description
BunalabPy
Install BunalabPy
pip install BunalabPy
Exmaple BunalabPy
import BunalabPy.function as bunlab
# config
bs = bunlab.Service(username,password)
# send mqtt
bs.SendMQ(message)
# send save data in db
bs.SendDB(table,tag,value)
# send plot map
bs.SendMap(table,lat,longt,tag,value)
-
Function
bunlab.Service(username,password)used toLoginis Connect Bunalab.prameter about:usernameis username account for Bunalab.passwordis password account for Bunalab. -
Function
bs.SendMQ(message)afterLoginis Connect Bunalab. This is function send message to device by Mqtt Bunalab.prameter about:messageis value for data send to device. -
Function
bs.SendDB(table,tag,value)afterLoginis Connect Bunalab. This is function send message to device by Mqtt but save data in databases for Bunalab system.prameter about:tableis table name for database.tagis idendifind for data name for device.valueis value for sensor device at save data. -
Function
bs.SendMap(table,lat,longt,tag,value)afterLoginis Connect Bunalab. This is function send message to device by Mqtt but save data in databases for Bunalab system. can it data plot map in Bunalab system.prameter about:tableis table name for database.latis lati at location.longtis logti at location.tagis idendifind for data name for device.valueis value for sensor device at save data at location.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file BunalabPy-0.2.tar.gz.
File metadata
- Download URL: BunalabPy-0.2.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a29afb30bcb3c31554bdd010dad54d563f7b1264c09229db2c5cc903bc679b51
|
|
| MD5 |
d761d9b7030e2fa6a6dc5d9e4ff41cfb
|
|
| BLAKE2b-256 |
92c640b1e029741ad0371ac0ca858b995a33d4a40d1b9ba966589ab03a70781b
|
File details
Details for the file BunalabPy-0.2-py3-none-any.whl.
File metadata
- Download URL: BunalabPy-0.2-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5f27de802f6b35f8db3656b95e84c2d89a68a86b726e46ffc59cb9c756946df
|
|
| MD5 |
dad1249385ccb937cc321365653dbfa9
|
|
| BLAKE2b-256 |
41b0511c1520d5c69958925154e26c607c9c4feee0fcb2710eb567159276ae00
|