
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
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.
Install pastree
using pip
:
pip install pastree
After installation, run the pastree
command:
pastree
Run the pastree
command in your terminal.
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
Press Ctrl+D (Linux/macOS), Ctrl+Z (Windows) or press enter twice to finish.
pastree
will create the corresponding directories and touch the files
Contributions are welcome! To contribute:
This project is licensed under the MIT License. See the LICENSE file for details.
If you encounter any issues or have suggestions for improvement, feel free to open an issue on GitHub.
Happy pastree making! 🌳 🌲 🌴
FAQs
Generate directory structures from tree-like input.
We found that pastree demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.