Skip to main content

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](

### Installation

pip install py_archy

### Usage

>>> from pyarchy import archy
>>> tree = { 'nodes' : [{ 'nodes' : ['a','b','c'], 'label' : 'bar'}, 'bizz'], 'label' : 'foo'}
>>> print( archy(tree))
├─┬ bar
│ ├── a
│ ├── b
│ └── c
└── bizz

>>> print( archy(tree, unicode=False))
+-- bar
| +-- a
| +-- b
| `-- c
`-- bizz

### Credits
This package was created with Cookiecutter.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
py_archy-1.0.2.tar.gz (2.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page