litgen: a new automatic binding generation tool, with extensive documentation (can also be used online, with no install) #4979
pthom
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to announce litgen, an automatic python bindings generator using pybind11.
litgen puts a strong emphasis on emitting documented and discoverable code, thus providing a great experience for the final python user. It is based on srcML.
Here is an example when using bindings generated by litgen inside a python IDE:
Example of auto-completion in an IDE: all bindings are discoverable
Parameters type are accurately reproduced, and the function documentation is accessible
In the example above, the bindings were generated from the following C++ function signature:
And the generated code consists of two parts:
It comes with an extensive documentation, and supports a wide range of features
It can be installed locally (
pip install litgen
) or used online with no installIf you have some feedback, I'd be very happy to read it!
Beta Was this translation helpful? Give feedback.
All reactions