This project is Type Support (typings) for LibreOffice ScriptForge
At the time of this writing there is no other PyPi package for ScriptForge. It is not necessary to have a ScriptForge package to take advantage of ScriptForge Typings.
ScriptForge lives inside of LibreOffice. Using these typings in a modern development IDE will give type Support for the ScriptForge library.
This project leverages types-unopy that gives full typing support for LibreOffice API. This allows full type support for ScriptForge and LibreOffice API.
These Typings are created for LibreOffice 7.6.
types-scriptforge PyPI
$ pip install types-scriptforgeScriptForge Docs on LibreOffice Help.
While this version will also work with previous version of ScriptForge, not all methods/functions are available in previous versions that are part of this typing library.
To install for version 7.5.
$ pip install "types-scriptforge>=2.0,<3.0"To install for version 7.4.
$ pip install "types-scriptforge>=1.1,<2.0"To install for version 7.3.
$ pip install "types-scriptforge<1.1"Figure 1: ScriptForge typings example
After of version 3.0 of types-scriptforge a new version scheme is used that now matches the version release of LibreOffice and ScriptForge.
So types-scriptforge version 7.6 is for LibreOffice version 7.6, types-scriptforge version 7.7 is for LibreOffice version 7.7
and so on.
