| Crates.io | num-peek |
| lib.rs | num-peek |
| version | 0.1.2 |
| created_at | 2025-09-12 17:33:04.033375+00 |
| updated_at | 2025-09-12 20:12:27.83291+00 |
| description | A CLI tool that can peek into `*.npy` files. |
| homepage | https://github.com/peterfication/num-peek |
| repository | https://github.com/peterfication/num-peek |
| max_upload_size | |
| id | 1836007 |
| size | 51,629 |
A CLI tool that can peek into *.npy files.
cargo install num-peek
$ num-peek assets/demo.npy
Peek into assets/demo.npy
----------------------------------------
Dimensions: 2
Shape: [2, 3]
Type: Int8
----------------------------------------
Number of unique values: 6
Unique values: [1, 3, 4, 8, 12, 22]
Min value: 1
Max value: 22
num-peek can be used together with piper as a Yazi previewer:
# yazi.toml
[plugin]
prepend_previewers = [
{ name = "*.npy", run = 'piper -- num-peek $1' },
]
1.88.0just ci
just run
just run-float
This project is licensed under the MIT license (LICENSE or opensource.org/licenses/MIT)