Skip to main content

# PyArchy

Implementation of the popular node-archy tool in python.
Draws good looking trees and lists on the command line.

[![PyPI](https://img.shields.io/pypi/v/py_archy.svg)](https://pypi.python.org/pypi?name=py_archy&:action=display)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)]()

[The original Archy on NPM](https://www.npmjs.com/package/archy)

### Installation

```
pip install py_archy
```

### Usage

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

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

### Credits
This package was created with Cookiecutter.


Metadata

Release files for py_archy 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py_archy 1.0.2
File Size Uploaded Provenance Actions
py_archy-1.0.2.tar.gz 2.3 kB Without provenance Details for py_archy-1.0.2.tar.gz

Release files / py_archy-1.0.2.tar.gz

Download URL py_archy-1.0.2.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7f309a8b22b26a8a868a0771696e0a9a8c261efac725189d19ed7a396929dca4
BLAKE2b-256 checksum
How to use checksums
e1bb3caf99e16500facb301227342d44fbac20b39300eb6eeceb4076ae7bf3e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for py_archy 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page