Vis visualizes fuzzy tabular data, no script required
Project description
Vis
Visualize fuzzy tabular data without leaving the terminal.
Install
pip install vis_cli
Features
Histograms
awk 'BEGIN { for (i = 0; i < 1000; i++) print rand() * 100 }' | vis hist --kde
Scatter plots
echo -e '1 2\n1.5 3\n2 1\n3 1.5\n2 2' | vis scatter --trend
Line plots
seq 0 0.1 10 | awk '{print $1, sin($1)}' | vis line --xlab "Time" --ylab "sin(t)"
More examples
Histogram: Kubernetes Pod Ages
kubectl get pods --all-namespaces | vis hist --col 5 --sep ' ' --unit day --kde --xlab 'Pod age (days)'
Histogram: Kubernetes CPU utilization
kubectl top nodes | vis hist --static --col 2 --bins 10 --xmax 100 --xlab 'CPU util' --kde
Scatter plot: Kubernetes pod CPU vs memory limits
kubectl resource-capacity --pods | grep -v '\*.*\*' | vis scatter --static --cols 4 6 --xlab "CPU limits" --ylab "Memory limits" --trend
Help pages
$ vis --help
Usage: vis [OPTIONS] COMMAND [ARGS]...
A fuzzy tabular data visualization tool.
Options:
-h, --help Show this message and exit.
Commands:
clean Clean the data from a file or stdin and print it to stdout.
hist Create a histogram from numerical data.
line Create a line plot from tabular data.
scatter Create a scatter plot from tabular data.
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
vis_cli-0.3.0.tar.gz
(6.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vis_cli-0.3.0.tar.gz.
File metadata
- Download URL: vis_cli-0.3.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.10 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b7eb6bd439990ec4b6cbdf5d44104a2abb17988f425d8d82e82f8b4b7ad624e
|
|
| MD5 |
3014f282cb81b0f276328f4bc1c27aa7
|
|
| BLAKE2b-256 |
729616ef5a22ccb5c082ef9dddc22c3d51ca6225af9c58920626fd527ea1e390
|
File details
Details for the file vis_cli-0.3.0-py3-none-any.whl.
File metadata
- Download URL: vis_cli-0.3.0-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.10 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64093da2672f66f6f746fe2656c83e436ace5deebb7c82f9a54cc7f28334e000
|
|
| MD5 |
7b8dca52403537afe4139649532c6242
|
|
| BLAKE2b-256 |
d92d94d049290705e7ca09485e23b5ec4e266dd5d0bf5e1ed51f0f5cb5648c91
|