I previously posted about the work Microsoft has done to open source the compilers of Visual TrueType. The first version included a command line tool that could be used to compile VTT source to binary.
We added a Python interface to the project allowing Python applications to access the compilers of Visual TrueType. It's the same C++ source code packaged as a Cython based Python extension. The GitHub workflow builds the project for Windows, MacOS and Linux.
More information is available at the GitHub project https://github.com/microsoft/VisualTrueType
. The built packages are available on the PyPi page https://pypi.org/project/vttcompilepy/