GH Python Remote is a special component that lets you use regular Python code directly in the GHPython component, like importing Numpy, Scipy, matlplotib et al. It is developed by Pierre Cuvilliers at MIT.
GH Python Remote works by connecting GHPython to an external instance of Python that runs all the usual programs. This augments the GHPython component to get the best of both worlds: your code will be able to call both RhinoCommon functions and regular Python packages from the same script. The dependencies are as limited as possible, and the installation is two command lines only. The connection between GHPython and the remote Python is as fast as possible, and does not slow down when the size of your objects increases.
The component is still very flexible. For example, it will also let you connect to Python servers running on external machines, bringing the power of the cloud to your Grasshopper. Another example: it also works the other way, controlling Rhino and GHPython from an external Python program. And it's all open source!
pip install gh-python-remote --upgrade --process-dependency-links --no-binary=:all:
python -m ghpythonremote._configure_ironpython_installation