I am developing a Python library and I need to make it available from GCP Notebook.
Is it possible? How?
Details:
- I use Pipenv to manage my library dependencies. Currently my library source code exists in local and in a private git repository. So it is not in PyPI.
- My code has multiple module files in nested directories.
- My library's dependencies exist in PyPI.
Using Pipenv, the dependencies are described in Pipefile.
This is the type of my Jupyter VM instance : https://cloud.google.com/deep-learning-vm
And this is some interesting structure I could find using SSH from Google console :
$ ls /opt/deeplearning/
bin binaries deps jupyter metadata proxy-agent-config.json restriction src workspace
- I envisage to install my library (using
pip
or something else) to be able to import its modules from the notebooks. - I need that all the dependencies of my library to be installed when installing the library.
- If the Python Packages Index is public, I don't want to publish my library in it being proprietary.
Thank you.