Pip S3 Proxy
An HTTP frontend for public and private S3 buckets so that pip can install packages from S3.
It's based on https://github.com/rhelmer/caching-s3-proxy and supports many of the same features. Thank you rhelmer!
It works by wrapping pip. You run 'pipsss' instead of 'pip' - pipsss starts a web server in the background and then passes your CLI parameters to pip. At the moment you need to add an extra-index-url to the command line but in the future we might have pipsss add that itself.
Example:
python setup.py install
(set up your s3 credentials however you like to do that)
pipsss install --extra-index-url http://localhost:8000/my-pypi-bucket my-private-package
You can still use the web server in a standalone mode. It works like caching-s3-proxy.
Example:
python setup.py install
(set up your s3 credentials however you like to do that)
pip-s3-proxy &
curl localhost:8000/my_bucket/v1/my_file.txt
If you want to listen on a different port, just set the PORT variable:
PORT=9999 pip-s3-proxy
Alternatively, you can run under uwsgi. It's safe to use multiple workers processes (the shared file cache uses file locking to allow concurrency):
uwsgi -w proxy.wsgi --http=localhost:8000 --workers=10
If you want to put this behind Nginx or Apache, use a socket instead:
uwsgi -w proxy.wsgi -s /var/run/pip-s3-proxy.sock --workers=10
Then see http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html or http://uwsgi-docs.readthedocs.org/en/latest/Apache.html
Metadata
Release files for pip-s3-proxy 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pip-s3-proxy-0.2.tar.gz | 11.9 kB | Without provenance | Details for pip-s3-proxy-0.2.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pip_s3_proxy-0.2-py3-none-any.whl | Python 3 | none | any | Details for pip_s3_proxy-0.2-py3-none-any.whl |
| pip_s3_proxy-0.2-py2-none-any.whl | Python 2 | none | any | Details for pip_s3_proxy-0.2-py2-none-any.whl |
Total release size: 36.2 kB
Release files / pip-s3-proxy-0.2.tar.gz
| Download URL | pip-s3-proxy-0.2.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9984bd914488e280a09406109c4c2d36e916e935934fe855c507c14ca52bb7d9
|
|
BLAKE2b-256 checksum How to use checksums |
2611fa2e3956877447a6621bf8fac861e20ff2cffed6195d06dd6ef964494689
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.5.9
|
Release files / pip_s3_proxy-0.2-py3-none-any.whl
| Download URL | pip_s3_proxy-0.2-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
547cff4dc770eb8a29a4dc3b9cecbf502bcea424421f808026aef4a77a09672f
|
|
BLAKE2b-256 checksum How to use checksums |
a9b93aac8711ba1291d2106f1129c8546aae35ffc0bc8f1aa91833cb0259cbea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.5.9
|
Release files / pip_s3_proxy-0.2-py2-none-any.whl
| Download URL | pip_s3_proxy-0.2-py2-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
61b5e165e8af0cb07e9bf145bfa85671209eb2da9795d5d17f20cbaa8472d232
|
|
BLAKE2b-256 checksum How to use checksums |
71131cfa226a2e3b98104c82046d1f1c41e349bddba5596e0349c403a6281edf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.5.9
|
Security for pip-s3-proxy 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.