Access iio-sensorproxy from python

Hello everybody,

I would like to read my flipbook sensors within a python code.
I discovered this library: https://gitlab.freedesktop.org/hadess/iio-sensor-proxy, but my programming skills are too low to allow me to understand how to call it from python.

Could you please give me some pointers?
Many thanks in advance

iio-sensors-proxy exports information over D-Bus. The monitor-sensor program included with iio-sensors-proxy can be used as reference to available properties and how to query/parse them and there is a lot of boiler plate code for using D-Bus in Python. Actually monitor-sensor probably translates one-to-one into Python with GDbus.

Thanks for the suggestion, I’m now looking into that. It seems that I could probably achieve the same results with some bash scripting, in my case is going to be qdbus though