Fast asynchronous pypi server implementation.
pypi.python.org - is a global package repository of the python packages. This package is a self-hosted pypi service with caching functionallity from the global pypi.
HTTP proxy can't works with XML-RPC of pypi.python.org.
Supports right now:
- Caching packages from global-pypi
- Serving own packages (registering and updating)
- Password authentication for registering and uploading
- Supported Databases:
- Postgresql
- Mysql (mariadb)
- sqlite3 (default)
First prepare you system.
Centos:
# Install compillers
yum groupinstall -y "Development tools"
# Install dependency headers
yum install -y python-pip python-devel libxml2-devel libxslt-devel libffi-devel
# Install the database library headers (if you use postgresql)
yum install -y libpqxx-develDebian (Ubuntu):
# Install compillers
apt-get install -y build-essential
apt-get install -y python-dev python-pip libxml2-dev libxslt-dev libffi-dev
apt-get install -y libpq-devInstall pypi-server:
pip install pypi-serverIf you want to support postgres or mysql database:
pip install 'pypi-server[postgres]' # or 'pypi-server[mysql]'