$npx skillfedfor your agent

spidev

Python bindings for Linux SPI access through spidev

With conditionsPyPI Software DevelopmentReleased Sep 2025121.5K downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — spidev-3.8-cp39-cp39-linux_armv7l.whl
v3.8 · released 2025-09-15

Yes, if you are developing on Linux with SPI hardware and need straightforward Python access to it. The package is stable, permissively licensed, and has no known vulnerabilities. Install friction is moderate due to platform specificity, and maintenance is aging but not abandoned. Not suitable for non-Linux systems or projects requiring active feature development.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Linux kernel with spidev driver enabled and access to /dev/spidev* device files; typically runs on embedded Linux systems (Raspberry Pi, BeagleBone, etc.) or systems with SPI hardware controllers.
  • Medium install friction due to platform-specific wheel availability (ARM Linux only in the evidence shown).
  • The package is in aging maintenance status with a last commit in December 2025, but carries production-stable classification and no known vulnerabilities.

License · maintenance · safety

MIT (permissive) — MIT license is permissive and imposes no significant restrictions on use, modification, or distribution in your own projects.

last release 2025-09-15 (333 days) · last repo commit 2025-12-19 · 480 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 121,457 downloads/mo, #11,978 on PyPI

Verify before relying

import spidev

spi = spidev.SpiDev()
spi.open_path("/dev/spidev0.0")
spi.max_speed_hz = 5000
spi.mode = 0b01
to_send = [0x01, 0x02, 0x03]
response = spi.xfer(to_send)
spi.close()
  • Whether the package supports modern Python versions beyond what the classifiers indicate (Python 2.6, 2.7, 3 are listed but no specific 3.x versions stated).
  • Current state of active maintenance and whether aging status reflects planned long-term support or de facto abandonment.
Same gist for agents: .md · .json

What it is and what it does

Spidev is a thin Python wrapper around the Linux kernel's spidev userspace API for controlling SPI (Serial Peripheral Interface) devices. It allows you to open a device file (typically /dev/spidev0.0), configure SPI parameters like clock speed and mode, and then read from or write to connected hardware. The package handles the low-level ioctl calls needed to communicate with the kernel driver, abstracting away the C API details.

The module is used primarily on embedded Linux systems—Raspberry Pi, BeagleBone, and similar platforms—where you need to talk to SPI-connected peripherals like sensors, displays, or memory chips. It supports configurable settings (speed, polarity, phase, chip-select behavior) and provides both simple read/write operations and full duplex transfers. The package has no runtime dependencies beyond the Linux kernel and spidev driver itself.

Use it for

  • Control SPI-connected displays or LED matrices on a Raspberry Pi or similar embedded board.
  • Read sensor data from SPI-based accelerometers, temperature sensors, or analog-to-digital converters.
  • Interface with SPI flash memory chips or SD card controllers for embedded storage access.
  • Communicate with external SPI-connected microcontrollers or FPGAs in a larger embedded system.
  • Prototype hardware interfaces in Python without writing C kernel modules or using lower-level system calls directly.

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 Linux with SPI hardware and need straightforward Python access to it.

The package is stable, permissively licensed, and has no known vulnerabilities. Install friction is moderate due to platform specificity, and maintenance is aging but not abandoned. Not suitable for non-Linux systems or projects requiring active feature development.

Install

spidev on PyPI

Before you install

Medium install friction due to platform-specific wheel availability (ARM Linux only in the evidence shown). The package is in aging maintenance status with a last commit in December 2025, but carries production-stable classification and no known vulnerabilities. Suitable for stable embedded projects but not actively developed.

Requires Linux kernel with spidev driver enabled and access to /dev/spidev* device files; typically runs on embedded Linux systems (Raspberry Pi, BeagleBone, etc.) or systems with SPI hardware controllers.

License in practice

MIT license is permissive and imposes no significant restrictions on use, modification, or distribution in your own projects.

Quickstart

import spidev

spi = spidev.SpiDev()
spi.open_path("/dev/spidev0.0")
spi.max_speed_hz = 5000
spi.mode = 0b01
to_send = [0x01, 0x02, 0x03]
response = spi.xfer(to_send)
spi.close()

Verify before relying

  • Whether the package supports modern Python versions beyond what the classifiers indicate (Python 2.6, 2.7, 3 are listed but no specific 3.x versions stated).
  • Current state of active maintenance and whether aging status reflects planned long-term support or de facto abandonment.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceAging 333 days since the last release
Last repo commit
First released
Downloads121,457 / month, #11,978 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: POSIX :: LinuxProgramming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Topic :: Software DevelopmentTopic :: System :: HardwareTopic :: System :: Hardware :: Hardware Drivers

Evidence: spidev-3.8-cp39-cp39-linux_armv7l.whl

Tags

Capabilities
SPI device communication pythonlinux spidev kernel driverserial peripheral interface pythonembedded hardware SPI controlraspberry pi SPI accessspidev linux userspaceSPI bus python interface
Topics
embedded-linuxhardware-interfacespi-protocol

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 › “linux spidev kernel driver”

  • spidevProvides Python bindings to interact with SPI devices on Linux…
  • Adafruit-PureIOProvides pure Python access to Linux I2C and SPI interfaces without…
  • cuda-pythoncuda-python is a metapackage providing Pythonic access to NVIDIA's…

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 pyftdi · Adafruit-PureIO · pyudev · pylspci · icsneopy · ft4222 · python-can · evdev · hidapi · phidget22