pysigrok
0.5.2
Python bindings for libsigrok
|
The pysigrok API provides an object-oriented Python interface to the functionality in libsigrok. It is built on top of the libsigrokcxx C++ API.
Usage of the pysigrok API needs to begin with a call to Context.create(). This will create the global libsigrok context and returns a Context object. Methods on this object provide access to the hardware drivers, input and output formats supported by the library, as well as means of creating other objects such as sessions and triggers.
When any libsigrok C API call returns an error, an Error exception is raised, which provides access to the error code and description.