Skip to main content

CLI utility for previewing .npy files

Project description

NPView

PyPI version supported python versions License: MIT

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.4.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file npview-0.0.4.tar.gz.

File metadata

  • Download URL: npview-0.0.4.tar.gz
  • Upload date:
  • Size: 4.4 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

Hashes for npview-0.0.4.tar.gz
Algorithm Hash digest
SHA256 b3e1e4e2795ea05ac423f93095fafc35e12bcb59d38472a6b67c8c471510afd7
MD5 d422b6ffd5a33624d57ec149a0b0afd0
BLAKE2b-256 21948aee0897af720c1c2481c50967e79fdfd6c01dd5d4b551b3846d98c806ff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page