Skip to main content

Tornado PyPi server

Project description

https://travis-ci.org/mosquito/pypi-server.svg?branch=master Latest Version https://img.shields.io/pypi/wheel/pypi-server.svg https://img.shields.io/pypi/pyversions/pypi-server.svg https://img.shields.io/pypi/l/pypi-server.svg

Fast asynchronous pypi server implementation.

What is this?

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.

Screenshots

screenshots/packages.png?raw=true screenshots/users.png?raw=true screenshots/create_user.png?raw=true

Features

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)

Installation

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-devel

Debian (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-dev

Install pypi-server:

pip install pypi-server

If you want to support postgres or mysql database:

pip install 'pypi-server[postgres]' # or 'pypi-server[mysql]'

Download files

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

Source Distribution

pypi-server-0.3.28.tar.gz (696.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page