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 expression:
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
napi works with Python 2.7, 3.2 and later.
$ pip install -U napi
Docs & Source
Docs: http://napi.rtfd.org
Source: https://github.com/abakan/napi
License
napi is available under MIT License.
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.2.1.zip
(11.5 kB
view details)
napi-0.2.1.tar.gz
(9.4 kB
view details)
File details
Details for the file napi-0.2.1.zip.
File metadata
- Download URL: napi-0.2.1.zip
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f8b900024d92c6533c32bbe01a3c2ef5ebfac69c0267741d5d24b71fc612a1c
|
|
| MD5 |
79de3e3905569f9aa662e4c4b294a854
|
|
| BLAKE2b-256 |
779097215e6de1b7f9182f40e2f729d071a31267babae554f36d735807eb0963
|
File details
Details for the file napi-0.2.1.tar.gz.
File metadata
- Download URL: napi-0.2.1.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a13ee0824fc61f0cdfae23debff4d08da3ef43f9ae79addf8368beb6fba08788
|
|
| MD5 |
317cd7692b4722536d04043b7005a697
|
|
| BLAKE2b-256 |
0c0a7be3e9fe73e1848482cba730e355c8e3b7fbdb0daf171c957792d0bf515b
|