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.3.tar.gz
(3.2 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.3.tar.gz.
File metadata
- Download URL: textmeld-0.2.3.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.12.3 Linux/6.8.0-1017-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d2c38a7e0f4d9d511e63091e9511069bc5c39ae12c3713ea512e268d592eac2
|
|
| MD5 |
7f96f21022993b9fb23749c534302e7c
|
|
| BLAKE2b-256 |
fca25271455a822fb85529190129b2199fb496c4d81cc7954a69bdae8ded2dd5
|
File details
Details for the file textmeld-0.2.3-py3-none-any.whl.
File metadata
- Download URL: textmeld-0.2.3-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.12.3 Linux/6.8.0-1017-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62a449f45c05e04e5659e12b379512e052daaa188eb65b0514514dc523799a6c
|
|
| MD5 |
7f18b1261d152940cb27356b66be0ba0
|
|
| BLAKE2b-256 |
47822a3a185ac4920eae0c3846b5d7a5ed7360f5b522fdbf095e0202aa6584ca
|