$npx skillfedfor your agent

Adafruit-Blinka

CircuitPython APIs for non-CircuitPython versions of Python such as CPython on Linux and MicroPython.

With conditionsPyPI Software DevelopmentReleased Jul 2026172.4K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — adafruit_blinka-9.2.0-py3-none-any.whl
v9.2.0 · released 2026-07-30 · Python >=3.9.0 · 7 runtime deps: Adafruit-PlatformDetect, Adafruit-PureIO, binho-host-adapter, pyftdi, adafruit-circuitpython-typing, sysv_ipc, toml

Yes, if you are developing on CPython or MicroPython and need CircuitPython-compatible hardware APIs. The package is actively maintained, has no known vulnerabilities, installs with low friction, and is permissively licensed. Do not install on devices already running CircuitPython, where built-in modules should be used instead.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; intended for CPython on GNU/Linux or MicroPython—not for devices already running CircuitPython, where built-in modules should be used instead.
  • Low install friction with a pure-Python wheel.
  • Active maintenance (last commit 2026-07-30, release 15 days ago).

License · maintenance · safety

MIT (permissive) — MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.

last release 2026-07-30 (15 days) · last repo commit 2026-07-30 · 536 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 172,351 downloads/mo, #10,340 on PyPI

Verify before relying

pip3 install Adafruit-Blinka

import time
from Adafruit_Blinka import board
from Adafruit_Blinka import digitalio

led = digitalio.DigitalInOut(board.D18)
led.direction = digitalio.Direction.OUTPUT
led.value = True
time.sleep(0.5)
  • Which specific board types and microcontroller families are fully supported beyond Raspberry Pi.
  • Performance characteristics when using software-driven interfaces (bitbangio) vs. hardware-driven (busio).
  • Compatibility matrix with specific versions of MicroPython implementations.
  • Whether all emulated modules (analogio, keypad, neopixel_write, usb_hid) are production-ready or experimental.
Same gist for agents: .md · .json

What it is and what it does

Adafruit-Blinka is a compatibility layer that brings CircuitPython's hardware abstraction APIs to CPython and MicroPython environments. It emulates modules for digital I/O, I2C, SPI, UART, analog input/output, PWM, NeoPixels, keypad scanning, and USB HID, allowing you to write code in CircuitPython style that runs on Linux single-board computers. The package handles platform detection and pin mapping automatically, translating high-level calls into appropriate low-level hardware operations for your host.

The library is designed for developers who want to prototype or deploy applications on platforms running full Python interpreters rather than CircuitPython's minimal runtime. It includes both hardware-driven interfaces using native kernel drivers and software-driven fallbacks for I2C and SPI, making it adaptable to various hardware configurations. Test suites are designed to run on either CircuitPython or CPython plus this compatibility layer to verify API conformance.

Use it for

  • Prototype and test CircuitPython applications on Linux single-board computers before deploying to CircuitPython boards.
  • Control GPIO, I2C, SPI, and UART peripherals from Python on embedded Linux using CircuitPython-compatible syntax.
  • Write cross-platform hardware tests that run on both CircuitPython devices and CPython/MicroPython hosts.
  • Build applications needing the full Python standard library while controlling low-level hardware interfaces.
  • Emulate NeoPixel, keypad, and PWM functionality on non-CircuitPython platforms for LED and motor control.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are developing on CPython or MicroPython and need CircuitPython-compatible hardware APIs.

The package is actively maintained, has no known vulnerabilities, installs with low friction, and is permissively licensed. Do not install on devices already running CircuitPython, where built-in modules should be used instead.

Install

adafruit-blinka on PyPI

Before you install

Low install friction with a pure-Python wheel. Active maintenance (last commit 2026-07-30, release 15 days ago). Seven runtime dependencies including Adafruit-PlatformDetect, Adafruit-PureIO, pyftdi, and binho-host-adapter for hardware-specific support.

Requires Python 3.9 or later; intended for CPython on GNU/Linux or MicroPython—not for devices already running CircuitPython, where built-in modules should be used instead.

License in practice

MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.

Quickstart

pip3 install Adafruit-Blinka

import time
from Adafruit_Blinka import board
from Adafruit_Blinka import digitalio

led = digitalio.DigitalInOut(board.D18)
led.direction = digitalio.Direction.OUTPUT
led.value = True
time.sleep(0.5)

Verify before relying

  • Which specific board types and microcontroller families are fully supported beyond Raspberry Pi.
  • Performance characteristics when using software-driven interfaces (bitbangio) vs. hardware-driven (busio).
  • Compatibility matrix with specific versions of MicroPython implementations.
  • Whether all emulated modules (analogio, keypad, neopixel_write, usb_hid) are production-ready or experimental.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
Adafruit-PlatformDetectAdafruit-PureIObinho-host-adapterpyftdiadafruit-circuitpython-typingsysv_ipctoml
MaintenanceActively maintained 15 days since the last release
Last repo commit
First released
Downloads172,351 / month, #10,340 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: MicroPython

Evidence: adafruit_blinka-9.2.0-py3-none-any.whl

Tags

Capabilities
circuitpython api emulationcircuitpython on raspberry pigpio abstraction layerhardware interface compatibilitycircuitpython cpython bridgeembedded python hardware controlcross-platform microcontroller api
Topics
hardware-abstractionembedded-pythongpio-control

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 api emulation”

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

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also adafruit-circuitpython-requests · Adafruit-PlatformDetect · adafruit-circuitpython-busdevice · adafruit-circuitpython-typing · adafruit-circuitpython-connectionmanager · pymata-express · gpiozero · akracer · RPi.GPIO · pyocd