Skip to main content

A package to decode a data encoded in a CayenneLPP format.

Project description


Build Status codecov PyPI PyPI


Open-source library for python to decode CayenneLPP format payload. The Cayenne Low Power Payload (LPP) provides a convenient and easy way to send data over LPWAN networks such as LoRaWAN. More details on CayenneLPP payload:


To install the package use next pip command

pip install python-cayennelpp


To decode payload simply use method decode() from this package

>>>from python_cayennelpp.decoder import decode
[{'channel': 3, 'name': 'Temperature Sensor', 'value': 27.2}, {'channel': 5, 'name': 'Temperature Sensor', 'value': 25.5}]

Additional info

The package may raise following exceptions:

  • TypeError - if the provided data is not of the str type
  • ValueError - if the provided data length is not equal to the expected

Note: if the package receives a wrong sensor type the intermediate result of the decoder will be returned, error printed to the stdout, but KeyError exception will not be raised

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-cayennelpp, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size python_cayennelpp-0.0.4-py3-none-any.whl (8.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size python-cayennelpp-0.0.4.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page