Skip to main content

helper library to easily implement assets2036

Project description

Assets2036Py

Helper lib for consuming and providing assets2036 assets.

Usage

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.

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.1.0.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

assets2036py-0.1.0-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: assets2036py-0.1.0.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for assets2036py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3453b83b045d2ddf35d5e91490e47f753b2ea9ca0f3bb49657d9dfb0ad50f983
MD5 0ba739bdc8243d824797a1c828be2f24
BLAKE2b-256 a7ab4a73b822f27f339a885c382972163a3737a8ede826577888c64ab5961807

See more details on using hashes here.

File details

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

File metadata

  • Download URL: assets2036py-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for assets2036py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 013aa8f9641c48473d8a223a58afc2649d5e8f7ff2c168cb3db6c2951e08fc3b
MD5 7c7cf7173fa04aee562d0467034479d6
BLAKE2b-256 8760f9a96ab0c175f9fe19ebaa2d4011e253e17183c2ff29994cb21a23d55233

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