[Numpy-discussion] greppable file of all numpy functions ?
David Warde-Farley
dwf@cs.toronto....
Mon Sep 7 16:50:41 CDT 2009
numpy.lookfor does what you're looking for, though I know of no such
greppable file. You might be able to generate it thusly (untested):
import numpy
for key in dir(numpy):
print key,
if getattr(numpy, key).__doc__:
print ':', getattr(numpy, key).__doc__.strip().split('\n')[0]
On 7-Sep-09, at 9:26 AM, denis bzowy wrote:
> Does anyone have a program to generate a file with one line per
> Numpy function
> / class / method, for local grepping ?
> It might be useful for any package with thousands of functions too.
> (Grepping a Pypi summary to see "what the heck is ..." takes < 1
> second.)
>
> Sorry if this is a duplicate, must exist already ?
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
More information about the NumPy-Discussion
mailing list