Open bhargavnova opened 1 year ago
Added universal_file_converter
clone this repo, add ur conversation function inside _my_utils/_utils/
there is one function added already convert_srt_to_lrc
use that as a reference.
:)
Just have to add your own function.
modify the config.yml
file.
modify the func_list.txt
file.
Happy Coding!
Comment what are you going to work on, and start working, just make sure someone is not working on the same function as you are. you can check previous comments for that, or check the code itself.
Hey @bhargavnova , seems very interesting and fun to work on this issue. I'm thinking to start it by first building a pdf to docx converter. Could you please assign me this issue under hacktoberfest label?
Sure @harshjais369, go ahead.
I have added one template folder which contains class-based .py file and function-based .py file,
you can choose any of those to get started, and add your function inside _my_utils/_utils/
Note: This Issue can have multiple contributors so anyone can submit their own conversation function, just mention here what you are going to work on. if you have any doubts feel free to ask.
@bhargavnova Thank you! I have built my function, and will raise a PR after a few hours later..
Can I try CSV to JSON?
I will take JSON to CSV as well :smile:
I can do the txt to csv part.
I am also doing the markdown to html.
I will add CSV to XML :grinning:
Hey @bhargavnova , I would like to work on this. Can I take up pdf to txt and txt to pdf?
I can do html to markdown.
I want to add docx to pdf.
I also want to add image to grayscale.
Objective
Developing a versatile Python script that serves as a universal file converter, capable of converting various file formats to different formats. This tool will provide users a seamless way to convert files such as documents, images, audio, and more, enabling compatibility across different applications and platforms.
Features
Support for Multiple Formats: Implement the ability to convert files between different formats, including but not limited to documents (e.g., PDF to DOCX), images (e.g., PNG to JPEG), audio (e.g., MP3 to WAV), etc.
User-Friendly Interface: Provide a clear and intuitive interface for users to select input and output formats, and specify file paths.
Batch Conversion: Allow users to convert multiple files at once for increased efficiency.
Example Usage
Difficulty
: Beginner/Intermediate/AdvancedTags
: Python, File Conversion, Universal Converter, CompatibilityAdditional Information
Contribution Guidelines
The updated guidelines can be found here.
Important Note:
add your own code
and update theconfig.json
file,Happy Coding!!
Please follow the below guidelines.
convert_{ext1}_to_{ext2}
(ex:convert_srt_to_lrc
) #btw both are lyrics files extensionsadd__init__.py
inside the same folder.OOP
for beginners if they don't know that, you can simply write a function also no worries as long as that works :). if it's OOP based then main method will be according to first point. and for funtion the name will be according to first point.convert_me.py
script, so no need to modify anything.input_file_path
andoutput_file_path
, but if you want to add more, you might need to modify the code in theconvert_me.py
fileconvert_srt_to_lrc
, you can add your GitHub username there. under Features section.Tracker