A tool to combine multiple text files into one for LLM training and prompts
Project description
TextMeld
A CLI tool that combines multiple text files into one, making it perfect for LLM training data preparation and prompt engineering.
Installation
pip install textmeld
Usage
# Basic usage
textmeld /path/to/your/directory
# Set maximum directory depth
textmeld /path/to/your/directory --max-depth 3
The tool will:
- Respect .gitignore patterns if present
- Include README.md content if available
- Combine all text files into a single output
- Skip binary and hidden files automatically
Supported File Types
- Markdown (.md)
- Text (.txt)
- YAML (.yaml, .yml)
- JSON (.json)
- Python (.py)
- JavaScript (.js)
- TypeScript (.ts)
- JSX/TSX (.jsx, .tsx)
- HTML (.html)
- CSS (.css)
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
textmeld-0.2.4.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file textmeld-0.2.4.tar.gz.
File metadata
- Download URL: textmeld-0.2.4.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.0 CPython/3.12.3 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa01f0277a76b8acc4ac80e6ff329a793378dd1dc0ee505b488c32775d8de1ca
|
|
| MD5 |
a93dc161d12e62013fc4172e641e2107
|
|
| BLAKE2b-256 |
dbaa723bdeecaa870d48e77b2321032971398bccffa04badd86dfc9840b5c172
|
File details
Details for the file textmeld-0.2.4-py3-none-any.whl.
File metadata
- Download URL: textmeld-0.2.4-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.0 CPython/3.12.3 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cf729a1848bc718556b3d7db8eeacdc7fc4134f873309661dc1249a302daed1
|
|
| MD5 |
6f292aa9b8afe2d1d56073ea8fb8525d
|
|
| BLAKE2b-256 |
e5852075bf8ebbc8250c1397c29fc32ef8b427431fe3a52468be22676fd9f4b3
|