Skip to main content

Make chart on commanline interface.

Project description

TerminalChart

get charts on terminal It will take x and y values as an input and output a chart on the commandline or to a file. optional arguments: -h, --help show this help message and exit -t TERMINAL TERMINAL, --terminal TERMINAL TERMINAL append x and y values with the command if values are short. Like -t '1,2,3' '3,2,3' or like -t '1 2 3' '3 2 3' -f FILE, --file FILE add values in a file. like x: 1 2 3, y:3 2 3 or like x: 1,2,3, y:3,2,3 and pass the input like: -f input_file, recommended for large set of values -c CHARACTER, --character CHARACTER pass the character you want to be displayed on chart, will default to %& if none given -o OUTPUT, --output OUTPUT where you want your output to be, -o t for terminal, -o output_file for file

Installation

pip3 install terminalchart

Usage

from commandline

python3 -m terminalchart -f file.txt -o output

with character

python3 -m terminalchart -f file.txt -o t -c 'c'

from within python

from teminalchart import terminalchart as tc
tc(['-f', 'file.txt', '-o', 'output1'])
tc(['-f', 'file.txt', '-o', 'output1', '-c', 'c'])
tc(['-f', 'file.txt', '-o', 't'])
tc(['-f', 'file.txt', '-o', 't', '-c', 'c'])

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

terminalchart-1.0.0-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

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