[Numpy-discussion] packaging scipy (was Re: Simple financial functions for NumPy)

Steven H. Rogers steve at shrogers.com
Mon Apr 7 13:26:44 EDT 2008


On Mon, April 7, 2008 11:16, Timothy Hochberg wrote:
>
> If "from numpy.all import *" is really too complicated, which although
> possible, seems a little disheartening, I suspect it would be easy enough
> to
> have a separate module that pulled everything in so that you could use
> "from
> big_numpy import *". Or, to preserve backward compatibility, make numpy
> the
> unsplit namespace and expose the split namespace under a different name,
> let's say 'np' because that's what I already use as a numpy abbreviation.
> Then "import np" would get you just the core np functions (which I imagine
> we could argue about endlessly) and the various subpackages would be
> imported separately. 'np' is 'numpy' with some stuff removed: get it? OK,
> so
> that's a weak joke, sorry.
>
May not be the epitome of wit, but not bad.

+1 for np package being a minimalist numpy and numpy being bigger.

# Steve




More information about the NumPy-Discussion mailing list