Skip to main content

Python module to generate Directory tree structure.

Project description

Project Title

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

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

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

repostruc-0.0.4.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

repostruc-0.0.4-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file repostruc-0.0.4.tar.gz.

File metadata

  • Download URL: repostruc-0.0.4.tar.gz
  • Upload date:
  • Size: 5.2 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

Hashes for repostruc-0.0.4.tar.gz
Algorithm Hash digest
SHA256 2d51dd0da2c8d15048e8f9bf718ef62e130ce45f69e56d2347a125f7fb2015a7
MD5 39be67b7a0ffea32e3e1e4fc3caa9ba5
BLAKE2b-256 48df856ab5ad1948bca0ddb9c81ad9b24c3146aa70305bbd2cafaba0aaad228b

See more details on using hashes here.

File details

Details for the file repostruc-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: repostruc-0.0.4-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

Hashes for repostruc-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b4f951225423b1d3b0d99f41acf5fdd4a9e7b8c61a6f37dcd88eb041675208a0
MD5 b753d7a2b1bb4637a261d6c203169c04
BLAKE2b-256 90c089145d3235ec4987dae151e7ca37df177523c74e9b43617d22e7bd0f44a3

See more details on using hashes here.

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