A Python library to interact with the Termux:GUI plugin.
See here for a tutorial and here for using the more object-oriented subpackage.
There is also documentation generated from the docstrings.
Just use pip install termuxgui
to install from pypi.
The license is the Mozilla Public License 2.0.
TL;DR: You can use this library in your own projects, regardless of the license you choose for it. Modifications to this library have to be published under the MPL 2.0 (or a GNU license in some cases) though.