Recent Releases of smbus2
smbus2 - Quality of Life Update
- Minor version of the lib was bumped because of the "QoL" improvement in 107 , which about object life-cycle to better handle "open -> close -> open" scenarios. Subtle as it is, it should not cause issues upgrading from v0.4.x to 0.5.0 except under some rare and obscure cases containing manual workarounds for similar "open -> close -> re-open" sequences.
- Maintenance updates:
What's Changed
- add .readthedocs.yaml by @thijstriemstra in https://github.com/kplindegaard/smbus2/pull/106
- Handle re-opening a closed bus by @henrik-nil-acc in https://github.com/kplindegaard/smbus2/pull/107
- Typing corrections by @yodaldevoid in https://github.com/kplindegaard/smbus2/pull/109
- fix markup by @thijstriemstra in https://github.com/kplindegaard/smbus2/pull/114
Full Changelog: https://github.com/kplindegaard/smbus2/compare/0.4.3...0.5.0
- Python
Published by kplindegaard over 1 year ago
smbus2 - Maintenance release
Housekeeping focused on future proofing: - Build pipeline updates: - Added Python 3.11 - Python 2.7, 3.4, and 3.5 no longer tested, but this doesn't affect the status of support by smbus2 code. It only disables the unsupported configuration in the GitHub workflow. - Update deprecated Sphinx config format. - Refactored unit tests.
Contributors: @markmentovai, @hramrach
- Python
Published by kplindegaard almost 3 years ago
smbus2 - Maintenance update
- Explicitly export from top level of package #69.
- Transitioned pipelines from Travis-CI to GitHub Actions.
- Python 3.10 support added.
- Python
Published by kplindegaard about 4 years ago
smbus2 - Quality update
No functional changes - minor updates only * Test file added to distro package * Published smbus2 on sonarcloud.io
- Python
Published by kplindegaard over 5 years ago
smbus2 - Cleanup and PEC support
Changes
- Support for SMBus PEC (Packet Error Checking).
- Support for Python 3 type hinting and mypy static type analysis. Type stubs added to the project.
- Cleaner docs:
- Removed redundant
README.rst. README.md,CHANGELOG.mdandLICENSEadded to dist package.
- Removed redundant
Cleanup - discarded code
As of this version the SMBusWrapper class is removed and must be replaced with SMBus:
- Python
Published by kplindegaard over 5 years ago
smbus2 - Improved and extended
New/added features
- SMBus.init(), SMBus.open():
buscan be a file path as well (issue #17). - The folllowing SMBus commands added (last two normally not supported by pure i2c-devices):
process_call,write_block_data,read_block_data,block_process_call.
- Enter/exit handlers moved to
SMBusclass. - Expose enumerations of i2c functionality flags in the
I2cFuncclass and exported that. - Added convenience features making the
i2c_msgclass easier to work with.
Deprecation warning
- The
SMBusWrapperclass is now considered deprecated. Please update your code to useSMBusinstead.
- Python
Published by kplindegaard almost 7 years ago
smbus2 - SMBus Quick command added
Added an "smbus compatible" method write_quick(addr) to the SMBus class (issue #7).
- Python
Published by kplindegaard over 7 years ago
smbus2 -
- Force single r/w option (PR #20).
- Documentation updates (PR #16 and #14).
- Docs available on readthedocs thanks to @thijstriemstra
- Python
Published by kplindegaard about 8 years ago