adafruit-circuitpython-busdevice
CircuitPython bus device classes to manage bus sharing.
Decision gist · record as of 2026-08-14
Yes, if you are developing CircuitPython projects that use I2C or SPI buses. The library is actively maintained, has no known vulnerabilities, and solves a real problem in embedded systems—managing bus state and preventing conflicts. Check your board's firmware first to confirm whether it's already builtin; if not, the low-friction install and permissive MIT license make it a straightforward addition. Not relevant for standard Python environments.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a CircuitPython-compatible microcontroller board or GNU/Linux system with CircuitPython support; check your board's firmware to confirm bus_device availability.
- Low friction install with just two runtime dependencies.
- Actively maintained with latest release on 2026-04-23.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
last release 2026-04-23 (113 days) · last repo commit 2026-04-23 · 124 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 177,149 downloads/mo, #10,225 on PyPI
Alternatives
Verify before relying
pip install adafruit-circuitpython-busdevice
from adafruit_circuitpython_busdevice.i2c_device import I2CDevice
device = I2CDevice(i2c_bus, device_address)
with device:
device.write(data)- Whether the package works on standard CPython or only CircuitPython environments.
- Specific Python version requirements (requires_python is unspecified in metadata).
- Performance characteristics or throughput limits for high-frequency bus transactions.
- Exact usage patterns and API surface beyond the I2CDevice and SPIDevice classes mentioned.
What it is and what it does
Adafruit CircuitPython BusDevice is a helper library for managing I2C and SPI bus communication on CircuitPython microcontroller boards. It provides I2CDevice and SPIDevice classes that wrap low-level bus operations with transaction state management—locking the bus to prevent concurrent access conflicts, handling chip select and protocol mode changes for SPI, and managing device addressing for I2C. The library abstracts away common boilerplate, making it easier to write reliable hardware drivers.
The package is designed for embedded systems and microcontroller projects where multiple devices may share a single bus. It depends on Adafruit-Blinka and adafruit-circuitpython-typing. Note that CircuitPython v6.3.0 and newer may include this package as builtin firmware; the documentation recommends checking your board's module support matrix to avoid conflicts if both the builtin and add-on versions are present.
Use it for
- Manage I2C communication with multiple sensors or peripherals on a shared bus without race conditions.
- Handle SPI device transactions with automatic chip select and protocol mode management.
- Simplify driver development for CircuitPython-compatible boards by abstracting bus locking and state.
- Ensure safe concurrent access to shared hardware buses in multi-device embedded projects.
- Port hardware drivers between different CircuitPython boards with consistent bus abstractions.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are developing CircuitPython projects that use I2C or SPI buses.
The library is actively maintained, has no known vulnerabilities, and solves a real problem in embedded systems—managing bus state and preventing conflicts. Check your board's firmware first to confirm whether it's already builtin; if not, the low-friction install and permissive MIT license make it a straightforward addition. Not relevant for standard Python environments.
Install
adafruit-circuitpython-busdevice on PyPI
Before you install
Low friction install with just two runtime dependencies. Actively maintained with latest release on 2026-04-23. Note: CircuitPython v6.3.0 and newer may include this package builtin; check your board's firmware to avoid import conflicts if both versions are present.
Requires a CircuitPython-compatible microcontroller board or GNU/Linux system with CircuitPython support; check your board's firmware to confirm bus_device availability.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install adafruit-circuitpython-busdevice
from adafruit_circuitpython_busdevice.i2c_device import I2CDevice
device = I2CDevice(i2c_bus, device_address)
with device:
device.write(data)
Verify before relying
- Whether the package works on standard CPython or only CircuitPython environments.
- Specific Python version requirements (requires_python is unspecified in metadata).
- Performance characteristics or throughput limits for high-frequency bus transactions.
- Exact usage patterns and API surface beyond the I2CDevice and SPIDevice classes mentioned.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesAdafruit-Blinkaadafruit-circuitpython-typing |
| Maintenance | Actively maintained 113 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 177,149 / month, #10,225 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersProgramming Language :: Python :: 3Topic :: Software Development :: Embedded SystemsTopic :: Software Development :: LibrariesTopic :: System :: Hardware |
Evidence: adafruit_circuitpython_busdevice-5.2.17-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “circuitpython i2c device management”
- adafruit-circuitpython-busdeviceProvides I2CDevice and SPIDevice helper classes that manage bus…
- Adafruit-BlinkaAdafruit-Blinka emulates CircuitPython APIs on CPython and…
- adafruit-circuitpython-connectionmanagerManages sockets and connections for CircuitPython devices using a…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also adafruit-circuitpython-requests · adafruit-circuitpython-typing · adafruit-circuitpython-connectionmanager · Adafruit-Blinka · Adafruit-PureIO · ft4222 · salamandra · Adafruit-PlatformDetect · spidev · smbus2