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.5.0.tar.gz
(6.8 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.5.0.tar.gz.
File metadata
- Download URL: vis_cli-0.5.0.tar.gz
- Upload date:
- Size: 6.8 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 |
1c93e09090c5882b7a277fbd5069ec7b2707e674a1393e9591f72c35ed6c528b
|
|
| MD5 |
1471433a51496632f6ec4c90d47a4ba1
|
|
| BLAKE2b-256 |
378f61a2476d22149f5bfdb4e54b149a6aa127952e2592ec4d4bead830b863ed
|
File details
Details for the file vis_cli-0.5.0-py3-none-any.whl.
File metadata
- Download URL: vis_cli-0.5.0-py3-none-any.whl
- Upload date:
- Size: 7.8 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 |
6d84163c2008fcc8a947b951129bdeeabd2b74b60abed9191e17ab91a1427e1d
|
|
| MD5 |
434527b594f71bf6d531a6287f726868
|
|
| BLAKE2b-256 |
964f41ce6c24d03722f4d0ee1aabe989302e566e8e4f7312c4658583b779b586
|