A modern, strongly typed Modbus client library for Python 3.12+ with async support, using Pydantic for data validation. Current version 0.3.0, released 2025-02-20. Active development, monthly releases.
pip install tmodbusNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic TCP client connecting to localhost:502 and reading 10 holding registers from unit ID 1.
Upgrade to Python 3.12 or later.
Ensure the calling function is async and use await.
Use ModbusClient(host='...', port=...)
No dependency data recorded yet.