Skip to main content

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

Vis histograms

Scatter plots

echo -e '1 2\n1.5 3\n2 1\n3 1.5\n2 2' | vis scatter --trend

Vis scatter plots

Line plots

seq 0 0.1 10 | awk '{print $1, sin($1)}' | vis line --xlab "Time" --ylab "sin(t)"

Vis line plots

More examples

Histogram: Kubernetes Pod Ages

kubectl get pods --all-namespaces | vis hist --col 5 --sep '   ' --unit day --kde --xlab 'Pod age (days)'

Vis histogram Kubernetes pod age

Histogram: Kubernetes CPU utilization

kubectl top nodes | vis hist --static --col 2 --bins 10 --xmax 100 --xlab 'CPU util' --kde

Vis histogram Kubernetes CPU utilization

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

Vis scatter plot Kubernetes pod CPU vs memory limits

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vis_cli-0.5.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

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

Hashes for vis_cli-0.5.0.tar.gz
Algorithm Hash digest
SHA256 1c93e09090c5882b7a277fbd5069ec7b2707e674a1393e9591f72c35ed6c528b
MD5 1471433a51496632f6ec4c90d47a4ba1
BLAKE2b-256 378f61a2476d22149f5bfdb4e54b149a6aa127952e2592ec4d4bead830b863ed

See more details on using hashes here.

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

Hashes for vis_cli-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6d84163c2008fcc8a947b951129bdeeabd2b74b60abed9191e17ab91a1427e1d
MD5 434527b594f71bf6d531a6287f726868
BLAKE2b-256 964f41ce6c24d03722f4d0ee1aabe989302e566e8e4f7312c4658583b779b586

See more details on using hashes here.

Supported by

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