Differences between revisions 15 and 16
Revision 15 as of 2014-01-25 13:42:46
Size: 2308
Comment: Added "Top 400 Python Projects in Github"
Revision 16 as of 2015-01-10 23:18:29
Size: 2370
Comment: updated links, restructured parts
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Publishing Python Modules = = Publishing Python Code =
Line 3: Line 3:
There are a couple of popular sites that list or host submitted Python modules. == Distributing projects ==
Line 5: Line 5:
 * [[http://pypi.python.org/pypi|The Python Package Index]] (aka "PyPI" -- formerly known as the "Cheese Shop") is the current preferred location to list packages. It is integrated with the distutils in recent versions of Python: you can upload distribution files to PyPI so that the code will be available for downloading. See the CheeseShopTutorial or [[http://docs.python.org/dist/package-upload.html|Uploading Packages to the Package Index]] for more information.
 * [[http://code.activestate.com/recipes/langs/python/|The Python Cookbook]], for small useful snippets of code.
[[http://pypi.python.org/pypi|The Python Package Index]] (aka "PyPI" -- formerly known as the "Cheese Shop") is the preferred hub for publishing Python packages and modules. Python's [[StandardLibrary|standard library]] supports code uploads to PyPI through its distutils module.
Line 8: Line 7:
In addition:
 * [[http://pypi-ranking.info/alltime|PyPi Ranking]] lists PyPi above in terms of downloads, giving an indication of popularity.
See the [[CheeseShopTutorial|PyPI tutorial]] on this site or the official instructions on [[https://packaging.python.org/en/latest/distributing.html|Packaging and Distributing Projects]] published by the [[PythonPackagingAuthorities|Python Packaging Authorities]].

As an author of a project published on PyPI you may also be interested in these links:
 * [[http://pypi-ranking.info/alltime|PyPi Ranking]] lists projects on PyPI ranked by downloads, giving an indication of popularity.
Line 11: Line 12:

== Sharing code snippets ==

The [[http://code.activestate.com/recipes/langs/python/|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.

-----
Line 17: Line 26:
There are a few other less useful or older sites, in case you are searching for code and the above didn't help.
Line 19: Line 27:
 * [[http://www.uselesspython.com/|Useless Python]] is indiscriminate, for all bits of code you don't think are ''worth'' publishing. ''Now apparently inactive.''
 * [[http://py.vaults.ca/apyllo.py|Vaults of Parnassus]] - a link store for Python modules. You must host files elsewhere, but this is one of the oldest and largest lists of available Python code. ''Now apparently inactive.''
 * [[http://www.pycode.com/|PyCode]] - an older site where you could share modules. ''No activity since 2006.''
 * This wiki - if a module is relatively short
== Outdated / inactive hosting sites for Python code ==
Line 24: Line 29:

See also: Italian translation at [[Codice]], [[http://www.faqts.com/knowledge_base/index.phtml/fid/235|FAQTs]] section on module Q&A, [[Code]]
 * ''Useless Python'' was a site for indiscriminate publishing of all bits of Python code you didn't think were ''worth'' publishing. Now inactive and web address (`www.uselesspython.com`) used to place ads.
 * ''Vaults of Parnassus'' - a former link store for Python modules. You had to host files elsewhere, but this was one of the oldest and largest lists of available Python code. Now non-existant.
 * ''!PyCode'' - an older site where you could share modules. Site (`www.pycode.com`) now used for unrelated blogging.

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

  • Useless Python was a site for indiscriminate publishing of all bits of Python code you didn't think were worth publishing. Now inactive and web address (www.uselesspython.com) used to place ads.

  • Vaults of Parnassus - a former link store for Python modules. You had to host files elsewhere, but this was one of the oldest and largest lists of available Python code. Now non-existant.

  • PyCode - an older site where you could share modules. Site (www.pycode.com) now used for unrelated blogging.


CategoryFaq

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

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