Skip to main content

IoT Device Capability Parser

Project description

Palazzetti SDK - Asset Parser

Library to detect capabilities of Palazzetti's product based on static and dynamic data

Requires Python 3.6 and uses semver.

import palazzetti_sdk_asset_parser as psap

def main():

    asset_parser = psap.AssetParser(get_alls={"STATUS":0}, get_stdt={"FAN2TYPE":3})
    asset_capabilities = asset_parser.parsed_data

    if (asset_capabilities.flag_has_fan): print("Product has main fan")

    if (asset_capabilities.value_product_is_on): print("Product is ON!")
    else: print("Product is OFF!")

main()

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

palazzetti_sdk_asset_parser-1.0.10.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file palazzetti_sdk_asset_parser-1.0.10.tar.gz.

File metadata

  • Download URL: palazzetti_sdk_asset_parser-1.0.10.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.7

File hashes

Hashes for palazzetti_sdk_asset_parser-1.0.10.tar.gz
Algorithm Hash digest
SHA256 118b5c6b664f6ac2d58a5296c5e0295818a3af0135c94e8bcc5e45102e468b50
MD5 0d3c02a57614acdb1a92cef46e073cc0
BLAKE2b-256 7840bd10c9a34c6c8a696c2fdcccf6e87bc88b9fbc21b107a65f2abcfe394a65

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