pamoja-field-io
The wires a gateway actually has: framed serial packets, an RS485 request and the reply it draws, a CAN frame, the address a chip answers on, and the bus that carries a driver to the part.
One install for the 5 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 |
| Buses | pamoja.core |
The embedded-hal traits every driver takes, a bit-banged 1-Wire bus, scripted buses that play a part's side of a conversation, and the Linux backends over i2c-dev, spidev, and the GPIO character device |
The guides, with a worked Python example for each, are at https://pamoja.molex.cloud/docs.
License
MIT
Release files for pamoja-field-io 0.1.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pamoja_field_io-0.1.18.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pamoja_field_io-0.1.18-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.0 kB
Release files / pamoja_field_io-0.1.18.tar.gz
| Download URL | pamoja_field_io-0.1.18.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2da724225cd676dfbe4c43cd9f5b795d71cd230314726d116a933cf010f38b71
|
|
BLAKE2b-256 checksum How to use checksums |
9cdb22cec2df5b1e22dd64b719254d853c0d4faf1a2a00000b6903405f47940a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / pamoja_field_io-0.1.18-py3-none-any.whl
| Download URL | pamoja_field_io-0.1.18-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2d95f63aa04cb5199c7ea49c85542cd8cc458a055162034c279c05ee7148ac8f
|
|
BLAKE2b-256 checksum How to use checksums |
2a5e9e5eb4e2bcc6c51b111a18f0777358f8ba7d8d7823e004c612b5d129feb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|