clickpy.clickhouse.com/dashboard/tr...
clickpy.clickhouse.com/dashboard/tr...
Try it out. Stop naming folders tset instead of test. Thank me later.
#Python #DevTools #OpenSource #Productivity #Pypi #tree2fs
Try it out. Stop naming folders tset instead of test. Thank me later.
#Python #DevTools #OpenSource #Productivity #Pypi #tree2fs
While working on a bigger library, I kept recreating project structures from docs.
Instead of spending 30 seconds manually every time, I spent two nights making a proper tool.
Now, everyone can just use it. Win-win.
While working on a bigger library, I kept recreating project structures from docs.
Instead of spending 30 seconds manually every time, I spent two nights making a proper tool.
Now, everyone can just use it. Win-win.
✅ Supports comments in tree files
✅ Dry-run mode to preview before creating
✅ CLI & Python API
✅ 100% open source (MIT license, haha)
✅ Supports comments in tree files
✅ Dry-run mode to preview before creating
✅ CLI & Python API
✅ 100% open source (MIT license, haha)
from tree2fs import create_from_tree
create_from_tree("tree.txt")
Perfect for project templates, boilerplates, or documentation examples.
from tree2fs import create_from_tree
create_from_tree("tree.txt")
Perfect for project templates, boilerplates, or documentation examples.
One command is all you need
$ tree2fs tree.txt
Boom 💥 Your entire project structure is created instantly.
One command is all you need
$ tree2fs tree.txt
Boom 💥 Your entire project structure is created instantly.
tree2fs uses a simple 2-phase approach:
1️⃣ Parse your tree text → internal Node-based tree
2️⃣ Traverse → create folders & files
tree2fs uses a simple 2-phase approach:
1️⃣ Parse your tree text → internal Node-based tree
2️⃣ Traverse → create folders & files
You see a project structure like this:
project/
├── src/
│ ├── main .py
│ └── utils .py
├── tests/
└── README .md
…and you spend 10 minutes creating it manually, making typos along the way.
You see a project structure like this:
project/
├── src/
│ ├── main .py
│ └── utils .py
├── tests/
└── README .md
…and you spend 10 minutes creating it manually, making typos along the way.