diff --git a/_toc.yml b/_toc.yml index 3de5d3c3..ac9dfc94 100644 --- a/_toc.yml +++ b/_toc.yml @@ -168,6 +168,7 @@ chapters: - file: services-user-guide/index sections: + - file: services-user-guide/python - file: services-user-guide/ssh_gateways - file: services-user-guide/unix_groups - file: services-user-guide/nx_nomachine diff --git a/services-user-guide/python.md b/services-user-guide/python.md new file mode 100644 index 00000000..b3dd246a --- /dev/null +++ b/services-user-guide/python.md @@ -0,0 +1,15 @@ +# Python + +## Package Caching Proxy + +Instead of accessing pypi.org directly PSI provides a caching proxy for pypi packages. There are several advantages in using this instead of directly accessing pypi.org: + +1. Speed - the caching proxy might/will improve the dependency resolution and download speed for installing packages +2. Once downloaded/installed packages will still be available even if they are not accessible on the internet again. +3. Accessibility - pypi.psi.ch is accessible from all PSI networks (including the onces without internet access) + +### Usage +The url to use the CachingProxy is: https://pypi.psi.ch/simple: + +You can manually specify the url while using the `pip` command as follows: +pip install --index-url=https://pypi.psi.ch/simple pandas