8000 GitHub - toorosan/pypi-server: Tornado based server like pypi.python.org. With caching from pypi. · GitHub
[go: up one dir, main page]

Skip to content

About

Tornado based server like pypi.python.org. With caching from pypi.

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

61 Commits

Folders and files

Repository files navigation

PYPI Server

https://travis-ci.org/mosquito/pypi-server.svg?branch=master Latest Version

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]'

About

Tornado based server like pypi.python.org. With caching from pypi.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0