Python-CayenneLPP
Introduction
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: https://github.com/myDevicesIoT/cayenne-docs
Note: while Python versions 2.7 and <=3.7 may work, they're not officially supported since they're EOL.
Installation
To install the package use next pip command
pip install python-cayennelpp
Usage
To decode payload simply use method decode() from this package
>>>from python_cayennelpp.decoder import decode
>>>print(decode('03670110056700FF'))
[{'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 thestrtypeValueError- 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
KeyErrorexception will not be raised
Metadata
Release files for python-cayennelpp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python_cayennelpp-0.1.0.tar.gz | 41.8 kB | With provenance | Details for python_cayennelpp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_cayennelpp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for python_cayennelpp-0.1.0-py3-none-any.whl |
Total release size: 47.7 kB
Release files / python_cayennelpp-0.1.0.tar.gz
| Download URL | python_cayennelpp-0.1.0.tar.gz |
|---|---|
| Size | 41.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51db944cf6ae28f7d490631975ab0df6501974f902bbc0631d97aae52255e34d
|
|
BLAKE2b-256 checksum How to use checksums |
e2b03ef9e74122be58100b63971bf6b12f046edd6de996fa03cf910d41dda3bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 31, 2025.
Transparency logRelease files / python_cayennelpp-0.1.0-py3-none-any.whl
| Download URL | python_cayennelpp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa1c5343b2c8fe3a7d1a5d920fcd8f39aacbc88f61e52d277936fcc60f03a181
|
|
BLAKE2b-256 checksum How to use checksums |
85f15e46d4686e7f3b9da6d5b17c04bdb0ed20f4615b089bdbedf2c3f53a61c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 31, 2025.
Transparency logSecurity for python-cayennelpp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for python_cayennelpp-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 31, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.