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, 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 for RS485 field devices: a client that polls them over a serial port with the line's timing, simulated devices that answer as real ones do, and the frames with their CRC-16/MODBUS
CAN and J1939 pamoja.can CAN 2.0 and CAN FD frames with 11- and 29-bit identifiers, J1939 decode and compose, and a node on a bus, simulated or a Linux interface through SocketCAN
I2C, SPI, and GPIO pamoja.gpio I2C address frames with reserved-range checks, the four SPI clock modes, active-high or active-low switches and contacts, and GPIO lines opened on a Linux board
Buses pamoja.hal The embedded-hal traits every driver takes, a bit-banged 1-Wire bus, simulated parts and scripted buses that stand in for hardware, the Linux backends over i2c-dev, spidev, and the GPIO character device, one I2C bus and one serial port a program and its drivers share, and delays that sleep or only count

The guides, with a worked Python example for each, are at https://pamoja.molex.cloud/docs.

License

MIT

Metadata

Release files for pamoja-field-io 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pamoja-field-io 0.2.1
File Size Uploaded Provenance Actions
pamoja_field_io-0.2.1.tar.gz 2.8 kB Without provenance Details for pamoja_field_io-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pamoja-field-io 0.2.1
File Interpreter ABI Platform Actions
pamoja_field_io-0.2.1-py3-none-any.whl Python 3 none any Details for pamoja_field_io-0.2.1-py3-none-any.whl

Total release size: 6.3 kB

Release files / pamoja_field_io-0.2.1.tar.gz

Download URL pamoja_field_io-0.2.1.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4aeda1a147161534ca07865d0d09560c21cf3943f88a2fccd22afd0ed43ec28c
BLAKE2b-256 checksum
How to use checksums
a454f921b90e09a4d12180e74f4b9f3aabd9e92ffa7aed1eda0b43279fbe22a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / pamoja_field_io-0.2.1-py3-none-any.whl

Download URL pamoja_field_io-0.2.1-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1d1beecf7d6fbaea19475b6fa09623a097a72941575cb5d2fb183d4ae4c2012c
BLAKE2b-256 checksum
How to use checksums
a9be64978da523beb578a6542e8c00e420b50e284080fd3288a0e17798dab2c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Security for pamoja-field-io 0.2.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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