Adafruit-PureIO
Pure python (i.e. no native extensions) access to Linux IO including I2C and SPI. Drop in replacement for smbus and spidev modules.
What it is and what it does
Adafruit-PureIO is a pure Python library that wraps Linux kernel I2C and SPI interfaces, allowing direct hardware communication without compiled native extensions. It provides drop-in replacements for the smbus and spidev modules, making it useful for embedded systems like Raspberry Pi where you need to control I2C and SPI devices from Python code.
The package has no runtime dependencies and installs with low friction. However, it has been abandoned since its last release on 2023-05-25 with no active maintenance. The library was originally designed for embedded systems and IoT projects, but its lack of recent updates means it may not be compatible with newer kernel versions or Python releases without potential issues.
Use it for:
- Communicate with I2C sensors and devices on a Raspberry Pi or other Linux single-board computer.
- Control SPI peripherals like displays, memory chips, or analog converters from Python without native C extensions.
- Replace smbus or spidev in existing projects when you need pure Python implementations.
- Develop embedded applications that need direct hardware access on Linux systems without compilation.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides pure Python access to Linux I2C and SPI interfaces without native extensions, serving as a drop-in replacement for smbus and spidev modules.
Yes, but with caution. The package is suitable for existing projects already using it or for simple I2C/SPI communication on stable systems. However, do not adopt it for new projects without verifying compatibility with your kernel version and Python release, since maintenance has ceased. Consider checking for actively maintained alternatives if you need ongoing support.
Install
adafruit-pureio on PyPI
pip
pip install adafruit-pureiouv
uv add adafruit-pureiopoetry
poetry add adafruit-pureioInstalling Adafruit-PureIO
Before you install
Low install friction with no runtime dependencies. However, the package is marked abandoned with the last commit in May 2023, raising concerns about maintenance and compatibility with current systems.
License in practice
MIT license is permissive and poses no restrictions on use, modification, or distribution in proprietary or open-source projects.
Quickstart
pip3 install Adafruit-PureIO
import Adafruit_PureIO.smbus
bus = Adafruit_PureIO.smbus.SMBus(1)
Requires Python 3.5 or higher and a Linux system with I2C/SPI kernel support.
Verify before relying
- Whether the package remains compatible with modern Linux kernel versions and current Python 3.x releases.
- Whether the ioctl interface it wraps has changed in recent kernel updates.
- Active community or alternative maintained forks for this functionality.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.5.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 1,177 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 145,848/month — #11,115 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: Adafruit_PureIO-1.1.11-py3-none-any.whl
Keywords: adafruit, blinka, micropython, pureio, ioctl, spi, i2c, python
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
smbus2smbus2 provides pure Python I2C/SMBus…
permissive · top 5,000 on PyPI
spidevProvides Python bindings to interact with SPI…
permissive · top 15,000 on PyPI
pyftdiPyFtdi provides a pure-Python user-space driver…
permissive · top 15,000 on PyPI
adafruit-circuitpython-busdeviceProvides I2CDevice and SPIDevice helper classes…
permissive · top 15,000 on PyPI
libusbsioProvides a Python wrapper around NXP's…
permissive · top 15,000 on PyPI
ft4222Provides Python bindings to LibFT4222, enabling…
permissive · top 15,000 on PyPI
Adafruit-BlinkaAdafruit-Blinka emulates CircuitPython APIs on…
permissive · top 15,000 on PyPI
gpiozerogpiozero provides a high-level Python interface…
permissive · top 15,000 on PyPI
Adafruit-PlatformDetectDetects the chip and board type of single-board…
permissive · top 15,000 on PyPI
icsneopyicsneopy is a Python binding for Intrepid…
unclear · top 15,000 on PyPI