markitdown icon indicating copy to clipboard operation
markitdown copied to clipboard

File object support for Python API

Open KennyZhang1 opened this issue 10 months ago • 0 comments

This PR allows MarkItDown to accept file objects as inputs for conversion. All of the individual converters have been refactored to accept a "ConverterInput" object that can hold either a file path or a file buffer, rather than just a local path. Additionally, a new conversion set up function for file objects has been added to the main class.

KennyZhang1 avatar Feb 21 '25 16:02 KennyZhang1