pylibiio
Library for interfacing with Linux IIO devices
What it is and what it does
pylibiio is a Python wrapper around libiio, a C library for controlling Linux IIO (Industrial Input/Output) devices. It lets you interact with hardware like analog-to-digital converters, accelerometers, gyroscopes, temperature sensors, and RF transceivers from Python code. You can use it locally on an embedded Linux target or remotely over USB, Ethernet, or serial from a host machine running Linux, Windows, or macOS.
The package itself has no Python runtime dependencies and installs as a pure wheel, making setup straightforward. However, it requires the libiio core library to be installed separately on your system first—the PyPI package provides only the Python bindings, not the underlying C library. The project is actively maintained and used for embedded systems and sensor integration work.
Use it for:
- Read sensor data from IIO devices like accelerometers or temperature sensors on embedded Linux systems
- Control analog-to-digital or digital-to-analog converters from Python on an embedded target
- Remotely interface with IIO hardware on an embedded device from a host machine over network or USB
- Integrate RF transceiver control into Python applications running on Linux
- Build data acquisition pipelines for gyroscopes, magnetometers, or other IIO-compatible sensors
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python bindings for libiio, a library for interfacing with Linux Industrial Input/Output (IIO) devices including ADCs, DACs, accelerometers, gyros, sensors, and RF transceivers.
Yes, if you need to control Linux IIO devices from Python and are willing to install the libiio core library separately. The package is actively maintained, has no Python dependencies, and is widely used. The main gotcha is the external library requirement—verify libiio is available for your platform before committing.
Install
pylibiio on PyPI
pip
pip install pylibiiouv
uv add pylibiiopoetry
poetry add pylibiioInstalling pylibiio
Before you install
Low install friction with a pure-wheel distribution. The package is actively maintained with no runtime dependencies, though it requires the separate libiio core library to be installed on the system beforehand.
License in practice
Licensed under LGPLv2+, a copyleft license. Code linking to or using this package may need to comply with copyleft obligations depending on how it's distributed and combined with other software.
Quickstart
pip install pylibiio
# Import and use the bindings to interact with IIO devices
# (exact API depends on libiio core library version)
The libiio core library must be installed separately on your system; the PyPI package provides only the Python bindings.
Verify before relying
- Specific Python version requirements, given 'unspecified' support declaration and empty requires_python
- Whether remote access over USB, Ethernet, or serial is supported by all platform builds
- Exact API surface and usage patterns for the Python bindings
Package facts
| License | not declared (copyleft) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 1,100 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 338,024/month — #7,440 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pylibiio-0.25-py3-none-any.whl
Tags
More Scientific/Engineering packages
NumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
scipyscipy provides numerical algorithms for…
permissive · top 100 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
dilldill extends Python's pickle module to…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
pyadi-iiopyadi-iio provides Python classes that wrap…
permissive · top 15,000 on PyPI
pylibftdiPythonic interface to FTDI USB devices via…
permissive · top 15,000 on PyPI
nidaqmxProvides a Python API to control and acquire…
permissive · top 15,000 on PyPI
evdevProvides Python bindings to Linux's evdev and…
permissive · top 5,000 on PyPI
pyftdiPyFtdi provides a pure-Python user-space driver…
permissive · top 15,000 on PyPI
zigpyzigpy is a hardware-independent Zigbee protocol…
copyleft · top 15,000 on PyPI
PyVISAPyVISA provides Python bindings to VISA…
permissive · top 5,000 on PyPI
pyRFXtrxA Python library that communicates with RFXtrx…
copyleft · top 15,000 on PyPI
spidevProvides Python bindings to interact with SPI…
permissive · top 15,000 on PyPI
gpiozerogpiozero provides a high-level Python interface…
permissive · top 15,000 on PyPI