Skip to content

Minimal pypi web server that proxies all requests to an S3 bucket

License

Notifications You must be signed in to change notification settings

msf/go-minipypi

Repository files navigation

go-minipypi

A bare minimum implementation of a PyPI server that proxies all requests to an S3 bucket.

This was implemented by looking what was required to get pip install commands such as this one working:

pip install -v --no-index --find-links=http://localhost:8080/ -r requirements.txt

Installation

  1. Install go 1.11 or later.

  2. Clone this repository to somewhere outside of your GOPATH.

  3. Build the code:

    go build .
  4. Run it:

    ./go-minipypi
    

Notes:

It requires a config file, see config.yml. Drop the credentialsfile parameter to use the default AWS credentials chain.

About

Minimal pypi web server that proxies all requests to an S3 bucket

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages