Skip to main content

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 tree output formats: Unicode box-drawing, pipe style, Windows tree, space-indented trees.
  • Automatic indent repair (disable with --no-fix or the GUI checkbox).
  • Both a GUI and a CLI.
  • Cross-platform: Windows, macOS, Linux.
  • User-visible strings live in treeing/strings.json (bootstrap errors in treeing/strings.bootstrap.json).

Preview

Treeing GUI

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

AI Disclosure

Parts of this source code were written with assistance from AI coding tools.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

treeing-1.0.1.tar.gz (328.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

treeing-1.0.1-py3-none-any.whl (336.8 kB view details)

Uploaded Python 3

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

Hashes for treeing-1.0.1.tar.gz
Algorithm Hash digest
SHA256 d9c6bd9b0e644dbbcecdeefaeaecd4e51ec04fdbff911bd70daaa088064ed291
MD5 7891cae9ce0f7f458dae0f0886a879b3
BLAKE2b-256 e64a8876e90b76ff0c5a352e693d2be8b63e0bbeca61c96cdad8525d485ab144

See more details on using hashes here.

Provenance

The following attestation bundles were made for treeing-1.0.1.tar.gz:

Publisher: build.yml on xiao-ming-b65536/treeing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for treeing-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ce4b88dc4a75549d5be82d400606d121ec9b06eed30136ba81fb692d01e67c07
MD5 2dbade5e34aa081621ab47d949980c6c
BLAKE2b-256 7403d46509161354244eac3ac9f4c9bfd1de4ec96ca220a640c2ae9b8ec63b9f

See more details on using hashes here.

Provenance

The following attestation bundles were made for treeing-1.0.1-py3-none-any.whl:

Publisher: build.yml on xiao-ming-b65536/treeing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page