add section for pypi caching proxy
This commit is contained in:
15
services-user-guide/python.md
Normal file
15
services-user-guide/python.md
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user