Skip to main content

A tool to combine files in a folder for LLM processing

Project description

File Combiner

File Combiner is a Python package that processes files in a folder and combines them into a single output file, suitable for use with Large Language Models (LLMs).

Installation

You can install File Combiner using pip:

pip install llm_file_combiner

Usage

After installation, you can use the file-combiner command from anywhere in your terminal:

file-combiner /path/to/folder --output combined_output.txt --extensions .py .txt --ignore venv .git

Arguments:

  • folder_path: Path to the folder to process (required)
  • --output: Name of the output file (default: output.txt)
  • --extensions: File extensions to include (e.g., .py .txt)
  • --ignore: Folders to ignore (e.g., git node_modules)(default: ['.git', 'node_modules', 'pycache'])

License

This project is licensed under the MIT License.

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

llm_file_combiner-0.2.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

llm_file_combiner-0.2.0-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

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