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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for assets2036py-0.0.18.tar.gz
Algorithm Hash digest
SHA256 5c95c4a0eb10cc6b3f2e2cb93ceec6f1bf56b7c508c960379231315a17d614ce
MD5 38d55dbe5449ed32077becd5b4cd5933
BLAKE2b-256 17664ed4d91504d57929afe4d61f4c148b13ae71d5754e86397be827f4a8659d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for assets2036py-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 7d22832b10cb0d0d56f617cc521b90e605c0e3127c63e2306f494827d611d2b5
MD5 3a070a1bf8ee435feb9d97a81f39e4a4
BLAKE2b-256 9b5c7ea4342173e39fa7aafec32a79e9f0de9860f2f6731cc44ab5b37584bbbb

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