[Numpy-discussion] greppable file of all numpy functions ?
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):
for key in dir(numpy):
if getattr(numpy, key).__doc__:
print ':', getattr(numpy, key).__doc__.strip().split('\n')
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
> Sorry if this is a duplicate, must exist already ?
> NumPy-Discussion mailing list
More information about the NumPy-Discussion