Hi r/Python! 👋
I'm happy to share file-converter, an open-source Python tool I built.
Description
A multi-format file converter supporting 20+ formats (CSV, JSON, XML, YAML, Excel, PDF, DOCX, PNG, JPG, WEBP, Markdown, HTML) with CLI and Python API.
Category
Tool / Library
Source Code
🔗 https://github.com/ab0jwad/file-converter
Installation
pip install file-converter-tool
Usage
from file_converter import FileConverter
converter = FileConverter()
converter.convert('data.csv', 'data.json')
Features
- 20+ format conversions
- CLI and Python API
- Batch processing
- Automated tests (pytest)
- CI/CD (GitHub Actions)
- MIT License
Why I built it
I needed a simple way to convert between file formats without uploading to online services. Built it to be modular and easy to extend.
A ⭐ would be amazing if you find it useful! 🙏
Top comments (0)