Publishing Python Code

Distributing projects

The Python Package Index (aka "PyPI" -- formerly known as the "Cheese Shop") is the preferred hub for publishing Python packages and modules. Python's standard library supports code uploads to PyPI through its distutils module.

See the PyPI tutorial on this site or the official instructions on Packaging and Distributing Projects published by the Python Packaging Authorities.

As an author of a project published on PyPI you may also be interested in these links:

Sharing code snippets

The Python section of the ActiveState Code Recipes is a popular place to publish small useful snippets of code.

Alternatively, you may add such snippets to this Wiki and link to them from the Code page.

Your operating system distribution may have software collections. Searching for Python software can yield numerous packaged libraries and applications. For example:

Outdated / inactive hosting sites for Python code


PublishingPythonModules (last edited 2020-08-10 19:42:56 by ChrisM)

Unable to edit the page? See the FrontPage for instructions.