Skip to main content

helper library to easily implement assets2036

Project description

Assets2036Py

Helper lib for consuming and providing assets2036 assets.

Usage

from assets2036 import AssetManager

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

my_lamp = mgr.createAsset("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.

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

assets2036py-0.0.13.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

assets2036py-0.0.13-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file assets2036py-0.0.13.tar.gz.

File metadata

  • Download URL: assets2036py-0.0.13.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for assets2036py-0.0.13.tar.gz
Algorithm Hash digest
SHA256 aa17549b39b48b2efb4f02adec589137e5afc30904a97121d35542313cb7d5d7
MD5 07842ab2aa5fb45c5ecea70ec83ce5df
BLAKE2b-256 3b3a61d0e181d91abad51fe2aed08ea3e0ff82269857ad09b5366730f6c5bc06

See more details on using hashes here.

File details

Details for the file assets2036py-0.0.13-py3-none-any.whl.

File metadata

  • Download URL: assets2036py-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for assets2036py-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 766f4d4e73d7cf30e89761ea06b30f6682d685924e3de5883d91ce24c630b019
MD5 dd6b50f7874b3db3c4951cdb295696aa
BLAKE2b-256 f38c092830a5efe81cafd4aac7a1cd7e85e6dbf4942ce44cb6b59cbe01dc8ff3

See more details on using hashes here.

Supported by

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