REPOSTRUC
repostrucis 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
repostrucignores files from.gitinorefile 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
Metadata
Release files for repostruc 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| repostruc-0.0.6.tar.gz | 5.8 kB | Without provenance | Details for repostruc-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| repostruc-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for repostruc-0.0.6-py3-none-any.whl |
Total release size: 12.6 kB
Release files / repostruc-0.0.6.tar.gz
| Download URL | repostruc-0.0.6.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
208fcea9644d530dd2c004cd794c0dc59bbf128f561ac6f0890b3593622c3b65
|
|
BLAKE2b-256 checksum How to use checksums |
b12caa20d1fb5ba0c0430212fc8bca39070dbe0fd2c553742931193687477409
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|
Release files / repostruc-0.0.6-py3-none-any.whl
| Download URL | repostruc-0.0.6-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3697bfbb9b1d6860e8b1045f71e61fadc11c61ddcdc00cd86369372697118468
|
|
BLAKE2b-256 checksum How to use checksums |
3eb1e5b680bd0dfc21950d54397cc4092271c548d44af50ebd1376587ea2a1db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|
Security for repostruc 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.