PyPI
How to Build a PyPI Server with devpi
· β˜• 5 min read
When you install Python packages with pip, it looks up the corresponding package on the https://pypi.python.org/simple/ index by default, then downloads and installs it. But in an intranet environment, or when you need to publish some private packages to designated users, you have to build your own PyPI Server. This post mainly records the process of building a PyPI Server index with the devpi tool, along with some commonly used commands.

How to Package a Python Package and Upload It to PyPI
· β˜• 3 min read
Recently I have been thinking about how to improve development efficiency. From web crawlers to data processing, and then to artificial intelligence, Python’s strength lies in having a large set of out-of-the-box toolkits, so you do not have to reinvent the wheel, which greatly improves development efficiency. So why not modularize the functional pieces of a project and package them as reusable Python packages?