How to import a proprietary library for functions?

I have a library that is developed and stored in an artifactory-like system. I want to be able to use this private library in my Foundry enrollement, to use it in functions (e.g. python or typescript functions).

How can I import this library ? Or any library in this artifactory-like system ?