Differences between revisions 8 and 18 (spanning 10 versions)
Revision 8 as of 2008-08-08 19:48:23
Size: 1452
Editor: adsl-074-184-170-064
Comment:
Revision 18 as of 2025-07-01 17:36:01
Size: 1723
Editor: MaciejOlko
Comment: update: distutils is no longer part of stdlib, removed dead links
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
There are a couple of popular sites that list or host submitted Python modules. = Publishing Python Code =
Line 3: Line 3:
 * [http://pypi.python.org/pypi The Python Package Index (aka "PyPI")] 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.
== Distributing projects ==
Line 6: Line 5:
There are a few other less useful or older sites, in case you are searching for code and the above didn't help. [[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.
Line 8: Line 7:
 * [http://www.uselesspython.com/ Useless Python] is indiscriminate, for all bits of code you don't think are ''worth'' publishing.
 * [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.
 * [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
See the [[https://packaging.python.org/|Python Packaging User Guide]].

== 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.

-----

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

 * [[http://packages.debian.org/stable/python/|Python packages in Debian stable]] (see also the [[http://www.debian.org/distrib/packages|Debian package search page]])
 * [[http://packages.ubuntu.com/hardy/python/|Python packages in Ubuntu 8.04 LTS]] (see also the [[http://packages.ubuntu.com/|Ubuntu package search page]])
Line 14: Line 23:
See also: Italian translation at ["Codice"], [http://www.faqts.com/knowledge_base/index.phtml/fid/235 FAQTs] section on module Q&A, ["Code"] == Outdated / inactive hosting sites for Python code ==
Line 16: Line 25:
 * ''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-existent.
 * ''!PyCode'' - an older site where you could share modules. Site (`www.pycode.com`) now used for unrelated blogging.
Line 19: Line 31:

= Discussion =

Edit the page to add comments here.

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.

See the Python Packaging User Guide.

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-existent.

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


CategoryFaq

PublishingPythonModules (last edited 2025-07-01 17:36:01 by MaciejOlko)

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