pamoja-field-io
The wires a gateway actually has: framed serial packets, an RS485 request and the reply it draws, a CAN frame, and the address a chip answers on.
One install for the 4 capabilities of this domain. Each is also its own
distribution, and pamoja is the whole framework in one.
pip install pamoja-field-io
from pamoja.field_io import serial
| Capability | Module | What it covers |
|---|---|---|
| Serial framing | pamoja.serial |
SLIP and COBS byte stuffing with streaming decoders, so a UART byte stream carries discrete packets |
| Modbus RTU | pamoja.modbus |
Modbus RTU requests and replies with CRC-16/MODBUS for RS485 field devices |
| CAN and J1939 | pamoja.can |
CAN 2.0 and CAN-FD frames with 11- and 29-bit identifiers, plus J1939 decode and compose |
| I2C, SPI, and GPIO | pamoja.gpio |
I2C address frames with reserved-range checks, the four SPI clock modes, and active-high or active-low pins |
The guides, with a worked Python example for each, are at https://pamoja.molex.cloud/docs.
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pamoja_field_io-0.1.17.tar.gz.
File metadata
- Download URL: pamoja_field_io-0.1.17.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3ea29a81b5306ce5f5f7e115d8d34ff7ea73d68b29dd84687e429c655f259cd
|
|
| MD5 |
a9a60bd153bbdfb4e664f06c71dc25f8
|
|
| BLAKE2b-256 |
093ef45952a5ba0a85f102f3f45dc4ce433dcbfaa5c659a89e57620483dc4206
|
File details
Details for the file pamoja_field_io-0.1.17-py3-none-any.whl.
File metadata
- Download URL: pamoja_field_io-0.1.17-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e15c82e3cd8ebebf8994105c8bbc9f309e8a4983ea1417d0c83a84455831e86
|
|
| MD5 |
91e99a5231cbdf5254d474fd0e4b381d
|
|
| BLAKE2b-256 |
ff66034e09d6b3417abea5a90859e0bf9c7d447b1049cdb9ee5939a7e7b6bdd5
|