Custom library in clean rooms

adrjuju
New Contributor II

Hello Hello ! 

I want to use a clean room to run some algorithms developed for one of my customer without exchanging any data, the code is stored as a python library in a private git repo connected to databricks. 

1 - We'd like to import the library in the clean rooms but we cannot find how to do that any idea ? The lib is not accessible through pip

 

2 - Ideally, in the clean room, we'd like to keep our code secret ( for IP reasons ) do you see any way to achieve that ? 

 

Best

Alberto_Umana
Databricks Employee
Databricks Employee

Hi @adrjuju,

Have you tried this approach? 

!git clone https://<username>:<token>@<repository_url>.git
!pip install /path/to/cloned/repository

View solution in original post

adrjuju
New Contributor II

Thanks for the solution