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 details)

Uploaded Source

File details

Details for the file tergraw-0.3.1.tar.gz.

File metadata

  • Download URL: tergraw-0.3.1.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tergraw-0.3.1.tar.gz
Algorithm Hash digest
SHA256 6986b55d01504d6b7c32f1922659e0fd03440cc0af96a5a37ccd27e0fcee1449
MD5 486893f7995409bb75c264c22f8a9b61
BLAKE2b-256 d003ee59520bd5fc9c1d51211e441c3c7bd9a4872508c95a44b964212684f17c

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