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

Uploaded Source

Built Distribution

assets2036py-0.1.3-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for assets2036py-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ee23c101da8923fd042a4ba5b41fbac7157de9f8006c35a84eef799e6a0b4120
MD5 e08f00e7649bb4afe756466f6255ebd2
BLAKE2b-256 fdbeb36a73d66989545a77d4b5bafb6f1e5a4f6edd63c73ff388fb40d19d5c04

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for assets2036py-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 60f2d90a64d62f5792993e6983c92d99567dbc77c3afec1b28f6ba2626e45f11
MD5 5ea73e0a0a502ac954d9f36e022efad1
BLAKE2b-256 096a82414e387593fcae13881419959c4bd4667f16f3129923dc140c5eb37f4d

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