denis | 3 Oct 15:41
Favicon

list all installed python modules with links to doc ?

0install people,

  a simple question  not directly related to 0install
but which must be doable with 1 % of existing parts:

how can I list all python modules installed on my system, with links to doc etc.
along the lines of apt-cache dumpavail, like this:

    module: yolk
    egg: /opt/local/lib/python2.5/site-packages/yolk-0.4.1-py2.5.egg
    version: 0.4.1
    homepage: http://tools.assembla.com/yolk
    src: $(srcbrowser yolk) ?
    pydoc: $(pydoc yolk)
    examples: ...
    doc:
        top few lines of __doc__


Am I missing an easy_install --list flag ?
(Actually, correct me, I don't see a database of installed python modules
like normal package managers at all ?)

"pydoc modules" can crash, apparently because import xx can
at least in 2.5.
And the pydoc approach is limited anyway: inline doc strings are far from
narrative with examples, no matter how nicely formatted
(my bias, I grew up on paper doc).

I like "yolk -l" and its links to pypi
but it sees only eggs, not .py files or dirs with __init__.py  -- Rob ?


Today I'd be more than happy with text along the lines above;
tomorrow a generated html with 1-click links to src etc
would be a nice familiar gui.

Does this make sense, does it exist already ?

Thanks,
cheers
    -- denis


If you want to sell it, you'll have to explain it

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Zero-install-devel mailing list
Zero-install-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zero-install-devel
Thomas Leonard | 4 Oct 11:54

Re: list all installed python modules with links to doc ?

2008/10/3 denis <denisbz <at> t-online.de>:
> 0install people,
>
>   a simple question  not directly related to 0install
> but which must be doable with 1 % of existing parts:
>
> how can I list all python modules installed on my system, with links to doc
> etc.
> along the lines of apt-cache dumpavail, like this:

There isn't really a concept of things being installed, so probably it
doesn't make sense. Zero Install is distributed, so you can't ask for
a list of everything available. Wouldn't it make more sense to look up
documentation for a particular module, rather than every possible
module? For the latter, you probably want to use something like
Google.

--

-- 
Dr Thomas Leonard		ROX desktop / Zero Install
GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Gmane