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.4.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.4.0.tar.gz.
File metadata
- Download URL: vis_cli-0.4.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 |
1eb4b2dc24d4e03d6e7ef002743d43d4219ea17efad44de9f2f118e251a594c9
|
|
| MD5 |
ef90847e2c4f994f23b5f1ff6a3bfd32
|
|
| BLAKE2b-256 |
b88313dd7a2e8868d32aae3a503cf366dbaf300578b2e8d35ca9aee1f84db5d9
|
File details
Details for the file vis_cli-0.4.0-py3-none-any.whl.
File metadata
- Download URL: vis_cli-0.4.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 |
c4322641158896dbc188cc829afe41d28e8fbda60824302f11967f127a675bdf
|
|
| MD5 |
51b7d9971af87412b2c598033bd0ce68
|
|
| BLAKE2b-256 |
d3b3eccdbd75fc9fc855f1b1b5385cccbca308bdc6d8725ac80bec1eca1dcdd7
|