Implementation of the popular node-archy tool in python
Project description
# PyArchy
Implementation of the popular node-archy tool in python.
Draws good looking trees and lists on the command line.
[The original Archy on NPM](https://www.npmjs.com/package/archy)
* Free software: MIT license
### Input:
```
from pyarchy import pyarchy
tree = { 'nodes' : [{ 'nodes' : ['a','b','c'], 'label' : 'bar'}, 'bizz'], 'label' : 'foo'}
pyarchy(tree, unicode=False)
```
### Output:
With Unicode
```
foo
└─┬ bar
├── a
├── b
└── c
└── bizz
```
With ASCII
```
foo
+-- bar
+-- a
+-- b
`-- c
`-- bizz
```
### Credits
This package was created with Cookiecutter.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py_archy-1.0.0.tar.gz
(2.7 kB
view hashes)