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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for assets2036py-0.0.20.tar.gz
Algorithm Hash digest
SHA256 dc9a992a8821b55202b8d5da8b6e8ede415a8bdc1496a154d1c12a8780a33602
MD5 7f492a3b9d5dfe560428439d17a50d7c
BLAKE2b-256 b40163ab0348ce89ae3ef49ab8283dc5cc729c85433c627718436d200c7073c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for assets2036py-0.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 6084bdb01d1dcbc1a01b58b7175e1972d530c5f40128a9e844c4eef278eeb24b
MD5 0ca67bcb93dda509320ed0b00362e2f7
BLAKE2b-256 f558942f7bfce2a80e290332be292865a33f732e105bad1b5b310568c117e120

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