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 details)
File details
Details for the file py_archy-1.0.0.tar.gz
.
File metadata
- Download URL: py_archy-1.0.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dccf3773679b4c8fec9a4ffd462342dd637bf33300dc8bab8a87430e05b9bf7 |
|
MD5 | 997759ee4a28761d38cbb8d6003f59df |
|
BLAKE2b-256 | 52c5c285663165b2f7bbbceb79b4bed586f424756f1506c8e7f66a93aa40e5f4 |