The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Documentation refresh of the original 2022 module. No behavior changes.
- The I2C busy-gate was not exception-safe: if the I/O call raised, the lock event was never restored, deadlocking later calls. The critical section is now wrapped in try/finally.
- Full README (features, requirements, installation, usage, API).
- This changelog.
.gitattributesfor consistent line endings.
- Cleaned up source comments and docstrings (concise English); removed noisy
printin the write error path in favour of logging. Logic unchanged. - Bumped module metadata (
__version__1.0.0, copyright 2022-2026).
First working version (legacy).
CAT9555(i2c_port, address, logger)driver withread_config/write_config,read_polarity/write_polarity,write_outputandread_state.- Thread-safe I/O via a
threading.Eventlock, backed bysmbus2.