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

Uploaded Source

Built Distribution

assets2036py-0.0.16-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: assets2036py-0.0.16.tar.gz
  • Upload date:
  • Size: 21.0 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.16.tar.gz
Algorithm Hash digest
SHA256 70ae04a8981c25a3a845d133289920c68e93a8af890326651ec49591efff0e02
MD5 214247145d1b1b7560e1d122bbb5f01b
BLAKE2b-256 6f3d4e0e0491877d2085bf6041cbe9f1c212a061d61b81f1072353aad6e496ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for assets2036py-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 9929ea073e4d3d741b9e4d6a1fad85be03e1882b0bd14c5b84ef10cfd0d29a75
MD5 3f247728985ed70423313f06bac902d7
BLAKE2b-256 eb82d55a0552c11b0ff95d292e40c448f4280e38f27473439efb4b75b4ac8b6d

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