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

Uploaded Source

Built Distribution

assets2036py-0.1.8-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for assets2036py-0.1.8.tar.gz
Algorithm Hash digest
SHA256 6d171ffd3de803f3659753ce65f59cd7d5556da4487b0fc5e9526f79cd411589
MD5 f5c431fadd70739f4747869cb86e995b
BLAKE2b-256 92974e96fa744e3497fc3e45c9042e07cb532c3e80b0f96cfd7bc0d29e1226df

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for assets2036py-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 d2aac467ae8c8af58243e3b0b684c23bfc7d04ff38dedd0880982630e3f202d0
MD5 3f726565e910a5610ec0de74246b57f7
BLAKE2b-256 31dce17a216aa5b80809b83e4ca509ae3cb3c90995dd4dd721ec0a0d2781e71c

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