--- /srv/reproducible-results/rbuild-debian/r-b-build.tySCOnAC/b1/libiio_0.24-4_amd64.changes +++ /srv/reproducible-results/rbuild-debian/r-b-build.tySCOnAC/b2/libiio_0.24-4_amd64.changes ├── Files │ @@ -1,10 +1,10 @@ │ │ e33219e66ed0d79f62fb4109329eadbc 88916 debug optional iiod-dbgsym_0.24-4_amd64.deb │ cb5d371cb41027eafa488a2db1765873 33128 net optional iiod_0.24-4_amd64.deb │ b4ec690a427cf27f9af64036fb2f5be5 13320 libdevel optional libiio-dev_0.24-4_amd64.deb │ ab1e31bc96b0517da9afb1f50beb05e1 140960 debug optional libiio-utils-dbgsym_0.24-4_amd64.deb │ fecf4e14634e0e9a9b4d121febfb6c05 73276 libs optional libiio-utils_0.24-4_amd64.deb │ 9327ac9f8e5655ce043bf823ca112c55 162436 debug optional libiio0-dbgsym_0.24-4_amd64.deb │ - e14f16bb831198b9536202bdd333e10d 3746904 doc optional libiio0-doc_0.24-4_all.deb │ + 4a31acbd9ab9fecf5faf4c827fbb9372 3743548 doc optional libiio0-doc_0.24-4_all.deb │ 8aa780d6d34a5fbee0943402d0917bda 49624 libs optional libiio0_0.24-4_amd64.deb │ 7e7f24cb4d11e378eb2dabf7bd690d2e 12972 python optional python3-libiio_0.24-4_all.deb ├── libiio0-doc_0.24-4_all.deb │ ├── file list │ │ @@ -1,3 +1,3 @@ │ │ -rw-r--r-- 0 0 0 4 2023-01-24 02:16:11.000000 debian-binary │ │ --rw-r--r-- 0 0 0 18704 2023-01-24 02:16:11.000000 control.tar.xz │ │ --rw-r--r-- 0 0 0 3728008 2023-01-24 02:16:11.000000 data.tar.xz │ │ +-rw-r--r-- 0 0 0 18692 2023-01-24 02:16:11.000000 control.tar.xz │ │ +-rw-r--r-- 0 0 0 3724664 2023-01-24 02:16:11.000000 data.tar.xz │ ├── control.tar.xz │ │ ├── control.tar │ │ │ ├── ./control │ │ │ │ @@ -1,13 +1,13 @@ │ │ │ │ Package: libiio0-doc │ │ │ │ Source: libiio │ │ │ │ Version: 0.24-4 │ │ │ │ Architecture: all │ │ │ │ Maintainer: A. Maitland Bottoms │ │ │ │ -Installed-Size: 8448 │ │ │ │ +Installed-Size: 8383 │ │ │ │ Depends: libjs-sphinxdoc, libjs-jquery, libjs-underscore │ │ │ │ Section: doc │ │ │ │ Priority: optional │ │ │ │ Multi-Arch: foreign │ │ │ │ Homepage: https://github.com/analogdevicesinc/libiio │ │ │ │ Description: libiio documentation │ │ │ │ Libiio is a library that has been conceived to ease the development of │ │ │ ├── ./md5sums │ │ │ │ ├── ./md5sums │ │ │ │ │┄ Files differ │ ├── data.tar.xz │ │ ├── data.tar │ │ │ ├── file list │ │ │ │ @@ -763,15 +763,15 @@ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2925 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/man1/iio_reg.1.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 5072 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/man1/iio_writedev.1.html │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/man3/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 16899 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/man3/libiio.3.html │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 230 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/.buildinfo │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/_modules/ │ │ │ │ --rw-r--r-- 0 root (0) root (0) 178189 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/_modules/iio.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 176776 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/_modules/iio.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 107835 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/_modules/iio_attr.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 24297 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/_modules/iio_info.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 35704 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/_modules/iio_readdev.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 38511 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/_modules/iio_writedev.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 4058 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/_modules/index.html │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/_sources/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 89 2022-07-08 09:13:06.000000 ./usr/share/doc/libiio0-doc/v0.24/python/_sources/buffer.rst.txt │ │ │ │ @@ -812,28 +812,28 @@ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/_static/js/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 9478 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/_static/js/theme.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 90 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/_static/minus.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 90 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/_static/plus.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 4819 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/_static/pygments.css │ │ │ │ -rw-r--r-- 0 root (0) root (0) 5097 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/_static/sphinx_highlight.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 4782 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/buffer.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9465 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/channel.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 33818 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/context.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 22792 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/device.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 5085 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/channel.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 4816 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/context.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 7983 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/device.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 13451 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/examples.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 19478 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/genindex.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 12644 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/genindex.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 114793 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/iio_attr.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 8927 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/iio_info.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 13191 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/iio_readdev.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 13220 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/iio_writedev.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 7226 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/index.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1033 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/objects.inv │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 728 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/objects.inv │ │ │ │ -rw-r--r-- 0 root (0) root (0) 4773 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/py-modindex.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 4123 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/search.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 21386 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/searchindex.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 14549 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/searchindex.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 15599 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/trigger.html │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-01-24 02:16:11.000000 ./usr/share/doc-base/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 255 2022-09-21 15:59:39.000000 ./usr/share/doc-base/libiio0-doc.libiio0-doc │ │ │ │ lrwxrwxrwx 0 root (0) root (0) 0 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/_static/doctools.js -> ../../../../../javascript/sphinxdoc/1.0/doctools.js │ │ │ │ lrwxrwxrwx 0 root (0) root (0) 0 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/_static/jquery.js -> ../../../../../javascript/jquery/jquery.js │ │ │ │ lrwxrwxrwx 0 root (0) root (0) 0 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/_static/language_data.js -> ../../../../../javascript/sphinxdoc/1.0/language_data.js │ │ │ │ lrwxrwxrwx 0 root (0) root (0) 0 2023-01-24 02:16:11.000000 ./usr/share/doc/libiio0-doc/v0.24/python/_static/searchtools.js -> ../../../../../javascript/sphinxdoc/1.0/searchtools.js │ │ │ ├── ./usr/share/doc/libiio0-doc/v0.24/python/_modules/iio.html │ │ │ │ @@ -187,15 +187,15 @@ │ │ │ │ ("is_be", c_bool), │ │ │ │ ("with_scale", c_bool), │ │ │ │ ("scale", c_double), │ │ │ │ ("repeat", c_uint), │ │ │ │ ] │ │ │ │ │ │ │ │ │ │ │ │ -
[docs]class ChannelModifier(Enum): │ │ │ │ +class ChannelModifier(Enum): │ │ │ │ """Contains the modifier type of an IIO channel.""" │ │ │ │ │ │ │ │ IIO_NO_MOD = 0 │ │ │ │ IIO_MOD_X = 1 │ │ │ │ IIO_MOD_Y = 2 │ │ │ │ IIO_MOD_Z = 3 │ │ │ │ IIO_MOD_X_AND_Y = 4 │ │ │ │ @@ -234,18 +234,18 @@ │ │ │ │ IIO_MOD_LIGHT_DUV = 37 │ │ │ │ IIO_MOD_PM1 = 38 │ │ │ │ IIO_MOD_PM2P5 = 39 │ │ │ │ IIO_MOD_PM4 = 40 │ │ │ │ IIO_MOD_PM10 = 41 │ │ │ │ IIO_MOD_ETHANOL = 42 │ │ │ │ IIO_MOD_H2 = 43 │ │ │ │ - IIO_MOD_O2 = 44
│ │ │ │ + IIO_MOD_O2 = 44 │ │ │ │ │ │ │ │ │ │ │ │ -
[docs]class ChannelType(Enum): │ │ │ │ +class ChannelType(Enum): │ │ │ │ """Contains the type of an IIO channel.""" │ │ │ │ │ │ │ │ IIO_VOLTAGE = 0 │ │ │ │ IIO_CURRENT = 1 │ │ │ │ IIO_POWER = 2 │ │ │ │ IIO_ACCEL = 3 │ │ │ │ IIO_ANGL_VEL = 4 │ │ │ │ @@ -275,15 +275,15 @@ │ │ │ │ IIO_ELECTRICALCONDUCTIVITY = 28 │ │ │ │ IIO_COUNT = 29 │ │ │ │ IIO_INDEX = 30 │ │ │ │ IIO_GRAVITY = 31 │ │ │ │ IIO_POSITIONRELATIVE = 32 │ │ │ │ IIO_PHASE = 33 │ │ │ │ IIO_MASSCONCENTRATION = 34 │ │ │ │ - IIO_CHAN_TYPE_UNKNOWN = 0x7FFFFFFF
│ │ │ │ + IIO_CHAN_TYPE_UNKNOWN = 0x7FFFFFFF │ │ │ │ │ │ │ │ │ │ │ │ # pylint: disable=invalid-name │ │ │ │ _ScanContextPtr = _POINTER(_ScanContext) │ │ │ │ _ContextInfoPtr = _POINTER(_ContextInfo) │ │ │ │ _ContextPtr = _POINTER(_Context) │ │ │ │ _DevicePtr = _POINTER(_Device) │ │ │ │ @@ -832,15 +832,15 @@ │ │ │ │ _d_read_attr(self._device, self._name_ascii, buf, len(buf)) │ │ │ │ return buf.value.decode("ascii") │ │ │ │ │ │ │ │ def _write(self, value): │ │ │ │ _d_write_attr(self._device, self._name_ascii, value.encode("ascii")) │ │ │ │ │ │ │ │ │ │ │ │ -
[docs]class DeviceDebugAttr(DeviceAttr): │ │ │ │ +class DeviceDebugAttr(DeviceAttr): │ │ │ │ """Represents a debug attribute of an IIO device.""" │ │ │ │ │ │ │ │ def __init__(self, device, name): │ │ │ │ """ │ │ │ │ Initialize a new instance of the DeviceDebugAttr class. │ │ │ │ │ │ │ │ :param device: type=iio.Device │ │ │ │ @@ -855,15 +855,15 @@ │ │ │ │ │ │ │ │ def _read(self): │ │ │ │ buf = create_string_buffer(1024) │ │ │ │ _d_read_debug_attr(self._device, self._name_ascii, buf, len(buf)) │ │ │ │ return buf.value.decode("ascii") │ │ │ │ │ │ │ │ def _write(self, value): │ │ │ │ - _d_write_debug_attr(self._device, self._name_ascii, value.encode("ascii"))
│ │ │ │ + _d_write_debug_attr(self._device, self._name_ascii, value.encode("ascii")) │ │ │ │ │ │ │ │ │ │ │ │
[docs]class DeviceBufferAttr(DeviceAttr): │ │ │ │ """Represents a buffer attribute of an IIO device.""" │ │ │ │ │ │ │ │ def __init__(self, device, name): │ │ │ │ """ │ │ │ │ @@ -1323,15 +1323,15 @@ │ │ │ │ _get_rate, │ │ │ │ _set_rate, │ │ │ │ None, │ │ │ │ "Configured frequency (in Hz) of this trigger\n\ttype=int", │ │ │ │ )
│ │ │ │ │ │ │ │ │ │ │ │ -
[docs]class Device(_DeviceOrTrigger): │ │ │ │ +class Device(_DeviceOrTrigger): │ │ │ │ """Contains the representation of an IIO device.""" │ │ │ │ │ │ │ │ def __init__(self, ctx, _device): │ │ │ │ """ │ │ │ │ Initialize a new instance of the Device class. │ │ │ │ │ │ │ │ :param ctx: type=iio.Context │ │ │ │ @@ -1371,18 +1371,18 @@ │ │ │ │ │ │ │ │ @property │ │ │ │ def context(self): │ │ │ │ """ │ │ │ │ Context for the device. │ │ │ │ type: iio.Context │ │ │ │ """ │ │ │ │ - return self.ctx
│ │ │ │ + return self.ctx │ │ │ │ │ │ │ │ │ │ │ │ -
[docs]class Context(object): │ │ │ │ +class Context(object): │ │ │ │ """Contains the representation of an IIO context.""" │ │ │ │ │ │ │ │ def __init__(self, _context=None): │ │ │ │ """ │ │ │ │ Initialize a new instance of the Context class, using the local or the network backend of the IIO library. │ │ │ │ │ │ │ │ returns: type=iio.Context │ │ │ │ @@ -1420,45 +1420,45 @@ │ │ │ │ self._version = (major.value, minor.value, buf.value.decode("ascii")) │ │ │ │ │ │ │ │ def __del__(self): │ │ │ │ """Destroy this context.""" │ │ │ │ if self._context is not None: │ │ │ │ _destroy(self._context) │ │ │ │ │ │ │ │ -
[docs] def set_timeout(self, timeout): │ │ │ │ + def set_timeout(self, timeout): │ │ │ │ """ │ │ │ │ Set a timeout for I/O operations. │ │ │ │ │ │ │ │ :param timeout: type=int │ │ │ │ The timeout value, in milliseconds │ │ │ │ """ │ │ │ │ - _set_timeout(self._context, timeout)
│ │ │ │ + _set_timeout(self._context, timeout) │ │ │ │ │ │ │ │ -
[docs] def clone(self): │ │ │ │ + def clone(self): │ │ │ │ """ │ │ │ │ Clone this instance. │ │ │ │ │ │ │ │ returns: type=iio.LocalContext │ │ │ │ An new instance of this class │ │ │ │ """ │ │ │ │ - return Context(_clone(self._context))
│ │ │ │ + return Context(_clone(self._context)) │ │ │ │ │ │ │ │ -
[docs] def find_device(self, name_or_id_or_label): │ │ │ │ + def find_device(self, name_or_id_or_label): │ │ │ │ """ │ │ │ │ │ │ │ │ Find a IIO device by its name, ID or label. │ │ │ │ │ │ │ │ :param name_or_id_or_label: type=str │ │ │ │ The name, ID or label of the device to find │ │ │ │ │ │ │ │ returns: type=iio.Device or type=iio.Trigger │ │ │ │ The IIO Device │ │ │ │ """ │ │ │ │ dev = _find_device(self._context, name_or_id_or_label.encode("ascii")) │ │ │ │ - return None if bool(dev) is False else Trigger(self, dev) if _d_is_trigger(dev) else Device(self, dev)
│ │ │ │ + return None if bool(dev) is False else Trigger(self, dev) if _d_is_trigger(dev) else Device(self, dev) │ │ │ │ │ │ │ │ name = property( │ │ │ │ lambda self: self._name, None, None, "Name of this IIO context.\n\ttype=str" │ │ │ │ ) │ │ │ │ description = property( │ │ │ │ lambda self: self._description, │ │ │ │ None, │ │ │ │ @@ -1490,63 +1490,63 @@ │ │ │ │ _get_device(self._context, x) │ │ │ │ for x in range(0, _devices_count(self._context)) │ │ │ │ ] │ │ │ │ ], │ │ │ │ None, │ │ │ │ None, │ │ │ │ "List of devices contained in this context.\n\ttype=list of iio.Device and iio.Trigger objects", │ │ │ │ - )
│ │ │ │ + ) │ │ │ │ │ │ │ │ │ │ │ │ -
[docs]class LocalContext(Context): │ │ │ │ +class LocalContext(Context): │ │ │ │ """Local IIO Context.""" │ │ │ │ │ │ │ │ def __init__(self): │ │ │ │ """ │ │ │ │ Initialize a new instance of the Context class, using the local backend of the IIO library. │ │ │ │ │ │ │ │ returns: type=iio.LocalContext │ │ │ │ An new instance of this class │ │ │ │ """ │ │ │ │ ctx = _new_local() │ │ │ │ - super(LocalContext, self).__init__(ctx)
│ │ │ │ + super(LocalContext, self).__init__(ctx) │ │ │ │ │ │ │ │ │ │ │ │ -
[docs]class XMLContext(Context): │ │ │ │ +class XMLContext(Context): │ │ │ │ """XML IIO Context.""" │ │ │ │ │ │ │ │ def __init__(self, xmlfile): │ │ │ │ """ │ │ │ │ Initialize a new instance of the Context class, using the XML backend of the IIO library. │ │ │ │ │ │ │ │ :param xmlfile: type=str │ │ │ │ Filename of the XML file to build the context from │ │ │ │ │ │ │ │ returns: type=iio.XMLContext │ │ │ │ An new instance of this class │ │ │ │ """ │ │ │ │ ctx = _new_xml(xmlfile.encode("ascii")) │ │ │ │ - super(XMLContext, self).__init__(ctx)
│ │ │ │ + super(XMLContext, self).__init__(ctx) │ │ │ │ │ │ │ │ │ │ │ │ -
[docs]class NetworkContext(Context): │ │ │ │ +class NetworkContext(Context): │ │ │ │ """Network IIO Context.""" │ │ │ │ │ │ │ │ def __init__(self, hostname=None): │ │ │ │ """ │ │ │ │ Initialize a new instance of the Context class, using the network backend of the IIO library. │ │ │ │ │ │ │ │ :param hostname: type=str │ │ │ │ Hostname, IPv4 or IPv6 address where the IIO Daemon is running │ │ │ │ │ │ │ │ returns: type=iio.NetworkContext │ │ │ │ An new instance of this class │ │ │ │ """ │ │ │ │ ctx = _new_network(hostname.encode("ascii") if hostname is not None else None) │ │ │ │ - super(NetworkContext, self).__init__(ctx)
│ │ │ │ + super(NetworkContext, self).__init__(ctx) │ │ │ │ │ │ │ │ │ │ │ │ def scan_contexts(): │ │ │ │ """Scan Context.""" │ │ │ │ scan_ctx = dict() │ │ │ │ ptr = _POINTER(_ContextInfoPtr)() │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -131,15 +131,15 @@ │ │ │ │ │ ("is_be", c_bool), │ │ │ │ │ ("with_scale", c_bool), │ │ │ │ │ ("scale", c_double), │ │ │ │ │ ("repeat", c_uint), │ │ │ │ │ ] │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ -[docs]class ChannelModifier(Enum): │ │ │ │ │ +class ChannelModifier(Enum): │ │ │ │ │ """Contains the modifier type of an IIO channel.""" │ │ │ │ │ │ │ │ │ │ IIO_NO_MOD = 0 │ │ │ │ │ IIO_MOD_X = 1 │ │ │ │ │ IIO_MOD_Y = 2 │ │ │ │ │ IIO_MOD_Z = 3 │ │ │ │ │ IIO_MOD_X_AND_Y = 4 │ │ │ │ │ @@ -181,16 +181,15 @@ │ │ │ │ │ IIO_MOD_PM4 = 40 │ │ │ │ │ IIO_MOD_PM10 = 41 │ │ │ │ │ IIO_MOD_ETHANOL = 42 │ │ │ │ │ IIO_MOD_H2 = 43 │ │ │ │ │ IIO_MOD_O2 = 44 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ │ -[docs]class ChannelType(Enum): │ │ │ │ │ +class ChannelType(Enum): │ │ │ │ │ """Contains the type of an IIO channel.""" │ │ │ │ │ │ │ │ │ │ IIO_VOLTAGE = 0 │ │ │ │ │ IIO_CURRENT = 1 │ │ │ │ │ IIO_POWER = 2 │ │ │ │ │ IIO_ACCEL = 3 │ │ │ │ │ IIO_ANGL_VEL = 4 │ │ │ │ │ @@ -223,15 +222,14 @@ │ │ │ │ │ IIO_GRAVITY = 31 │ │ │ │ │ IIO_POSITIONRELATIVE = 32 │ │ │ │ │ IIO_PHASE = 33 │ │ │ │ │ IIO_MASSCONCENTRATION = 34 │ │ │ │ │ IIO_CHAN_TYPE_UNKNOWN = 0x7FFFFFFF │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ │ # pylint: disable=invalid-name │ │ │ │ │ _ScanContextPtr = _POINTER(_ScanContext) │ │ │ │ │ _ContextInfoPtr = _POINTER(_ContextInfo) │ │ │ │ │ _ContextPtr = _POINTER(_Context) │ │ │ │ │ _DevicePtr = _POINTER(_Device) │ │ │ │ │ _ChannelPtr = _POINTER(_Channel) │ │ │ │ │ _BufferPtr = _POINTER(_Buffer) │ │ │ │ │ @@ -783,15 +781,15 @@ │ │ │ │ │ _d_read_attr(self._device, self._name_ascii, buf, len(buf)) │ │ │ │ │ return buf.value.decode("ascii") │ │ │ │ │ │ │ │ │ │ def _write(self, value): │ │ │ │ │ _d_write_attr(self._device, self._name_ascii, value.encode("ascii")) │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ -[docs]class DeviceDebugAttr(DeviceAttr): │ │ │ │ │ +class DeviceDebugAttr(DeviceAttr): │ │ │ │ │ """Represents a debug attribute of an IIO device.""" │ │ │ │ │ │ │ │ │ │ def __init__(self, device, name): │ │ │ │ │ """ │ │ │ │ │ Initialize a new instance of the DeviceDebugAttr class. │ │ │ │ │ │ │ │ │ │ :param device: type=iio.Device │ │ │ │ │ @@ -810,15 +808,14 @@ │ │ │ │ │ return buf.value.decode("ascii") │ │ │ │ │ │ │ │ │ │ def _write(self, value): │ │ │ │ │ _d_write_debug_attr(self._device, self._name_ascii, value.encode │ │ │ │ │ ("ascii")) │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ │ [docs]class DeviceBufferAttr(DeviceAttr): │ │ │ │ │ """Represents a buffer attribute of an IIO device.""" │ │ │ │ │ │ │ │ │ │ def __init__(self, device, name): │ │ │ │ │ """ │ │ │ │ │ Initialize a new instance of the DeviceBufferAttr class. │ │ │ │ │ │ │ │ │ │ @@ -1303,15 +1300,15 @@ │ │ │ │ │ _set_rate, │ │ │ │ │ None, │ │ │ │ │ "Configured frequency (in Hz) of this trigger\n\ttype=int", │ │ │ │ │ ) │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ -[docs]class Device(_DeviceOrTrigger): │ │ │ │ │ +class Device(_DeviceOrTrigger): │ │ │ │ │ """Contains the representation of an IIO device.""" │ │ │ │ │ │ │ │ │ │ def __init__(self, ctx, _device): │ │ │ │ │ """ │ │ │ │ │ Initialize a new instance of the Device class. │ │ │ │ │ │ │ │ │ │ :param ctx: type=iio.Context │ │ │ │ │ @@ -1356,16 +1353,15 @@ │ │ │ │ │ """ │ │ │ │ │ Context for the device. │ │ │ │ │ type: iio.Context │ │ │ │ │ """ │ │ │ │ │ return self.ctx │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ │ -[docs]class Context(object): │ │ │ │ │ +class Context(object): │ │ │ │ │ """Contains the representation of an IIO context.""" │ │ │ │ │ │ │ │ │ │ def __init__(self, _context=None): │ │ │ │ │ """ │ │ │ │ │ Initialize a new instance of the Context class, using the local or the │ │ │ │ │ network backend of the IIO library. │ │ │ │ │ │ │ │ │ │ @@ -1407,50 +1403,47 @@ │ │ │ │ │ self._version = (major.value, minor.value, buf.value.decode("ascii")) │ │ │ │ │ │ │ │ │ │ def __del__(self): │ │ │ │ │ """Destroy this context.""" │ │ │ │ │ if self._context is not None: │ │ │ │ │ _destroy(self._context) │ │ │ │ │ │ │ │ │ │ -[docs] def set_timeout(self, timeout): │ │ │ │ │ + def set_timeout(self, timeout): │ │ │ │ │ """ │ │ │ │ │ Set a timeout for I/O operations. │ │ │ │ │ │ │ │ │ │ :param timeout: type=int │ │ │ │ │ The timeout value, in milliseconds │ │ │ │ │ """ │ │ │ │ │ _set_timeout(self._context, timeout) │ │ │ │ │ │ │ │ │ │ - │ │ │ │ │ -[docs] def clone(self): │ │ │ │ │ + def clone(self): │ │ │ │ │ """ │ │ │ │ │ Clone this instance. │ │ │ │ │ │ │ │ │ │ returns: type=iio.LocalContext │ │ │ │ │ An new instance of this class │ │ │ │ │ """ │ │ │ │ │ return Context(_clone(self._context)) │ │ │ │ │ │ │ │ │ │ - │ │ │ │ │ -[docs] def find_device(self, name_or_id_or_label): │ │ │ │ │ + def find_device(self, name_or_id_or_label): │ │ │ │ │ """ │ │ │ │ │ │ │ │ │ │ Find a IIO device by its name, ID or label. │ │ │ │ │ │ │ │ │ │ :param name_or_id_or_label: type=str │ │ │ │ │ The name, ID or label of the device to find │ │ │ │ │ │ │ │ │ │ returns: type=iio.Device or type=iio.Trigger │ │ │ │ │ The IIO Device │ │ │ │ │ """ │ │ │ │ │ dev = _find_device(self._context, name_or_id_or_label.encode("ascii")) │ │ │ │ │ return None if bool(dev) is False else Trigger(self, dev) if │ │ │ │ │ _d_is_trigger(dev) else Device(self, dev) │ │ │ │ │ │ │ │ │ │ - │ │ │ │ │ name = property( │ │ │ │ │ lambda self: self._name, None, None, "Name of this IIO │ │ │ │ │ context.\n\ttype=str" │ │ │ │ │ ) │ │ │ │ │ description = property( │ │ │ │ │ lambda self: self._description, │ │ │ │ │ None, │ │ │ │ │ @@ -1486,32 +1479,30 @@ │ │ │ │ │ None, │ │ │ │ │ None, │ │ │ │ │ "List of devices contained in this context.\n\ttype=list of iio.Device │ │ │ │ │ and iio.Trigger objects", │ │ │ │ │ ) │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ │ -[docs]class LocalContext(Context): │ │ │ │ │ +class LocalContext(Context): │ │ │ │ │ """Local IIO Context.""" │ │ │ │ │ │ │ │ │ │ def __init__(self): │ │ │ │ │ """ │ │ │ │ │ Initialize a new instance of the Context class, using the local backend │ │ │ │ │ of the IIO library. │ │ │ │ │ │ │ │ │ │ returns: type=iio.LocalContext │ │ │ │ │ An new instance of this class │ │ │ │ │ """ │ │ │ │ │ ctx = _new_local() │ │ │ │ │ super(LocalContext, self).__init__(ctx) │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ │ -[docs]class XMLContext(Context): │ │ │ │ │ +class XMLContext(Context): │ │ │ │ │ """XML IIO Context.""" │ │ │ │ │ │ │ │ │ │ def __init__(self, xmlfile): │ │ │ │ │ """ │ │ │ │ │ Initialize a new instance of the Context class, using the XML backend │ │ │ │ │ of the IIO library. │ │ │ │ │ │ │ │ │ │ @@ -1521,16 +1512,15 @@ │ │ │ │ │ returns: type=iio.XMLContext │ │ │ │ │ An new instance of this class │ │ │ │ │ """ │ │ │ │ │ ctx = _new_xml(xmlfile.encode("ascii")) │ │ │ │ │ super(XMLContext, self).__init__(ctx) │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ │ -[docs]class NetworkContext(Context): │ │ │ │ │ +class NetworkContext(Context): │ │ │ │ │ """Network IIO Context.""" │ │ │ │ │ │ │ │ │ │ def __init__(self, hostname=None): │ │ │ │ │ """ │ │ │ │ │ Initialize a new instance of the Context class, using the network │ │ │ │ │ backend of the IIO library. │ │ │ │ │ │ │ │ │ │ @@ -1541,15 +1531,14 @@ │ │ │ │ │ An new instance of this class │ │ │ │ │ """ │ │ │ │ │ ctx = _new_network(hostname.encode("ascii") if hostname is not None │ │ │ │ │ else None) │ │ │ │ │ super(NetworkContext, self).__init__(ctx) │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ │ │ def scan_contexts(): │ │ │ │ │ """Scan Context.""" │ │ │ │ │ scan_ctx = dict() │ │ │ │ │ ptr = _POINTER(_ContextInfoPtr)() │ │ │ │ │ │ │ │ │ │ ctx = _create_scan_context(None, 0) │ │ │ │ │ ctx_nb = _get_context_info_list(ctx, _byref(ptr)) │ │ │ ├── ./usr/share/doc/libiio0-doc/v0.24/python/channel.html │ │ │ │ @@ -42,19 +42,15 @@ │ │ │ │ │ │ │ │ @@ -85,26 +81,14 @@ │ │ │ │

Channels

│ │ │ │
│ │ │ │

Members

│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │

Channel attributes

│ │ │ │ -
│ │ │ │ -
│ │ │ │ -class iio.ChannelModifier(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
│ │ │ │ -

Contains the modifier type of an IIO channel.

│ │ │ │ -
│ │ │ │ - │ │ │ │ -
│ │ │ │ -
│ │ │ │ -class iio.ChannelType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
│ │ │ │ -

Contains the type of an IIO channel.

│ │ │ │ -
│ │ │ │ - │ │ │ │
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │