cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

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

1 ACCEPTED SOLUTION

Accepted Solutions

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

2 REPLIES 2

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

adrjuju
New Contributor II

Thanks for the solution

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group