Skip to main content

Wrapper around plotting libraries for the terminal.

Project description

plottypus

!!! WORK IN PROGRESS !!!

This is an example (though perhaps useful) project to demonstrate how to use various plotting libraries in Python:

Installation

The application is (pip/uv/pipx-installable):

uv tool install plottypus
pipx install plottypus
pip install plottypus

Usage

Usage: plottypus [OPTIONS] [PATH]

 Plot data from a file.

╭─ Arguments ─────────────────────────────────────────────────────────────────────────────────────────────────╮
│   path      [PATH]  The path to the file to read. [default: None]                                           │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --type     -t      [auto|hist|scatter|heatmap|line|bar|hbar]  The type of plot to create. [default: auto]   │
│            -x      TEXT                                       The column to use for the x-axis.             │
│                                                               [default: None]                               │
│            -y      TEXT                                       The column(s) to use for the y-axis.          │
│                                                               [default: None]                               │
│ --backend  -b      [auto|plotext|plotille|physt]              The plotting backend to use. [default: auto]  │
│ --width    -w      INTEGER                                    The width of the plot. [default: None]        │
│ --height   -h      INTEGER                                    The height of the plot. [default: None]       │
│ --help                                                        Show this message and exit.                   │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

You can pipe in CSV or Parquet data, enabling a natural collaboration with other tools like duckdb or xsv.

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

plottypus-0.3.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

plottypus-0.3.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file plottypus-0.3.0.tar.gz.

File metadata

  • Download URL: plottypus-0.3.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for plottypus-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e8d704f08a6d6e2bf8eb821e45b476692c5d94b5739b7887da87ec7b54c32b31
MD5 c4d297fcdeda5febc8f7e0e3df180aa2
BLAKE2b-256 9311e6c4ae99711df6d21f120c5f4a372865caae923315e272f6bbb54e9480b8

See more details on using hashes here.

File details

Details for the file plottypus-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: plottypus-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for plottypus-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aff756d40630b74a07baf78a3b354e42b6d31563554899b8169f59768a788bce
MD5 0efc9d2ad966dec50c02d81493600233
BLAKE2b-256 ee8c8c6d939fc70902d457a40e211e371f9f2c090d5a5a5852f01039532e08d2

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