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 rptree 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 | |
|---|---|---|---|
| rptree-0.1.1.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rptree-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / rptree-0.1.1.tar.gz
| Download URL | rptree-0.1.1.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f475b7287d26de904af2bca6332d3290436acd53e5b4e00271fe91af16e56981
|
|
BLAKE2b-256 checksum How to use checksums |
4514d169adde563ab4f4697988546d3b7bbf945626fc73ee57f5a076d7433f25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.1.1 requests-toolbelt/0.8.0 tqdm/4.49.0 CPython/3.8.5
|
Release files / rptree-0.1.1-py3-none-any.whl
| Download URL | rptree-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1d82b6021da24b5f9b2962dfb6dce357c271805c71041011433e90af35e3806a
|
|
BLAKE2b-256 checksum How to use checksums |
6c8411f50274f650630947725056a7ed8e74a47832f7dcd0502c7184bdf64bb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.1.1 requests-toolbelt/0.8.0 tqdm/4.49.0 CPython/3.8.5
|