TFQ_tool
is a command-line utility for extracting text from various file formats, including text files, PDFs, Word documents, spreadsheets, and code files in popular programming languages.
Features ✨
- 📂 Multi-format support: PDF, Word, Excel, TXT, and 8+ code formats
- ⚡ Parallel processing: Multi-threaded extraction for bulk operations
- 🛡️ Robust error handling: Clear error messages and file validation
- 📦 Auto-output naming: Generates organized output files/directories
Installation 💻
From PyPI (Recommended)
-
Download from pip
pip install tfq-tool
-
Used by repository
git clone https://github.com/your-username/TFQ_tool.git cd TFQ_tool pip install -r requirements.txt python tfq_tool.py
-
Usage 🛠️
"Basic Command" tfq_tool [FILES] [OPTIONS] "Single file extraction" tfq_tool document.pdf --output results.txt "Batch processing with 4 threads" tfq_tool *.pdf *.docx --threads 4 --output ./extracted_texts "Force overwrite existing files" tfq_tool data.xlsx --output output.txt --force
Options⚙️
- Flag Description
- -o, --output Output path (file or directory)
- -t, --threads Thread count (default: 1)
- -v, --verbose Show detailed processing logs
- -f, --force Overwrite files without confirmation
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tfq_tool-2.0.0.tar.gz
(2.4 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 tfq_tool-2.0.0.tar.gz.
File metadata
- Download URL: tfq_tool-2.0.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce216e69e57b347dcd84a676445ab53af1877272064e7f8d0d3190e6834e9b90
|
|
| MD5 |
c97563bba5e67ddfafccc722acb349bc
|
|
| BLAKE2b-256 |
0a105ab3e32bf301e6bc0c1c839fdf291c4992205d0fd6fd91dfafd24cdfa579
|
File details
Details for the file tfq_tool-2.0.0-py3-none-any.whl.
File metadata
- Download URL: tfq_tool-2.0.0-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f1f3ba3217b4778df7158cff7a9c78eee6339c975ab1051801230201bcf300b
|
|
| MD5 |
ed71fa76bce4b16d5c71358ab5cfd810
|
|
| BLAKE2b-256 |
9b35f146c8bc6251ea70a1316ad339bf60e05f76b67f7e019d7849834903d920
|