Hi all,
I’m new to python development and I’m wondering how it can be integrated into a Grasshopper plugin.
Out team develops Grasshopper plugins for in-house use. One of our developers uses python libraries to work with large data sets and AI and we would like to integrate his work into one Grasshopper plugin. We have many internal users and don’t want them to be bothered with installing Python or any other library, but rather seamlessly using the tool as any other GH plugin.
Given that, I started researching some options and some questions have arised:
-
Is this already possible using the ScriptEditor to release a .yak package? Does it pack all required project python libraries into the .gha? I tried locally with success, but the plugin failed to load on an external machine without the python package
-
Can this be done using our regular development workflow (using Visual Studio/C# to create the .gha)? Maybe with PyInstaller or py2exe to pack the python code into an executable that is used by the Grasshopper component?
-
Any other suggestions? (i.e. the Grasshopper components actually calls webservice that runs the python code)