Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for py_archy, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size py_archy-1.0.2.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page