Array operations simplified
napi is an abstract syntax tree transformer to simplify NumPy array operations. In IPython, for example, you can use the following magic:
In : import napi In : %napi napi ast transformer is turned ON
to enable evaluation of the following expression:
In  from numpy import * In  0 <= arange(6) < 6 and True Out: array([ True, True, True, True, True, True], dtype=bool)
napi works with Python 2.7, 3.2 and later.
$ pip install -U napi
napi is available under MIT License.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.