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.4.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.4.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

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

Hashes for vis_cli-0.4.0.tar.gz
Algorithm Hash digest
SHA256 1eb4b2dc24d4e03d6e7ef002743d43d4219ea17efad44de9f2f118e251a594c9
MD5 ef90847e2c4f994f23b5f1ff6a3bfd32
BLAKE2b-256 b88313dd7a2e8868d32aae3a503cf366dbaf300578b2e8d35ca9aee1f84db5d9

See more details on using hashes here.

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

Hashes for vis_cli-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4322641158896dbc188cc829afe41d28e8fbda60824302f11967f127a675bdf
MD5 51b7d9971af87412b2c598033bd0ce68
BLAKE2b-256 d3b3eccdbd75fc9fc855f1b1b5385cccbca308bdc6d8725ac80bec1eca1dcdd7

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