Comparison
smbus vs smbus2
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python bindings for Linux SMBus access through i2c-dev
Likely abandoned. No release or commit for years (last release over 7 years ago).
$
pip install smbussmbus2 is a drop-in replacement for smbus-cffi/smbus-python in pure Python
Maintained. Last release 8 months ago, commits in 5 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install smbus2In short
- smbus looks abandoned: avoid it for new projects.
- smbus2 is the most used: 703.6K downloads a month, 10.0× more than smbus.
- smbus2 also has the best Pythie’s Index (53).