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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: assets2036py-0.1.9.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.9.tar.gz
Algorithm Hash digest
SHA256 359dfd681a943ffd42818d33edcbfc70b410c1b3aca18eedd438b7b3e265a68f
MD5 54b9ec30cb98505022346838f4af1191
BLAKE2b-256 d49abf77922ca7ba65a7c098112113d735f0fbf6c29efdcac618ad542380ab0c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: assets2036py-0.1.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 fe0b944d29f2059f970353abd18f046c36b90327f40751943a81a2fca51f47bb
MD5 90835d539e3d2b431128a55b90d27383
BLAKE2b-256 13127a0b2c9db55ebc6ed27670856e2c03ba18da5cf9c232977515d83ddcd011

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