A Python CLI to generate a tree structured diagram for any directory
Project description
gendia
A Python CLI to generate a tree structured diagram for any directory!
Imagine this: you are on Discord and is request help from someone about a project you are working on. You want to show the structure of your project directory to the person. You can't just send a screenshot of the directory because it's too big and the person won't be able to see the whole structure. You can't just send a text file with the structure because it's too boring and the person won't be able to understand it easily. What do you do? You use gendia
!
Heres an example of a tree structured diagram generated by gendia
:
project
├── src
│ ├── main.py
│ ├── utils
│ │ ├── __init__.py
│ │ ├── helper.py
│ │ └── helper2.py
│ ├── tests
│ │ ├── __init__.py
│ │ ├── test_main.py
│ │ └── test_helper.py
│ └── README.md
├── LICENSE
└── .gitignore
Not just that, it is color coded! The directories are in blue, and different file types are in different colors. This makes it easier to understand the structure of the directory.
Installation
To add gendia
to your project, run:
pip install gendia
This should install gendia
to your project. You can now use it to generate tree structured diagrams for your directories.
Usage
To use gendia
, run:
gendia path/to/directory
This should generate a tree structured diagram for the directory you specified. You can also specify the output file by using the -o
flag:
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
Built Distribution
File details
Details for the file gendia-0.2.0.tar.gz
.
File metadata
- Download URL: gendia-0.2.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ceec4418f9b3755a6aa05992bc3d673f787bf2b382f584a431caaf81280007d |
|
MD5 | 943cd9501f4e6f2ea9934fb78ba3e10c |
|
BLAKE2b-256 | 10b7fc20662e74bd0c739bae2b17bcdc9e039c9e265287c2772e422921cd90be |
File details
Details for the file gendia-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: gendia-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfadce02d968fef4ecc3941d5496af3ba960a1a94346aed1b46ca23760c29a4f |
|
MD5 | 8d5660b50f54aa9a95a9c76995dde628 |
|
BLAKE2b-256 | ca2d098a54e7fe9c6c15ccc23f600244224e1505be12174d6955996be068b293 |