Skip to main content

Analog Devices python interfaces for hardware with Industrial I/O drivers

Project description

PyADI-IIO Logo

Build Status PyPI version Codacy Badge Python Version

GitHub Pages EngineerZone Analog Wiki


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

Supported parts and boards

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyadi-iio-0.0.15.tar.gz (88.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyadi_iio-0.0.15-py3-none-any.whl (225.9 kB view details)

Uploaded Python 3

File details

Details for the file pyadi-iio-0.0.15.tar.gz.

File metadata

  • Download URL: pyadi-iio-0.0.15.tar.gz
  • Upload date:
  • Size: 88.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pyadi-iio-0.0.15.tar.gz
Algorithm Hash digest
SHA256 c3d04f027ea1d4660da825f2f2c2843f7a3d7876fa5e0c3f46725f70ccd08365
MD5 ea94069ddb468988fe5a6465ecdf3ac1
BLAKE2b-256 2b64017c135f68ccf4c2435dcce964e54e636611779b2518e9e075fafe5d9ef9

See more details on using hashes here.

File details

Details for the file pyadi_iio-0.0.15-py3-none-any.whl.

File metadata

  • Download URL: pyadi_iio-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 225.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pyadi_iio-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 d6efb1cad1d83440903edc86fb1857d931ea674b526a34448bb326adc0b6adb8
MD5 15eb90714115ed5d86c52dc4fbb71c9c
BLAKE2b-256 fbedc93b5e4bd9b1c7a64f521858f6a339b45e886f8d0ca6beec88ac8a4933fa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page