Python binding for TermUI library.
There are multiple ways to use this binding:
-
Check Releases, there may already be a compiled wheel for your system/pyversion.
You'll be able to "pip install ${WHL_URL}" or add the URL to a requirements.txt.
-
Build a wheel yourself.
pip install --upgrade build python -m build
Will build a wheel and leave it in dist/, which you can then install or distribute yourself.
The installed library is imported using import pytermui.
The API for PyTermui is very similar to the CPP version. Methods that return ptrs and smart ptrs are not pybound at present.
In addition constructors and functions that would have optional arguments in the C++ library, are currently all mandatory.
To understand which interfaces and elements are shipped with TermUI, visit the docs.