GIMP 2.99.13 gimpfu typeshed stubs for GIMP's GObject Introspection modules. Useful for auto-completion for default modules in external editors like VSCode.
The gi
folder should be copied to c:\Program Files\GIMP2.99\lib\python3.10\site-packages\
VSCode will see the modules with this setting in preferences:
"python.analysis.extraPaths": [
"c:\\Program Files\\GIMP2.99\\lib\\python3.10\\",
"c:\\Program Files\\GIMP2.99\\lib\\python3.10\\site-packages\\"
],
Where c:\Program Files\GIMP2.99
is GIMP installation location.
This was made using mypy's stubgen
tool over modules generated by extract_modules.py tool. This version doesn't just slap *args, **kwargs
on everything but tries to properly restore function signatures where possible.