Skip to main content

Turn an S3 bucket into a PyPI repo

Project description

S3 PyPI Proxy

Local PEP 503 compatible PyPI index proxy, backed by S3.

Packages must be stored under the S3 bucket in the following structure ({package_name}/{filename}):

some-s3-bucket/
  secret-package/
    secret_package-0.0.1-py3-none-any.whl
    ...
  ...
...

Installation

$ pip install s3-pypi-proxy

Usage

  1. Configure AWS credentials.

  2. Start the proxy, optionally referencing a credential profile:

$ s3-pypi-proxy --profile-name dev
  1. Use the proxy to install packages:
$ pip install --extra-index-url=http://localhost:5000/some-s3-bucket/simple/ secret-package

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

s3-pypi-proxy-0.0.2.tar.gz (4.7 kB view hashes)

Uploaded source

Built Distribution

s3_pypi_proxy-0.0.2-py3-none-any.whl (5.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page