ASCII tree → directory/file generator
Project description
Treeing — ASCII tree → directory/file generator
Turn directory-tree text (e.g. output from the tree command) into real folders and empty files.
Features
- Common
treeoutput formats: Unicode box-drawing, pipe style, Windowstree, space-indented trees. - Automatic indent repair (disable with
--no-fixor the GUI checkbox). - Both a GUI and a CLI.
- Cross-platform: Windows, macOS, Linux.
- User-visible strings live in
treeing/strings.json(bootstrap errors intreeing/strings.bootstrap.json).
Preview
Screenshot: Windows, English UI, parsing a sample project tree.
Quick start
Install from PyPI
pip install treeing
treeing -i tree.txt -o ./out # CLI
treeing-gui # GUI
The CLI needs only the Python standard library. The GUI uses tkinter; on Linux install it with sudo apt-get install python3-tk (it ships with Python on Windows and macOS).
Run from source
python -m venv .venv
# Windows: .\.venv\Scripts\pip install -r requirements-build.txt
# Unix: .venv/bin/pip install -r requirements-build.txt
python -m treeing.main # GUI
python -m treeing.main -i tree.txt -o ./out # CLI
python -m treeing.main --help # CLI help
Run a prebuilt executable
Prebuilt binaries are attached to each release (Windows, Linux, macOS ARM, macOS x86). Pick the archive for your platform (replace vX.Y.Z with the actual version):
| Platform | Archives |
|---|---|
| Windows | treeing-cli-windows-vX.Y.Z.zip, treeing-gui-windows-vX.Y.Z.zip |
| Linux | treeing-cli-linux-vX.Y.Z.tar.gz, treeing-gui-linux-vX.Y.Z.tar.gz |
| macOS (Apple Silicon) | treeing-cli-macos-arm64-vX.Y.Z.tar.gz, treeing-gui-macos-arm64-vX.Y.Z.tar.gz |
| macOS (Intel) | treeing-cli-macos-x86_64-vX.Y.Z.tar.gz, treeing-gui-macos-x86_64-vX.Y.Z.tar.gz |
CLI and GUI are packaged separately; download whichever you need. Verify against SHA256SUMS.txt in the same release.
treeing-gui # GUI — Linux / macOS
treeing-gui.exe # GUI — Windows
treeing-cli -i tree.txt -o ./out # CLI — Linux / macOS
treeing-cli.exe -i tree.txt -o ./out # CLI — Windows
treeing-cli --help # CLI help — Linux / macOS
treeing-cli.exe --help # CLI help — Windows
Build executables yourself
pip install -r requirements-build.txt
python build.py --target all # outputs to dist/<platform>/
Documentation
See docs/USER_GUIDE.md for a unified guide covering source runs and prebuilt executables on Windows, macOS ARM, macOS x86, and Linux.
Legal
- Licence — MIT; see LICENSE.
- Privacy Policy — see PRIVACY.md.
- Terms of Use — see TERMS.md.
AI Disclosure
Parts of this source code were written with assistance from AI coding tools.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file treeing-1.0.1.tar.gz.
File metadata
- Download URL: treeing-1.0.1.tar.gz
- Upload date:
- Size: 328.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9c6bd9b0e644dbbcecdeefaeaecd4e51ec04fdbff911bd70daaa088064ed291
|
|
| MD5 |
7891cae9ce0f7f458dae0f0886a879b3
|
|
| BLAKE2b-256 |
e64a8876e90b76ff0c5a352e693d2be8b63e0bbeca61c96cdad8525d485ab144
|
Provenance
The following attestation bundles were made for treeing-1.0.1.tar.gz:
Publisher:
build.yml on xiao-ming-b65536/treeing
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
treeing-1.0.1.tar.gz -
Subject digest:
d9c6bd9b0e644dbbcecdeefaeaecd4e51ec04fdbff911bd70daaa088064ed291 - Sigstore transparency entry: 2085545554
- Sigstore integration time:
-
Permalink:
xiao-ming-b65536/treeing@160d78e0135e00a5f41fd7f410c94413eef4aa3b -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/xiao-ming-b65536
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@160d78e0135e00a5f41fd7f410c94413eef4aa3b -
Trigger Event:
push
-
Statement type:
File details
Details for the file treeing-1.0.1-py3-none-any.whl.
File metadata
- Download URL: treeing-1.0.1-py3-none-any.whl
- Upload date:
- Size: 336.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce4b88dc4a75549d5be82d400606d121ec9b06eed30136ba81fb692d01e67c07
|
|
| MD5 |
2dbade5e34aa081621ab47d949980c6c
|
|
| BLAKE2b-256 |
7403d46509161354244eac3ac9f4c9bfd1de4ec96ca220a640c2ae9b8ec63b9f
|
Provenance
The following attestation bundles were made for treeing-1.0.1-py3-none-any.whl:
Publisher:
build.yml on xiao-ming-b65536/treeing
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
treeing-1.0.1-py3-none-any.whl -
Subject digest:
ce4b88dc4a75549d5be82d400606d121ec9b06eed30136ba81fb692d01e67c07 - Sigstore transparency entry: 2085545671
- Sigstore integration time:
-
Permalink:
xiao-ming-b65536/treeing@160d78e0135e00a5f41fd7f410c94413eef4aa3b -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/xiao-ming-b65536
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@160d78e0135e00a5f41fd7f410c94413eef4aa3b -
Trigger Event:
push
-
Statement type: