Array operations simplified
Project description
napi
napi is an abstract syntax tree transformer to simplify NumPy array operations. In IPython, for example, you can use the following magic:
In [1]: import napi
In [2]: %napi
napi ast transformer is turned ON
to enable evaluation of the following code:
In [3] from numpy import *
In [4] 0 <= arange(6) < 6 and True
Out[4]: array([ True, True, True, True, True, True], dtype=bool)
Installation
$ pip install -U napi
Source Code
License
napi is available under MIT License. See LICENSE.txt for more details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
napi-0.1.zip
(8.2 kB
view hashes)
napi-0.1.tar.gz
(6.8 kB
view hashes)