Encoder and Decoder for CayenneLLP
Project description
# PyCayenneLPP
[![Travis-CI](https://travis-ci.com/smlng/pycayennelpp.svg?branch=master)](https://travis-ci.com/smlng/pycayennelpp)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/169fb391fec84d7e83ee69b8dad3cdc3)](https://www.codacy.com/app/smlng/pycayennelpp?utm_source=github.com&utm_medium=referral&utm_content=smlng/pycayennelpp&utm_campaign=Badge_Grade)
[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/169fb391fec84d7e83ee69b8dad3cdc3)](https://www.codacy.com/app/smlng/pycayennelpp?utm_source=github.com&utm_medium=referral&utm_content=smlng/pycayennelpp&utm_campaign=Badge_Coverage)
[![PyPi](https://badge.fury.io/py/pycayennelpp.svg)](https://badge.fury.io/py/pycayennelpp)
[![GitHub](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/smlng/pycayennelpp/blob/master/LICENSE)
A Cayenne Low Power Payload (CayenneLPP) decoder and encoder written in Python.
The project is under active development. Releases will be published on the
fly as soon as a certain number of new features and fixes have been made.
## Getting Started
PyCayenneLPP does not have any external dependencies, but only uses builtin
functions and types of Python 3. At least Python in version 3.4 is required.
### Prerequisites
The PyCayenneLPP package is available via PyPi using `pip`. To install it run:
```Shell
pip3 install pycayennelpp
```
### Usage Example
The following is a simple example showing how to utilise PyCayenneLPP in your
own application:
```Python
from cayennelpp import LppFrame
# create empty frame
frame = LppFrame()
# add some sensor data
frame.add_temperature(0, -1.2)
frame.add_humidity(6, 34.5)
# get byte buffer
buffer = frame.bytes()
```
## Contributing
Contributing to a free open source software project can take place in many
different ways. Feel free to open issues and create pull requests to help
improving this project. Each pull request has to pass some automatic tests and
checks run by Travis-CI before being merged into the master branch.
Please take note of the [contributing guidelines](CONTRIBUTING.md) and the
[Code of Conduct](CODE_OF_CONDUCT.md).
## License
This is a free open source software project published under the [MIT License](LICENSE).
[![Travis-CI](https://travis-ci.com/smlng/pycayennelpp.svg?branch=master)](https://travis-ci.com/smlng/pycayennelpp)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/169fb391fec84d7e83ee69b8dad3cdc3)](https://www.codacy.com/app/smlng/pycayennelpp?utm_source=github.com&utm_medium=referral&utm_content=smlng/pycayennelpp&utm_campaign=Badge_Grade)
[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/169fb391fec84d7e83ee69b8dad3cdc3)](https://www.codacy.com/app/smlng/pycayennelpp?utm_source=github.com&utm_medium=referral&utm_content=smlng/pycayennelpp&utm_campaign=Badge_Coverage)
[![PyPi](https://badge.fury.io/py/pycayennelpp.svg)](https://badge.fury.io/py/pycayennelpp)
[![GitHub](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/smlng/pycayennelpp/blob/master/LICENSE)
A Cayenne Low Power Payload (CayenneLPP) decoder and encoder written in Python.
The project is under active development. Releases will be published on the
fly as soon as a certain number of new features and fixes have been made.
## Getting Started
PyCayenneLPP does not have any external dependencies, but only uses builtin
functions and types of Python 3. At least Python in version 3.4 is required.
### Prerequisites
The PyCayenneLPP package is available via PyPi using `pip`. To install it run:
```Shell
pip3 install pycayennelpp
```
### Usage Example
The following is a simple example showing how to utilise PyCayenneLPP in your
own application:
```Python
from cayennelpp import LppFrame
# create empty frame
frame = LppFrame()
# add some sensor data
frame.add_temperature(0, -1.2)
frame.add_humidity(6, 34.5)
# get byte buffer
buffer = frame.bytes()
```
## Contributing
Contributing to a free open source software project can take place in many
different ways. Feel free to open issues and create pull requests to help
improving this project. Each pull request has to pass some automatic tests and
checks run by Travis-CI before being merged into the master branch.
Please take note of the [contributing guidelines](CONTRIBUTING.md) and the
[Code of Conduct](CODE_OF_CONDUCT.md).
## License
This is a free open source software project published under the [MIT License](LICENSE).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pycayennelpp-1.0.0.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for pycayennelpp-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7e446c252a7da4dcf709111cf01e1ede509e8a798281295e89e958473fc3062 |
|
MD5 | e843a8b41ef2a48d159d21f757137962 |
|
BLAKE2b-256 | 1211a044d5f2a45e98bb2343b89f39e0869f8515622464f7d6ead0b2a3c429ad |