Skip to main content

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 to Login is Connect Bunalab. prameter about:

    username is username account for Bunalab.

    password is password account for Bunalab.

  • Function bs.SendMQ(message) after Login is Connect Bunalab. This is function send message to device by Mqtt Bunalab. prameter about:

    message is value for data send to device.

  • Function bs.SendDB(table,tag,value) after Login is Connect Bunalab. This is function send message to device by Mqtt but save data in databases for Bunalab system. prameter about:

    table is table name for database.

    tag is idendifind for data name for device.

    value is value for sensor device at save data.

  • Function bs.SendMap(table,lat,longt,tag,value) after Login is 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:

    table is table name for database.

    lat is lati at location.

    longt is logti at location.

    tag is idendifind for data name for device.

    value is value for sensor device at save data at location.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

BunalabPy-0.2.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

BunalabPy-0.2-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

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

Hashes for BunalabPy-0.2.tar.gz
Algorithm Hash digest
SHA256 a29afb30bcb3c31554bdd010dad54d563f7b1264c09229db2c5cc903bc679b51
MD5 d761d9b7030e2fa6a6dc5d9e4ff41cfb
BLAKE2b-256 92c640b1e029741ad0371ac0ca858b995a33d4a40d1b9ba966589ab03a70781b

See more details on using hashes here.

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

Hashes for BunalabPy-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e5f27de802f6b35f8db3656b95e84c2d89a68a86b726e46ffc59cb9c756946df
MD5 dad1249385ccb937cc321365653dbfa9
BLAKE2b-256 41b0511c1520d5c69958925154e26c607c9c4feee0fcb2710eb567159276ae00

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page