Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
local pypi server (custom packages and auto-mirroring of pypi)
Python CSS HTML Other
Branch: master
Clone or download
mvantellingen Merge pull request #195 from mikedingjan/pin-kombu-version
Add pinned kombu==4.1.0 to prevent keyerrors with async module
Latest commit 61be1bb Apr 30, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docker Enable post buffering Nov 25, 2017
docs Remove badges from the sphinx docs Feb 28, 2017
src/localshop Fix refresh repository button Mar 14, 2018
tests Refactor refreshing repository packages Feb 6, 2018
.coveragerc management: add tests for `runner` module May 25, 2015
.dockerignore Create new Dockerfile with first-class support Nov 19, 2017
.editorconfig Add editorconfig file Nov 19, 2017
.gitignore Update gitignore Nov 19, 2017
.travis.yml Fix travis hopefully (try 1 of ???) Nov 18, 2017
AUTHORS Update references to the github repo Feb 28, 2017
CHANGES Update changelog Nov 19, 2017
CONTRIBUTING.md Add contributing file Feb 28, 2017
Dockerfile Create new Dockerfile with first-class support Nov 19, 2017
LICENSE Update year clause in the copyright and add 'and individual contribut… Nov 19, 2017
MANIFEST.in tweak manifest file Nov 19, 2017
Makefile Update makefile by adding more targets Nov 19, 2017
Procfile Added simple Procfile Apr 27, 2015
Procfile.dev Rename Procefile.dev -> Procfile.dev Nov 18, 2017
README.rst Update the readme Nov 19, 2017
azure-pipelines.yml Set up CI with Azure Pipelines Apr 25, 2019
docker-compose.yml Update docker configs Jun 10, 2015
manage.py Re-added localshop.runner module to have a localshop CLI tool as an a… Dec 27, 2012
requirements.txt Move dependencies to setup.py May 17, 2015
setup.cfg Flake8 Nov 19, 2017
setup.py Add missing requests_toolbelt dependency for tests Apr 30, 2019
tox.ini Fix travis hopefully (try 1 of ???) Nov 18, 2017

README.rst

localshop

Latest Version https://travis-ci.org/mvantellingen/localshop.svg?branch=master http://codecov.io/github/mvantellingen/localshop/coverage.svg?branch=master

A PyPI server which automatically proxies and mirrors PyPI packages based upon packages requested. It has support for multiple indexes and team based access and also supports the uploading of local (private) packages.

The full documentation is available on Read The Docs

Getting started

When you want to host it on AWS with the Azure AD oauth2 server use:

docker run
-e DATABASE_URL=postgresql://user:password@host/database -e SECRET_KEY=<secret-key-for-django> -e LOCALSHOP_FILE_STORAGE=storages.backends.s3boto.S3BotoStorage -e LOCALSHOP_FILE_BUCKET_NAME=<your-aws-s3-bucket> -e OAUTH2_PROVIDER=azuread-oauth2 -e OAUTH2_APPLICATION_ID=<your-oauth2-app-id> -e OAUTH2_SECRET_KEY=<your-oauth2-secret-key> mvantellingen/localshop

If you want more flexibility you can load your custom settings file by mounting a docker volume and creating a localshop.conf.py. This file will be loaded by localshop at the end of the settings file.

docker run
-e DATABASE_URL=postgresql://user:password@host/database -e SECRET_KEY=<secret-key-for-django> -v $(PWD)/config:/home/localshop/conf/ mvantellingen/localshop
You can’t perform that action at this time.