tree-py
A Python implementation of the tree command, designed for Windows but compatible with other platforms. It provides a feature-rich command-line utility to recursively list directories in a tree-like format.
Installation
uv tool install tree-py-shiso
Usage
tree-py [options] [directory]
Common Options
| Flag | Description |
|---|---|
-L <level> |
Max display depth of the directory tree. |
-d |
List directories only. |
-a |
All files are listed (including hidden files). |
-f |
Print the full path prefix for each file. |
-i |
Makes tree not print the indentation lines. |
-h |
Print the size in a human readable way. |
-p |
Print the file type and permissions. |
-C |
Turn colorization on always. |
-I <pattern> |
Do not list files that match the given pattern. |
-P <pattern> |
List only those files that match the pattern. |
--prune |
Prune empty directories from the output. |
--dirsfirst |
List directories before files. |
Examples
Project Overview:
tree-py -L 2 -I "node_modules|__pycache__" --dirsfirst
Find specific files:
tree-py -P "*.json" --prune
Flat list with full paths:
tree-py -i -f
Metadata
Release files for tree-py-shiso 0.2.0
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 |
|---|---|---|---|---|
| tree_py_shiso-0.2.0.tar.gz | 3.9 kB | Without provenance | Details for tree_py_shiso-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tree_py_shiso-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for tree_py_shiso-0.2.0-py3-none-any.whl |
Total release size: 9.0 kB
Release files / tree_py_shiso-0.2.0.tar.gz
| Download URL | tree_py_shiso-0.2.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc6ddd8f05d80f61529323395414428b5e656eef254f3cd1abcea58c1b2e2483
|
|
BLAKE2b-256 checksum How to use checksums |
adf36eb0ff5f048555417e28f977327fdc772326b7be6459642b3e6ce753c2cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / tree_py_shiso-0.2.0-py3-none-any.whl
| Download URL | tree_py_shiso-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff16d0c75a88412e101cd5fc9b8b08dc7aafff9122222da234e054d02bd8121c
|
|
BLAKE2b-256 checksum How to use checksums |
d4d09ccae8855ab1d04eaccff9170c45d4f90eefe03815f68c6689641b4b37af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for tree-py-shiso 0.2.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.