Skip to content

Python library containing multiple file converters.

License

Notifications You must be signed in to change notification settings

CSynodinos/flconverters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flconverters

A Python module containing multiple file converters.

Authors

CSynodinos

Installation

Via pip:

  pip install flconverters

This is my first attempt at creating a library. This library allows for the conversion of files into other formats (both as a single file and as a batch). It relies on pillow, opencv, XLSXWriter and docx for most conversions. The rest are done by default python libraries. Currently, installation is available through pip, but in the future conda installation will be possible.

Example

    >>> from flconverters import txtconvert
    >>> convert = txtconvert(__file__ = path/to/file/or/directory, __d__ = path/to/output/directory)
    >>> convert.txt_docx()

Features

  • Convert Text Documents to .docx

    • Convert to .ods
  • Convert Image files to other formats:

    • images to pdf.
    • image to base64 text file (UTF-8 encryption).
    • images to binary.
    • multiple compressed/raw image formats to .jpeg and .png.
  • Convert spreadsheet files (.xlsx, .csv, .tsv) into .xlsx, .csv or .tsv.

    • Convert to .ods
    • Convert to .html