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.0.tar.gz
(12.6 kB
view details)
File details
Details for the file tergraw-0.3.0.tar.gz.
File metadata
- Download URL: tergraw-0.3.0.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11f385b5141a884bd12c85b533dcfa4b39d5a46aa9b1241b2a49891c245a5a08
|
|
| MD5 |
a07bdb7d9cb426da2d24ab7587340f0a
|
|
| BLAKE2b-256 |
9461f1a1219e76c90d0522de8bd119cc294cdda5e52e9c4334253c4bc6511995
|