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).
-
Clone the repository:
git clone https://github.com/skye-cyber/fconverter
-
Navigate to the project directory:
cd fconverter
-
Install the package:
pip install ./
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.
1
: Word to PDF.2
: PDF to Word.3
: Word to PPT.4
: Word to TXT.5
: PDF to TXT.6
: PPT to Word7
: TXT to Word8
: TXT to mp39
: Enhance image to gray scale10
: XLSX to Word11
: XLSX to text12
: Image OCR text Extraction13
: XLSX to SQLITE db14
: XLSX to CSV
-
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)
- 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
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.
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.