Gives you an overview of your Project structure
Go to file
Falko Victor Habel 380b3aacb2
Gitea Actions For Tree-Structurer / Explore-Gitea-Actions (push) Successful in 25s Details
overhall, added proper source dir and and improved code to not need python anymore and renaming it
2025-01-30 11:37:49 +01:00
.gitea/workflows .gitea/workflows/test.yaml aktualisiert 2025-01-20 16:32:43 +00:00
.vscode vs code setup 2025-01-19 12:14:38 +01:00
src/prodir overhall, added proper source dir and and improved code to not need python anymore and renaming it 2025-01-30 11:37:49 +01:00
tests overhall, added proper source dir and and improved code to not need python anymore and renaming it 2025-01-30 11:37:49 +01:00
.gitignore Initial commit 2025-01-18 21:37:27 +00:00
LICENSE Initial commit 2025-01-18 21:37:27 +00:00
README.md corrected readme 2025-01-20 18:38:10 +01:00
example.py overhall, added proper source dir and and improved code to not need python anymore and renaming it 2025-01-30 11:37:49 +01:00
pyproject.toml overhall, added proper source dir and and improved code to not need python anymore and renaming it 2025-01-30 11:37:49 +01:00
pytest.ini fianlized tests and fixed errors if needed. Including improved error handling 2025-01-20 15:43:23 +01:00
requirements-dev.txt added missing yaml files 2025-01-20 15:46:36 +01:00
setup.cfg fianlized tests and fixed errors if needed. Including improved error handling 2025-01-20 15:43:23 +01:00
setup.py overhall, added proper source dir and and improved code to not need python anymore and renaming it 2025-01-30 11:37:49 +01:00

README.md

Tree-Structurer

This is a Python package designed to display directory structures in a tree-like format. This tool provides an easy-to-read overview of the directory hierarchy, making it easier for developers to navigate complex project structures.

Installation

To install tree_structurer, you can use pip:

 pip install git+https://gitea.fabelous.app/Fabel/Tree-Structurer.git

Usage

You can run tree_structurer from the command line. By default, it will analyze the current directory and print its structure in a tree-like format. You can also specify a path to another directory.

To display the directory structure of the current directory:

python -m tree_structurer

To display the directory structure of a specific directory:

python -m tree_structurer /path/to/directory

Options

  • -v or --verbose: Show more detailed output, including information about the path being analyzed.

Example:

python -m tree_structurer /path/to/directory -v

Important Files and Folders Ignored

By default, tree_structurer ignores files and folders that start with _ or .. However, it does include the following exceptions:

  • __init__.py and __main__.py files: These are considered important and will be included in the output.
  • Special folders like build, .git, node_modules, etc.: These are also ignored to keep the output focused on the essential parts of the directory structure.

Example Output

Analyzing directory: /path/to/directory:
├── main.py
├── module1
│   ├── __init__.py
│   └── submodule1.py
└── utils
    ├── helper.py
    └── constants.py