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.1.0.tar.gz (4.3 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.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: textmeld-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 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.1.0.tar.gz
Algorithm Hash digest
SHA256 8ad557553ef219d09a185ec1802826aabb07e71a8b481048c3d0439869687d72
MD5 da0ca84b23104f812c3eac7245384868
BLAKE2b-256 54488191a95c5aa7f75fecc650ffdc4377cd66222b6a42edf8d2003f2bdae5a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: textmeld-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4164b719bd1a886b8c4d8a47815e21d47623d309e1f1b4f2480492592f602ea4
MD5 ea7bac82a9972e05461bae9b5efa4f97
BLAKE2b-256 3b0d20983054400da82a6ddfaebabcc96b8ca278e208fadde630466995fbca58

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