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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: assets2036py-0.0.17.tar.gz
  • Upload date:
  • Size: 21.3 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.17.tar.gz
Algorithm Hash digest
SHA256 22570835615dd12cb9c6e904d0a4d09e616ab23cd437012c531737fa763dbf8e
MD5 e72b84e2c4a50267357324f5b02cacd6
BLAKE2b-256 689003abf2657f5dfe53354c651f4605cd5bb42bcd3fd2fb390b1d1fd8da6836

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for assets2036py-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 9a6f4a89f055aa0fa8e0f2d94f699441b9910e86028112f52ca6d918c6b8c8c0
MD5 a2cf178c961e0714ac8ebf1f19483e2d
BLAKE2b-256 6399b9b78bde5eb07e4a481dbc117fd21cd8b14f4d97a399cf1d1df04f35df4d

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