Skip to main content

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.

Project description

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.
Python Version License: MIT PyPI Version

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)

  1. Download from pip

    pip install tfq-tool
    
  2. 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
    
  3. 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

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

tfq_tool-2.0.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

tfq_tool-2.0.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

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

Hashes for tfq_tool-2.0.0.tar.gz
Algorithm Hash digest
SHA256 ce216e69e57b347dcd84a676445ab53af1877272064e7f8d0d3190e6834e9b90
MD5 c97563bba5e67ddfafccc722acb349bc
BLAKE2b-256 0a105ab3e32bf301e6bc0c1c839fdf291c4992205d0fd6fd91dfafd24cdfa579

See more details on using hashes here.

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

Hashes for tfq_tool-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7f1f3ba3217b4778df7158cff7a9c78eee6339c975ab1051801230201bcf300b
MD5 ed71fa76bce4b16d5c71358ab5cfd810
BLAKE2b-256 9b35f146c8bc6251ea70a1316ad339bf60e05f76b67f7e019d7849834903d920

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