Files
gitea-pages/services-user-guide/python.md

16 lines
764 B
Markdown

# 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