A Python CLI tool for developers and data analysts to process large batches of text files. It reads from a CSV manifest, applies cleaning rules, and outputs standardized files. Saves hours of manual text editing.
Features
- Process thousands of .txt, .md, and .log files from a CSV manifest
- Apply regex find-and-replace rules defined in a JSON config file
- Remove duplicate lines, trim whitespace, and standardize line endings
- Append or prepend headers/footers based on file metadata
- Generate a detailed processing report in JSON format
Usage
batch_text_processor --manifest files.csv --config rules.json --output ./cleaned
Requirements
Python 3.8+. Install dependencies:
pip install -r requirements.txt
Download
Buy once, download immediately. ZIP includes the full script, README, and usage examples.
License
Personal & Commercial Use. You may use this tool in your own personal and commercial projects. Redistribution or resale of the source code is not permitted.