treex
List directory contents as a tree with file metadata
- Copyright (c) 2026 Corey Goldberg
- Development: GitHub
- Releases: PyPI
- License: MIT
About
treex is a command-line utility that recursively scans a directory and
displays its contents as a tree along with file metadata.
- Displays human-readable file sizes
- Shows line counts for text files
- Identifies binary and unreadable files by type
- Optionally displays modification timestamps
- Respects
.gitignorerules when Git is installed
Status
| Latest Version |
|
| Tests (CI) |
|
| Supported Python Versions |
|
Requirements
- Python 3.10+
- Git 2.0+ (optional)
- UTF-8-compatible terminal
Installation
Install treex from PyPI using either pip or pipx:
pip install treex-clipipx install treex-cli
Usage
$ treex --help
usage: treex [-h] [-a] [-m] [-q] [-s] [directory]
List directory contents as a tree with file metadata.
positional arguments:
directory directory to scan (default: current directory)
options:
-h, --help show this help message and exit
-a, --all show all files (including those ignored by Git)
-m, --modified show file modification times
-q, --quiet don't show file metadata
-s, --summary show summary only
Screenshot
Metadata
Release files for treex-cli 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| treex_cli-0.1.5.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| treex_cli-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.1 kB
Release files / treex_cli-0.1.5.tar.gz
| Download URL | treex_cli-0.1.5.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
666e31347bebd6a1b053213d6a21496e81687b6f3b88675388dbaa93eb4e86e4
|
|
BLAKE2b-256 checksum How to use checksums |
262974291fc9cff10236ba548d24288523fe112f11130c0f94e5b6a3df09c146
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / treex_cli-0.1.5-py3-none-any.whl
| Download URL | treex_cli-0.1.5-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f3f0178fe350d64a66a22c223044f72ce321b300ad3328cffbfcca430f36989d
|
|
BLAKE2b-256 checksum How to use checksums |
ef5f23e9b9a28763fa44e81d2ccfff8ffe7ccba80f8d76f5b148573913d03c0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|