Skip to main content

Generate directory tree

Project description

dirtreegen

Generate directory tree easily.

Getting Started

Prerequisites

Install the package by pip

pip3 install dirtreegen

How to use

Open interactive command line tool ipython, before do that, make sure you have installed the dirtreegen package

cd yourproject
ipython3
In [1]: from dirtreegen import treegen
In [2]: treegen()
IN [3]:
.
├── .gitignore
├── LICENSE
├── README.md
├── requirements.txt
├── setup.cfg
├── setup.py
└── dirtreegen
    ├── __init__.py
    └── dirtreegen.py

Of course, if you don’t want to show some files or directory, you can create a list which include you don’t want to show.

IN [4]: treegen([‘.gitignore’, ‘dirtreegen’])
IN [5]:
.
├── LICENSE
├── README.md
├── requirements.txt
├── setup.cfg
└── setup.py

Project details


Download files

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

Built Distribution

dirtreegen-0.0.3-py3-none-any.whl (3.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page