Uploading your package to PyPI
PyPI is open to accepting packages from any developer. We can create a new account and upload our packages to the official Python repo to allow any project to use it.
One of the great characteristics of open source projects, like Python and its ecosystem, is the ability to use code that is gracefully shared by other developers. While not mandatory, it is always good to give back and to share code that could be of interest to other developers to increase the usefulness of the Python library.
Be a good participant in the Python ecosystem and share code that could be useful to others.
To help with testing and to be sure that we can verify the process, there's a testing site called TestPyPI at https://test.pypi.org/ that can be used to perform tests and to upload your package first.
Figure 11.4: TestPyPI main page
The site is the same as the production one but indicates with a banner that it's the testing...