File: index.rst

package info (click to toggle)
libiio 0.26-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,832 kB
  • sloc: ansic: 21,880; python: 1,844; cs: 1,232; sh: 1,062; cpp: 688; yacc: 441; xml: 192; lex: 172; makefile: 40
file content (52 lines) | stat: -rw-r--r-- 957 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
libiio Python Bindings
==================================

Python bindings for the `Industrial I/O <../index.html>`_ interface library. 

Installation
==================

The libiio python bindings can be installed from pip

.. code-block:: bash

  (sudo) pip install pylibiio

or by grabbing the source directly

.. code-block:: bash

  git clone https://github.com/analogdevicesinc/libiio.git
  cd bindings/python
  (sudo) python3 setup.py install

.. note::

  On Linux the libiio python bindings are sometimes installed in locations not on path. On Ubuntu this is a common fix

  .. code-block:: bash

    export PYTHONPATH=$PYTHONPATH:/usr/lib/python{python-version}/site-packages

.. toctree::
   :maxdepth: 1
   :caption: Contents:

Components
==================
.. toctree::
   :maxdepth: 1

   context
   buffer
   device
   channel
   trigger
   examples

Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`