pyadi-iio: Analog Devices python interfaces for hardware with Industrial I/O drivers
pyadi-iio is a python abstraction module for ADI hardware with IIO drivers to make them easier to use. The libIIO interface although extremely flexible can be cumbersome to use due to the amount of boilerplate code required for even simple examples, especially when interfacing with buffers. This module has custom interfaces classes for specific parts and development systems which can generally make them easier to understand and use. To get up and running with a device can be as simple as a few lines of code:
import adi
# Create device from specific uri address
sdr = adi.ad9361(uri="ip:192.168.2.1")
# Get data from transceiver
data = sdr.rx()
Currently supported hardware
Dependencies
Installing from source
tcollins@jeeves:~$ git clone https://github.com/analogdevicesinc/pyadi-iio.git
tcollins@jeeves:~$ cd pyadi-iio
tcollins@jeeves:~$ (sudo) pip install .
Installing from pip
tcollins@jeeves:~$ (sudo) pip install pyadi-iio
To get optional dependency for JESD debugging
tcollins@jeeves:~$ (sudo) pip install pyadi-iio[jesd]
Building doc
Install necessary tools
tcollins@jeeves:~$ (sudo) pip install -r requirements_doc.txt
Build actual doc with sphinx
tcollins@jeeves:~$ cd doc
tcollins@jeeves:~$ make html
Developing
Install necessary tools
tcollins@jeeves:~$ (sudo) pip install -r requirements_dev.txt
Running pre-commit checks
tcollins@jeeves:~$ pre-commit run --all-files
Release files for pyadi-iio 0.0.21
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyadi_iio-0.0.21.tar.gz | 137.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyadi_iio-0.0.21-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 350.6 kB
Release files / pyadi_iio-0.0.21.tar.gz
| Download URL | pyadi_iio-0.0.21.tar.gz |
|---|---|
| Size | 137.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6714b52b1bb23e0200d3462fba09510b840837206d9ffc603f7249dc0cf4b992
|
|
BLAKE2b-256 checksum How to use checksums |
15af061af42c2d016c974f67226b90f4ab92319fdeab12e345da72168da66e74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / pyadi_iio-0.0.21-py3-none-any.whl
| Download URL | pyadi_iio-0.0.21-py3-none-any.whl |
|---|---|
| Size | 213.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2c9582d112d8e63ab0937f47dd15f3be45a57d118299c2872ce435fda8091a09
|
|
BLAKE2b-256 checksum How to use checksums |
1cbbf3e30d6056cc0a0d2966c3add571a31a057d1e516b236280c3bb9639e45b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|