The heavy-duty way to do this would be to actually release functions in some public package, but pip can also install packages directly from GitHub, so that's one possible alternative.
Currently we're using a %%writefile line magic hack to write the local modules from within the Colab, which makes the hosted runtime and local runtimes run identically (except for the line magic).
The heavy-duty way to do this would be to actually release functions in some public package, but
pip
can also install packages directly from GitHub, so that's one possible alternative.Currently we're using a
%%writefile
line magic hack to write the local modules from within the Colab, which makes the hosted runtime and local runtimes run identically (except for the line magic).