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.19.tar.gz (117.6 kB view details)

Uploaded Source

Built Distribution

pyadi_iio-0.0.19-py3-none-any.whl (188.3 kB view details)

Uploaded Python 3

File details

Details for the file pyadi_iio-0.0.19.tar.gz.

File metadata

  • Download URL: pyadi_iio-0.0.19.tar.gz
  • Upload date:
  • Size: 117.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for pyadi_iio-0.0.19.tar.gz
Algorithm Hash digest
SHA256 9f21ace5fbdac67f6146ec151838c8b714f6b3a12244c003a6625805c6d10fb5
MD5 0d94d6d5b3d19c2139f9b00056f54310
BLAKE2b-256 31d414cbf3844abf651858bcdc0b222c8e3dd10273ebdd498ad58aaf7b3fbf3b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyadi_iio-0.0.19-py3-none-any.whl
  • Upload date:
  • Size: 188.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for pyadi_iio-0.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 2fe7082016e8238237bf34cf45ed35eba8fcbb7c4c30d5393956ad52c4995126
MD5 f39942a1947568dc6479087ea4841e37
BLAKE2b-256 74fc006e02dc191d3f6f5ceb3c866b4a84f444e1ff8d356eb3f8ad3f6cb46858

See more details on using hashes here.

Supported by

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