PDA

View Full Version : Python library access (package-management tools)?



Markhor
July 7th, 2009, 11:53 AM
Hi. I've heard that python has impressive libraries available.
I'm wondering how do I access the primary library repository??
For example: perl has cpan, ruby has rubygems, haskell cabal.
I've been unable to find what python has.
What is the de facto standard for python library management? Thanks

unutbu
July 7th, 2009, 03:11 PM
Unfortunately, as far as I know, Python has no third-party repository that rivals Perl's CPAN.

When looking for modules, there is of course the standard library:
http://docs.python.org/modindex.html

Next, the official Ubuntu repository has a number of python packages which provide extra functionality:

apt-cache search python | grep '^python'

Finally, just google. You may find what you are looking for here:

http://aspn.activestate.com/ASPN/Python/Cookbook/

If this is not helpful, tell us what in particular you are looking for. We might be able to point you in the right direction.