What is PyPI? In this lesson you’ll get an overview about what PyPI is as well as set up a sample project from RealPython’s GitHub page.
PyPI Overview & Sample Project Setup
Welcome to the Real Python guide on how to publish an open-source Python package to PyPI. In this set of videos, you’re going to learn how to prepare a Python package for publication and upload your packages to PyPI. PyPI is a huge collection of open-source projects for Python, ranging from everything like
helloworld to game engines and deep learning libraries. This is a great way to distribute your work, as someone just needs to use
pip to install it! In this set of videos, you’ll be working with an example project that can be used to read Real Python articles. If you have your own project you’d like to upload, feel free to use that instead.
Once you’ve got that, you can say
python -m reader, and what you’ll end up with is a list of some of the most recent articles published on Real Python. If you’d like to open one of these up, just call it again—and you see that there’s these numbers here—you can just put a number and you’ll get the entire article printed out to your terminal here. So, that’s pretty cool! In the next video, you’re going to learn how to set up a simplified version of this so that you can upload it yourself.
Become a Member to join the conversation.