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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: assets2036py-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 86aa8155dec203b866223812e25f5bce1ea635bcef854311dec817fb7950500c
MD5 49528b20de8ee3e15d5327744a88543e
BLAKE2b-256 b691369626cc655e3af63cf440817b06aba269330c9b85df53e41046ffea0a0c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: assets2036py-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2fcd91e11a5dfe6526202c8bef5f6eb1986d62af2e218b32af744054cd41a34b
MD5 fd645d3b0a37cdf104cd4929fd8459bd
BLAKE2b-256 9284b7a8e89510334b82857a7c01c41a03b61c8c426b5d4ad6d97f6d0b407cb6

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