Skip to main content

Library for interfacing with Linux IIO devices

Project description

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.

Linux / macOS

For Linux and macOS the python bindings need to be installed through source if not using pip. For v0.20 and beyond this requires the -DPYTHON_BINDINGS=ON flag during the cmake configuration. Further documentation is located here.

Windows

Only pip installation is supported.

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

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

pylibiio-0.25.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

pylibiio-0.25-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file pylibiio-0.25.tar.gz.

File metadata

  • Download URL: pylibiio-0.25.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for pylibiio-0.25.tar.gz
Algorithm Hash digest
SHA256 f2615ab20093ec8ca87417f1e38dfdca1baa21a719328f4b27d28c99b1d23eb5
MD5 e3821ea591fd2198f858caf79265df3e
BLAKE2b-256 4327ac30c489e86bd297111b09242b19aa05e470dfef8725a233346e9d67c642

See more details on using hashes here.

File details

Details for the file pylibiio-0.25-py3-none-any.whl.

File metadata

  • Download URL: pylibiio-0.25-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for pylibiio-0.25-py3-none-any.whl
Algorithm Hash digest
SHA256 e49a0b317c9d4df100f4a2540e5aa6201222c3bd5495b296237e6598466afad1
MD5 63fe5ae2c1c05e6b85d206828fd66703
BLAKE2b-256 68a134bea2ef5bc4561e3c16506ff09ef157625771e7cb567e88711075c0b9a4

See more details on using hashes here.

Supported by

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