How to roll my own pypi?

后端 未结 10 2052
名媛妹妹
名媛妹妹 2020-11-27 14:53

I would like to run my own internal pypi server, for egg distribution within my organization.

I have found a few projects, such as:

  • http://pypi.python
相关标签:
10条回答
  • 2020-11-27 14:59

    Another missing from this (oldish) list:

    djangopypi

    Django based, which might be a slight overkill, but I love django and it makes it extremely simple to modify it to your need should it not be satisfying.

    0 讨论(0)
  • 2020-11-27 14:59

    And crate source code is available, though documentation is, least that can be said, not-existent:

    Crate.Web

    It's a Django Application providing a Python Package Index. Uses a couple other packages from https://github.com/crateio so you might be able to roll out your own version without django.

    I'm specifically thinking about a static one, I always thought there should be a very easy way to go explore directly some [pre-configured] repositories and shop cheese directly from my github/bitbucket public and private repos, with just a simple (gunicorn) process running.

    0 讨论(0)
  • 2020-11-27 15:03

    For light-weight solution, use pypiserver.

    0 讨论(0)
  • 2020-11-27 15:03

    I ran into the same problem, and ClueReleaseManager solved the problem of hosting an internal PyPI server/custom Python repository for me.

    That answers question two, and I guess you already have the answer to question one.

    0 讨论(0)
  • 2020-11-27 15:07

    Warehouse

    Warehouse would be your best bet in 2017. From the project's README:

    Warehouse is a next generation Python Package Repository designed to replace the legacy code base that currently powers PyPI

    ...

    You can run Warehouse locally using docker and docker-compose. See Getting started in the documentation for instructions on how to set it up.

    It is maintained by The Python Packaging Authority (PyPA) who work in cooperation with members of the Python core development team, and there is a live version running at https://pypi.org/ which mirrors everything in the legacy PyPI (https://pypi.python.org/).

    0 讨论(0)
  • 2020-11-27 15:08

    devpi

    We are using it in a corporate environment and are pretty satisfied. It supports replication, private indexes and index inheritance.

    0 讨论(0)
提交回复
热议问题