Skip to main content

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

pamoja_field_io-0.1.17.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pamoja_field_io-0.1.17-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

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

Hashes for pamoja_field_io-0.1.17.tar.gz
Algorithm Hash digest
SHA256 b3ea29a81b5306ce5f5f7e115d8d34ff7ea73d68b29dd84687e429c655f259cd
MD5 a9a60bd153bbdfb4e664f06c71dc25f8
BLAKE2b-256 093ef45952a5ba0a85f102f3f45dc4ce433dcbfaa5c659a89e57620483dc4206

See more details on using hashes here.

File details

Details for the file pamoja_field_io-0.1.17-py3-none-any.whl.

File metadata

File hashes

Hashes for pamoja_field_io-0.1.17-py3-none-any.whl
Algorithm Hash digest
SHA256 3e15c82e3cd8ebebf8994105c8bbc9f309e8a4983ea1417d0c83a84455831e86
MD5 91e99a5231cbdf5254d474fd0e4b381d
BLAKE2b-256 ff66034e09d6b3417abea5a90859e0bf9c7d447b1049cdb9ee5939a7e7b6bdd5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.17 This release

2 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