show-file-tree
A small, fast CLI tool to display styled file/folder trees with rich options, colors, icons, and metadata.
Installation
You can install show-file-tree using pip:
pip install show-file-tree
Quick Start
Navigate to any directory and run the command.
Default Output:
```bash
show-file-tree .
```
Display with more details like size, counts, and limited depth:
```bash
show-file-tree . -d 2 --size --count
```
Export the tree to a Markdown file:
```bash
show-file-tree /path/to/your/project --format md
```
This will create a project-file-tree.md file in your current directory.
Features & Flags
show-file-tree offers a rich set of flags to customize the output.
-d, --max-depth: Limit the recursion depth.--gitignore / --no-gitignore: Respect or ignore.gitignorefiles (default: respect).--hidden: Show hidden files and folders.--sort {name,size}: Sort the output by name or size.--order {asc,desc}: Set the sort order.--format {tree,md}: Output format (default: tree). Automatically falls back tomdfor very large trees.--size: Display file/folder sizes.--count: Display file/directory counts within folders.--mtime-after, --mtime-before: Filter by modification time.--include, --exclude: Filter by glob patterns.--no-icons: Render a plain ASCII tree.--theme: Apply a color theme (colorful,monokai,light,nocolor).--top N: List the top N files by size or modification time.--about, --version: Show package information.
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for details on how to set up your development environment and submit pull requests.
Author / Maintainer
Rudra Prasad Bhuyan
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for show-file-tree 0.0.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 | Actions |
|---|---|---|---|---|
| show_file_tree-0.0.1.tar.gz | 12.8 kB | Without provenance | Details for show_file_tree-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| show_file_tree-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for show_file_tree-0.0.1-py3-none-any.whl |
Total release size: 30.2 kB
Release files / show_file_tree-0.0.1.tar.gz
| Download URL | show_file_tree-0.0.1.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ed53e7d7bc0e6b932d388e9987f7ce9fc029a6088698d8d6c75813957ea8d7a
|
|
BLAKE2b-256 checksum How to use checksums |
d10a2bb08c7828f79076149991693d646460413237f16127c1ef33a88c5a0539
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / show_file_tree-0.0.1-py3-none-any.whl
| Download URL | show_file_tree-0.0.1-py3-none-any.whl |
|---|---|
| Size | 17.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eac12bb8c7028008084ebd75739fef7ca9d018329d17ab77cc1bfc3d16d7a1a1
|
|
BLAKE2b-256 checksum How to use checksums |
5f855f02d8ba3831202621ed76eabdb0a024becc4941d1c5a89454334262c895
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Security for show-file-tree 0.0.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.