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.

Files for dirtreegen, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size dirtreegen-0.0.3-py3-none-any.whl (3.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page