Skip to main content

Python-CayenneLPP

Lint/Test codecov PyPI PyPI

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 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

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)

Source distribution for python-cayennelpp 0.1.0
File Size Uploaded
python_cayennelpp-0.1.0.tar.gz 41.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-cayennelpp 0.1.0
File Interpreter ABI Platform
python_cayennelpp-0.1.0-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page