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.
Metadata
Release files for treeing 1.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 | |
|---|---|---|---|
| treeing-1.0.1.tar.gz | 328.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| treeing-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 665.5 kB
Release files / treeing-1.0.1.tar.gz
| Download URL | treeing-1.0.1.tar.gz |
|---|---|
| Size | 328.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9c6bd9b0e644dbbcecdeefaeaecd4e51ec04fdbff911bd70daaa088064ed291
|
|
BLAKE2b-256 checksum How to use checksums |
e64a8876e90b76ff0c5a352e693d2be8b63e0bbeca61c96cdad8525d485ab144
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 6, 2026.
Transparency logRelease files / treeing-1.0.1-py3-none-any.whl
| Download URL | treeing-1.0.1-py3-none-any.whl |
|---|---|
| Size | 336.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce4b88dc4a75549d5be82d400606d121ec9b06eed30136ba81fb692d01e67c07
|
|
BLAKE2b-256 checksum How to use checksums |
7403d46509161354244eac3ac9f4c9bfd1de4ec96ca220a640c2ae9b8ec63b9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 6, 2026.
Transparency log