CLI utility for previewing .npy files
Project description
NPView
CLI tools for quickly viewing data in various formats (eventually). Currently only .npy
files are supported.
Installation
pip install npview
Usage
npv {PATH_TO_YOUR_FILE.npy} {THRESHOLD}
Where {THRESHOLD}
is an integer specifying Total number of array elements which trigger summarization rather than full repr. Default is sys.maxsize
.
npp {PATH_TO_YOUR_FILE.npy}
Will attempt to print your saved matrix & itss dimensions using prettymatrix:
# (2x2)
# ┌ ┐
# │ 1 22 │
# │ 333 4444 │
# └ ┘
#
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
npview-0.0.2.tar.gz
(4.2 kB
view details)
File details
Details for the file npview-0.0.2.tar.gz
.
File metadata
- Download URL: npview-0.0.2.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 935d40d5446aba9560a26d17efd7331fd93ea30fd37272700c37b0e7627218da |
|
MD5 | ec2c06a8e8157dbec9d55b8985462f02 |
|
BLAKE2b-256 | dac7e01476e39e84520cd523338d52e21595be729d484d93e57c0199c8cacdc7 |