Skip to main content

Make chart on commanline interface.

Project description


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


pip3 install terminalchart


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

Release history Release notifications

Download files

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

Files for terminalchart, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size terminalchart-1.0.0-py3-none-any.whl (4.6 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page