Skip to main content

libiio: Python Bindings

This package contains the python bindings for libiio, a library for interfacing with Linux IIO devices.

libiio is used to interface to the Linux Industrial Input/Output (IIO) Subsystem. The Linux IIO subsystem is intended to provide support for devices that in some sense are analog to digital or digital to analog converters (ADCs, DACs). This includes, but is not limited to ADCs, Accelerometers, Gyros, IMUs, Capacitance to Digital Converters (CDCs), Pressure Sensors, Color, Light and Proximity Sensors, Temperature Sensors, Magnetometers, DACs, DDS (Direct Digital Synthesis), PLLs (Phase Locked Loops), Variable/Programmable Gain Amplifiers (VGA, PGA), and RF transceivers. You can use libiio natively on an embedded Linux target (local mode), or use libiio to communicate remotely to that same target from a host Linux, Windows or MAC over USB or Ethernet or Serial.

Library License : Library License Tests/Examples License : Application License Latest Release : GitHub release Downloads : Github All Releases

Scans : Coverity Scan Build Status Release docs: Documentation Issues : open bugs closed bugs

Support:
If you have a question about libiio and an Analog Devices IIO kernel driver please ask on : EngineerZone. If you have a question about a non-ADI devices, please ask it on github.

Requirements

To use these bindings naturally you need the core library they depend upon, libiio. This is not packaged with the pypi release but there are a number of options:

  • If you want to just use libiio, we suggest using the latest release.
  • If you think you have found a bug in the release, or need a feature which isn't in the release, try the latest untested binaries from the master branch and check out the documentation based on the master branch. We provide builds for a few operating systems. If you need something else, we can most likely add that -- just ask.

Installing the bindings

To install these bindings there are a few methods. If you already have the library itself and just need the bindings, pip is the most convenient method:

(sudo) pip install pylibiio

If you do not want to use pip, then installation is dependent on your operating system.

Install from source

To install from source, you will need to clone the repository and invoke pip within the python bindings directory:

git clone https://github.com/analogdevicesinc/libiio.git
cd libiio/bindings/python
pip install .

Support

If you have a question about libiio or the python bindings and an Analog Devices IIO kernel driver please ask on : EngineerZone. If you have a question about a non-ADI devices, please ask it on github.

If you use it, and like it - please let us know. If you use it, and hate it - please let us know that too. The goal of the project is to try to make Linux IIO devices easier to use on a variety of platforms. If we aren't doing that - we will try to make it better.

Feedback is appreciated (in order of preference):

Useful resources

Metadata

Release files for pylibiio 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylibiio 1.0
File Size Uploaded
pylibiio-1.0.tar.gz 16.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pylibiio 1.0
File Interpreter ABI Platform
pylibiio-1.0-py3-none-any.whl Python 3 none any Details

Total release size: 30.9 kB

Release files / pylibiio-1.0.tar.gz

Download URL pylibiio-1.0.tar.gz
Size 16.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d4d443ae5b1f1ae47f439a0ef0a0e1d26c13c9f545dd75bc6a2a56211e260879
BLAKE2b-256 checksum
How to use checksums
1ddc125e1c3fbf7c829974795fee636853ee41eb6d502ab3bed7dd47a45735bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / pylibiio-1.0-py3-none-any.whl

Download URL pylibiio-1.0-py3-none-any.whl
Size 14.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4ec4954b76be66656a1edce4839b9932f0b1fbeaccb0e2c0de78a0d594180d9
BLAKE2b-256 checksum
How to use checksums
4753dd67ac895c18c8e74c73c0a19d9999d6a60f49e8202c4d111711f6c6f673
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

0.25

2 release files

0.23

2 release files

0.21.1

2 release files

0.21

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page