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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

Uploaded Python 3

Supported by

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