pynopeglΒΆ
pynopegl is the Python binding for libnopegl. It is
automatically generated from to the libnopegl
node specifications file. For
detailed information on how the pynopegl
binding is created, refer to the
corresponding pynopegl explanation.
In order to use the pynopegl
, you will have to rely on the reference node
specifications. The Python binding classes and parameters are
directly named after the names found in the specifications. For example, to get
an instance of a Group, one has to instantiate a Group
such as g = Group(children=(r1, r2, r3))
.
Parameters in constructorsΒΆ
In the constructors, the expected Python parameter types follow this table:
Parameter type |
Python type |
Example |
---|---|---|
|
|
|
|
Iterable such as |
|
All the others |
|
|
Parameter type to method correspondenceΒΆ
Every parameter also has a setter method associated, named according to the parameter name and its type.
Parameter type |
Node method |
Python type |
Example |
---|---|---|---|
|
|
|
|
|
|
positional arguments |
|
All the others |
|
positional arguments |
|