Skip to main content

ASCII/Unicode terminal graphs (bar/line) with a tiny CLI.

Project description

📊 Holograph

ASCII/Unicode terminal graphs for Python and the command line.
Easily generate bar charts and line charts right inside your terminal.


🔧 Installation

Install from source (development mode):

git clone https://github.com/yourusername/holograph
cd holograph
pip install -e .
⚡ Quickstart (Python)
from holograph.charts import draw_bar, draw_line

# Bar chart
print(draw_bar([3, 6, 9], height=5))

# Line chart
print(draw_line([1, 4, 2, 5], height=5))

Output (bar):

█
█ █
█  █


Output (line):

       *
    *
 *
 💻 CLI Usage

Run directly from the terminal:

# Bar chart
python -m holograph.cli --type bar 3 6 9

# Line chart
python -m holograph.cli --type line 1 2 3 4

# JSON input
python -m holograph.cli --json "[5, 10, 15]"

# CSV input (choose column)
python -m holograph.cli --file data.csv --column value

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

tanish_graph-0.1.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

tanish_graph-0.1.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file tanish_graph-0.1.0.tar.gz.

File metadata

  • Download URL: tanish_graph-0.1.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for tanish_graph-0.1.0.tar.gz
Algorithm Hash digest
SHA256 796d75c1bfcce994ae1229e5dcd6e4ba253f1a253e4bc1199c3d65a5116dbc97
MD5 1abd24b65a714dda742b0e471862ae2c
BLAKE2b-256 2bcae19a94cd949195f0f5cb14479f49d7d8d727b4085ae6592fcf6e62e873eb

See more details on using hashes here.

File details

Details for the file tanish_graph-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tanish_graph-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for tanish_graph-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af68abab76b29d66dd17208954b1c26d2b2869c0d954d7c46f1112570a021e7a
MD5 1bf307e00939dabc131c5df5d9a21e6c
BLAKE2b-256 0b84558240377503ded8db03122bd791d8cd968a97c893b94ba1fd3807c1fdcb

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