Skip to main content

pastree 🥐 ˖ 🌴

pastree is a command-line tool for generating directory structures from tree-like input. Just paste your desired structure, and pastree creates all the necessary directories and files for you.


Features

  • Quickly scaffold complex directory structures.
  • Supports a tree-style input format for intuitive use.
  • Works cross-platform (Linux, macOS, Windows).

Installation

Install pastree using pip:

pip install pastree

Usage

After installation, run the pastree command:

pastree

Example

  1. Run the pastree command in your terminal.

  2. Paste your desired directory structure (in a tree-like format):

    my_project/
    ├── LICENSE
    ├── README.md
    ├── setup.py
    ├── my_project/
    │   ├── __init__.py
    │   └── main.py
    └── tests/
        ├── __init__.py
        └── test_main.py
    
  3. Press Ctrl+D (Linux/macOS), Ctrl+Z (Windows) or press enter twice to finish.

  4. pastree will create the corresponding directories and touch the files


Contributing

Contributions are welcome! To contribute:

  1. Fork this repository.
  2. Make your changes in a new branch.
  3. Submit a pull request with a detailed description of your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Feedback and Support

If you encounter any issues or have suggestions for improvement, feel free to open an issue on GitHub.

Happy pastree making! 🌳 🌲 🌴

Metadata

Release files for pastree 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pastree 0.1.3
File Size Uploaded Provenance Actions
pastree-0.1.3.tar.gz 5.6 kB Without provenance Details for pastree-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pastree 0.1.3
File Interpreter ABI Platform Actions
pastree-0.1.3-py3-none-any.whl Python 3 none any Details for pastree-0.1.3-py3-none-any.whl

Total release size: 11.9 kB

Release files / pastree-0.1.3.tar.gz

Download URL pastree-0.1.3.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
99dced73915ed9f1743cbfb924a22b56d66c8343bf7fb3aa7f7f050ac33de137
BLAKE2b-256 checksum
How to use checksums
16da67a116b01eff542d6fb100ae5040ed6854faf06b52638e812ec0f8a8588a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / pastree-0.1.3-py3-none-any.whl

Download URL pastree-0.1.3-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
326db5fd352f5a344f1c8b91e18ecf8be8a5224b29554a13f78dab384636c78d
BLAKE2b-256 checksum
How to use checksums
2650a3163bb03edc1c07ff5df48922d1451122a357ce1d269fe1e8396dfc6d26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Security for pastree 0.1.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page