Skip to main content

Tree2File

A command-line tool to create directory structures from tree command output.

Installation

pip install tofile

Usage

  1. Run the command:
tofile
  1. Paste your tree structure. For example:
my_project/
├── src/
│   └── main.py
├── tests/
│   └── test_main.py
└── README.md
  1. Press Enter twice to finish input.

The tool will create the directory structure in your current working directory.

Features

  • Creates directories and files from tree command output
  • Validates input structure before creation
  • Handles nested directories and files
  • Simple command-line interface
  • Two convenient commands: t2f or tree2file

License

MIT License

Metadata

Release files for tofile 0.1.0

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

Source distribution (sdist)

Source distribution for tofile 0.1.0
File Size Uploaded Provenance Actions
tofile-0.1.0.tar.gz 4.3 kB Without provenance Details for tofile-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 8.9 kB

Release files / tofile-0.1.0.tar.gz

Download URL tofile-0.1.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dc7238e7a0b711b96d217b8f2624159f90c79b385aefd5a576933a9aa74c01e9
BLAKE2b-256 checksum
How to use checksums
e181a8f0c239a89f8ba576aa936cd88fb111f79daf5335d60fd1b6ecd3617d6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.10

Release files / tofile-0.1.0-py3-none-any.whl

Download URL tofile-0.1.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2489a21955127be41d2c2fe6a76585c95cef4a16c7bd0403e1f6831c9aae1b7a
BLAKE2b-256 checksum
How to use checksums
8d6228f62cf69670dd761e9b611cb0e927ee9a6fd3c921faf1082e8a84ecd004
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.10

Security for tofile 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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