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.

Source Distribution

tergraw-0.3.1.tar.gz (12.6 kB view hashes)

Uploaded Source

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