Skip to content

skye-cyber/fconverter

Repository files navigation

fconverter

A python file conversion tool `This is a Linux command-line interface (CLI) utility that coverts documents from one format to another. Your can also convert text file to mp3 formart using google Text to speech library (gTTS).

Installation

  1. Clone the repository:

    git clone https://github.com/skye-cyber/fconverter
  2. Navigate to the project directory:

    cd fconverter
  3. Install the package:

    pip install ./

Usage

To run the CLI app, use the following command:

fconverter [options] stdin stdout

Replace [options] with the appropriate command-line options based on the functionality you want to execute.

Available Options

  • 1: Word to PDF.
  • 2: PDF to Word.
  • 3: Word to PPT.
  • 4: Word to TXT.
  • 5: PDF to TXT.
  • 6: PPT to Word
  • 7: TXT to Word
  • 8: TXT to mp3
  • 9: Enhance image to gray scale
  • 10: XLSX to Word
  • 11: XLSX to text
  • 12: Image OCR text Extraction
  • 13: XLSX to SQLITE db
  • 14: XLSX to CSV

Examples

  1. Example command 1:

    fconverter 1 example.docx example.pdf

This promt parses 1 as the operation and example.docx as the file(stdin) to be converted to example.pdf (stdout)

  1. converting text file to mp3
    fconverter 8 file.txt file.mp3

I you need to covert a file from any other form rather than text to mp3, you should consider converting it to text first

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is an open source software. Under GPL-3.0 license

Feel free to modify and customize this template according to your specific project requirements and add any additional sections or information that you think would be helpful for users.

About

A python file conversion tool repo

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages