Skip to main content

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:

  1. Respect .gitignore patterns if present
  2. Include README.md content if available
  3. Combine all text files into a single output
  4. 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.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

textmeld-0.2.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file textmeld-0.2.0.tar.gz.

File metadata

  • Download URL: textmeld-0.2.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for textmeld-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a995d3962e65925bfda47b2098573ebc9ee9fda8a627cc28bd302b5fe7a93ddb
MD5 5b7d12f62a0a76b82a1542fc72e26e3a
BLAKE2b-256 440bf9465f5b8a00cf5df896840256fa959a2e49d6b644b525d423a72aeb9b6c

See more details on using hashes here.

File details

Details for the file textmeld-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: textmeld-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for textmeld-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 601f668ba51ff9d783299802397ba940a0dc7c51b43331fbedd3b7b6285062a1
MD5 108a7996d775b88be773e355c1afa5bd
BLAKE2b-256 498af418bbeafdd433f3dbb02415c10aa3b8773fe31a4791b02e78f85a3b4ca3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page