$npx skillfedfor your agent

adafruit-circuitpython-busdevice

CircuitPython bus device classes to manage bus sharing.

With conditionsPyPI LibrariesReleased Apr 2026177.1K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — adafruit_circuitpython_busdevice-5.2.17-py3-none-any.whl
v5.2.17 · released 2026-04-23 · 2 runtime deps: Adafruit-Blinka, adafruit-circuitpython-typing

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

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.
Same gist for agents: .md · .json

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.

With conditions

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

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
Adafruit-Blinkaadafruit-circuitpython-typing
MaintenanceActively maintained 113 days since the last release
Last repo commit
First released
Downloads177,149 / month, #10,225 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone 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

Capabilities
circuitpython i2c device managementspi bus device helpercircuitpython bus lockingmicrocontroller i2c spi abstractionadafruit bus device librarycircuitpython hardware communication
Topics
circuitpythonembedded-systemshardware-abstraction
PyPI keywords
adafruitspii2cbusdevicemicropythoncircuitpython

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”

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

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.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

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.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

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.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

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.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

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.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also adafruit-circuitpython-requests · adafruit-circuitpython-typing · adafruit-circuitpython-connectionmanager · Adafruit-Blinka · Adafruit-PureIO · ft4222 · salamandra · Adafruit-PlatformDetect · spidev · smbus2