RP Tree
RP Tree is a command-line tool to generate directory tree diagrams.
Installation
To install RP Tree, just run the following command:
$ pip install rptree
Usage
$ rptree /path/to/directory/
Note: The -h or --help option provides help on using RP Tree.
Sample Output
$ rptree hello/
./hello/
│
├── hello/
│ ├── __init__.py
│ └── hello.py
│
├── tests/
│ └── test_hello.py
│
├── LICENSE
├── README.md
├── requirements.txt
└── setup.py
That's it! You've generated a nice directory tree diagram.
Features
If you run RP Tree with a directory path as an argument, then you get a full directory tree diagram printed on your screen. The default input directory is your current directory.
RP Tree also provides the following options:
-v,--versionshows the application version and exits-h,--helpshow a usage message-d,--dir-onlygenerates a directory-only tree diagram-o,--output-filegenerates a full directory tree diagram and save it to a file in markdown format
Release History
- 0.1.1
- Display the entries in alphabetical order
- 0.1.0
- A work in progress
About the Author
Leodanis Pozo Ramos - Email: leodanis@realpython.com
Metadata
Release files for branches 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| branches-0.1.1.tar.gz | 4.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| branches-0.1.1-py3.8.egg | Legacy Egg format | - | - | Details |
Total release size: 11.6 kB
Release files / branches-0.1.1.tar.gz
| Download URL | branches-0.1.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2908687eff3c87d3cd673999d0bf3906ca0253b069f44a15bc5ef0e668b2ddb4
|
|
BLAKE2b-256 checksum How to use checksums |
be6baba752d443a181197bc4144f3dd9b9809c76a1a990655f900da859e0bd8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.10
|
Release files / branches-0.1.1-py3.8.egg
| Download URL | branches-0.1.1-py3.8.egg |
|---|---|
| Size | 7.4 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
48d48a84595844713f2364b7ae539a404a35ac3d4ce03985f1d329e0ede94d34
|
|
BLAKE2b-256 checksum How to use checksums |
9a5bb646854e2e51a092acd24c01072c13a7d45396691b28c4dfed1d436a3ce3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.10
|
Security for branches 0.1.1
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.