markitdown
markitdown copied to clipboard
File object support for Python API
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.