Python module to generate Directory tree structure.
Project description
REPOSTRUC
repostruc
is a cross-platform library that returns the directory structure in a formated form. The structure can be copied to your clipboard or a .md file can be made available..md example
Ignored files
repostruc
ignores files from.gitinore
file if present else ignores commonly ignored files and directories.
Install the Requirements
pip install repostruc
Usage
To clipboard
repostruc -c
To file
repostruc -f filepath
To PROJECTINFO.md
repostruc -r -f
Example
View PROJECTINFO.md
which was made using repostruc
Built With
pathlib
- pathlib offers a set of classes to handle filesystem paths.pyperclip
- Cross-platform clipboard utilities supporting both binary and text data.gitignore_parser
- A spec-compliant gitignore parser for Python 3.5+docopt
- creates beautiful command-line interfaces
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.
Authors
- Atharva Gundawar - Initial work - Github handle
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
- Generator function from Aaron Hall's answer here
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 repostruc-0.0.5.tar.gz
.
File metadata
- Download URL: repostruc-0.0.5.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6d2fd308cfb6bf771023ea1b446439674e6867ed489444f248abc89692917fa |
|
MD5 | e46081b671d8ec754ca47c6b4fe010fc |
|
BLAKE2b-256 | 6a7a784ce0159ba4bb7c2bd28e337d13a822fdcfc7271e70c2ed9453092e01fe |
File details
Details for the file repostruc-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: repostruc-0.0.5-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d24704a9207afde3b737d93a43645d0f1559b60b56f4e2f2412ec5f2acc5d7b |
|
MD5 | ef3009b5127c37feac17dc5a5186b98a |
|
BLAKE2b-256 | 3d139ebb31d25a89f6841b072d3fd0e585a5bc05b53b8666fadd9f00d193373a |