Skip to main content

Draw graphs in terminal

Project description

# TERminal GRaph drAWing A dumb and simple graph printing in your terminal, implemented in Python.

Here is the API:

GRAPH = {‘a’: {‘b’, ‘c’}, ‘d’: {‘b’, ‘e’}, ‘f’: {‘g’}}

print(‘n’.join(tergraw.pretty_view(GRAPH, oriented=True)))

Installation:

pip install tergraw

Needs the [graphviz library](http://graphviz.org/Download..php) to be installed.

links: tergraw on [github](http://github.com/aluriak/tergraw) and [pypi](http://pypi.python.org/pypi/tergraw)

Project details


Download files

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

Files for tergraw, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size tergraw-0.3.1.tar.gz (12.6 kB) File type Source Python version None 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