Python stubs for .NET assemblies that ship with Rhino. Specifically
See the following posts for details about the purpose of these packages:
Open your project in VSCode
Open a terminal
Depending on the python package manager that you are using, install the stub python packages into your project environment. Examples below use the pipenv
package manager.
$ pipenv install Rhino-stubs
$ pipenv install Grasshopper-stubs
Now you can import Rhino
or Grasshopper
and use the autocomplete