Comparison
Adafruit-PureIO vs smbus vs smbus2 vs spidev
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Pure python (i.e. no native extensions) access to Linux IO including I2C and SPI. Drop in replacement for smbus and spidev modules.
Maintained. Last release 10 days ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install adafruit-pureioPython 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 smbus2Python bindings for Linux SPI access through spidev
Low maintenance activity. Last release 15 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install spidevIn short
- smbus looks abandoned: avoid it for new projects.
- smbus2 is the most used: 709.4K downloads a month, 4.9× more than spidev.
- Maintenance is comparable: Adafruit-PureIO 59, smbus2 53, spidev 26 on Pythie’s Index.
Side by side
| Metric | Adafruit-PureIO | smbus | smbus2 | spidev |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 59 | 19 |