Skip to main content
# packtree

packtree is a Python package that makes ASCII tree representation of a
package's varables or a folder's content.

## Table of Contents:
* [Author](#author)
* [Install and Compile](#install-and-compile)
* [Using packtree](#using-packtree)
* [Be Kind](#be-kind)
* [License](#license)


## Author:
* [Patricio Cubillos](https://github.com/pcubillos/), Space Research Institute, Graz, Austria. <patricio.cubillos@oeaw.ac.at>


## Install and Compile

### From pip
TBD

### From Github
Clone the repository to your local machine and install it:

Clone the repository to your working directory:
```shell
git clone https://github.com/pcubillos/packtree
python ./setup.py install
```

Note that you may need to prepend `sudo` to the previous calls.


## Using packtree

The following demo shows what packtree produces.
First start a Python interpreter session:

```code
>>> import packtree as tree

>>> # Genereate the ASCII tree representation of the packtree package:
>>> tree.packagetree(tree)

packtree
|-- filetree
`-- packagetree


>>> # Generate the ASCII tree representation of the directory that contains the packtree package:
>>> tree.filetree(".")

packtree
|-- LICENSE
|-- README.md
|-- packtree
| |-- __init__.py
| `-- tree.py
`-- setup.py
```

## Be Kind:

Please, be kind and acknowledge and/or refer to the packtree site
([github.com/pcubillos/packtree](https://github.com/pcubillos/packtree))
if it was useful for you.


## License:

Copyright (c) 2016 Patricio Cubillos and contributors.
packtree is open-source software under the MIT license (see LICENSE).

Metadata

Release files for packtree 1.0.0

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

Source distribution (sdist)

Source distribution for packtree 1.0.0
File Size Uploaded Provenance Actions
packtree-1.0.0.tar.gz 3.4 kB Without provenance Details for packtree-1.0.0.tar.gz

Release files / packtree-1.0.0.tar.gz

Download URL packtree-1.0.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
bc40da848f9a6c68cbfd5e3f827edcc3d8002e520bfbceda8f51ab6d9beedde0
BLAKE2b-256 checksum
How to use checksums
08971b0d77e15a424b88b35b9e2def88bfa6818775ab2b5ffb79c7d3ded17d8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for packtree 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

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