Analog Devices python interfaces for hardware with Industrial I/O drivers
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyadi_iio-0.0.18.tar.gz
.
File metadata
- Download URL: pyadi_iio-0.0.18.tar.gz
- Upload date:
- Size: 115.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb43877b6de1068b35b05799005203b41e250e33c87ddbf84c06ac0af8f9a1e5 |
|
MD5 | 12b945d7d8e3254777f7c1da0e86411e |
|
BLAKE2b-256 | 12d52f10ddd21b9954845bc1a8048aacc9f12a573701e723a1ef2d7eca5dd5f4 |
File details
Details for the file pyadi_iio-0.0.18-py3-none-any.whl
.
File metadata
- Download URL: pyadi_iio-0.0.18-py3-none-any.whl
- Upload date:
- Size: 181.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 559dc61079ec81008bdc20f99696a602c90995af5a1d934c16cccd7394a68e51 |
|
MD5 | 3db60e7b90047e5b9fbd5ecab782a31a |
|
BLAKE2b-256 | 3890d1af447180cadc4ce5d555d3def199dbc0b8ad8c8b40f6005173551dbf81 |