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

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

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

Uploaded Python 3

File details

Details for the file terminalchart-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: terminalchart-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

File hashes

Hashes for terminalchart-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 819e4e84a645d9e11feb5d9a04dacdbb84ae2b72dd0231588a42165fdfa084b5
MD5 b9b0d31e694d66321b7ff5360e8ce623
BLAKE2b-256 a4410dc108feac5467efdf7913bbf8d01332469a988664b337a08ba7cfe44776

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