this is a german Web-Mirror of PYTHON.ORG powered by Domainunion AG

Differences between revisions 6 and 17 (spanning 11 versions)
Revision 6 as of 2008-08-08 19:41:34
Size: 3227
Editor: adsl-074-184-170-064
Comment:
Revision 17 as of 2020-08-10 19:42:56
Size: 2370
Editor: ChrisM
Comment: Fixed writing bug: existant --> existent
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
There are various sites that list or host submitted Python modules. = Publishing Python Code =
Line 3: Line 3:
 * [https://pypi.python.domainunion.de/pypi Python Package Index (aka "PyPI")] - is the current preferred location to list packages, and 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 [https://docs.python.domainunion.de/dist/package-upload.html Uploading Packages to the Package Index] for more information.
 * [https://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.
 * [https://aspn.activestate.com/ASPN/Python/Cookbook/ Python Cookbook], hosted by ActiveState, for small useful bits. Code submitted there is reviewed, and takes a while to appear on the site, if submitted by e-mail. Code submitted directly through a web form appears immediately.
 * [https://www.uselesspython.com/ Useless Python] is indiscriminate, for all bits of code you don't think are ''worth'' publishing.
 * [https://www.pycode.com/ PyCode] - an older site where you could share modules. No activity since 2006.
 * This wiki - if a module is relatively short
== Distributing projects ==

[[https://pypi.python.domainunion.de/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.

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:
 * [[https://pypi-ranking.info/alltime|PyPi Ranking]] lists projects on PyPI ranked by downloads, giving an indication of popularity.
 * [[https://pythonhackers.com/open-source|Top 400 Python Projects in Github]] is another list of popular projects/modules.

== Sharing code snippets ==

The [[https://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:

 * [[https://packages.debian.org/stable/python/|Python packages in Debian stable]] (see also the [[https://www.debian.org/distrib/packages|Debian package search page]])
 * [[https://packages.ubuntu.com/hardy/python/|Python packages in Ubuntu 8.04 LTS]] (see also the [[https://packages.ubuntu.com/|Ubuntu package search page]])
Line 11: Line 27:
See also: Italian translation at ["Codice"], [https://www.faqts.com/knowledge_base/index.phtml/fid/235 FAQTs] section on module Q&A, ["Code"] == Outdated / inactive hosting sites for Python code ==
Line 13: Line 29:
 * ''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 16: Line 35:

= Discussion =

Where is the PyCode site? Canceled? If so, it's a pity. It was such a good idea to have a place to upload software.

-- ZoranIsailovski [[Date(2005-08-14T15:00:00)]]

'Note that packages can be uploaded to PyPI. -- amk

I haven't found a way to upload anything but a PKG-INFO file to PyPI. What kind of magic is needed for that? Anyway, if someone ''knows'' what has happened to the Py``Code site, and whether it will re-appear or it is cancelled, then please tell us.

-- ZoranIsailovski [[DateTime(2005-08-14T23:40:00)]]

["lwickjr"] [[DateTime()]]: See the link I added above to [https://docs.python.domainunion.de/dist/package-upload.html Uploading Packages to the Package Index] re uploading distributions to PyPI.

B) After several days of inaccessibility, the Py``Code site has just re-appeared. I have removed the comments near the reference above.

-- ZoranIsailovski [[DateTime(2005-08-15T00:10:00)]]

See the CheeseShopTutorial for information on using PyPI to upload distribution files.

-- PaulBoddie [[DateTime(2006-07-23T17:32:00)]]

----

I've cleaned the page up a bit. I took out the repetition of PyPI (listed twice), and [https://www.faqts.com/knowledge_base/index.phtml/fid/199/ faqts], since I didn't see that it was a "place to publish modules." I did reference it in the "See also's," since it did have relevant information.

Personally, I'de prefer not to have a page called "How to publish Python modules." It doesn't exactly lend itself to becomming [https://www.emacswiki.org/cw/LinkLanguage LinkLanguage.] I'd rather call the page: "PublishingPythonModules", or "PublishPythonModules", or even just a section of "PythonModules".

-- LionKimbro [[DateTime(2005-02-17T18:56:35Z)]]

["lwickjr"]: ["PublishingPythonModules"] it is.

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

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