Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah that was the interesting part to me, at least. Plus, it's Microsoft so hopefully it will work for their files.


That was the first thing I checked, and it looks like they’re using some existing python package to parse docx files. I wonder if they contributed to it or vetted it strongly


Wow, I dunno if that's good or bad, certainly it's not what I expected.


Looking at the code, it looks like they used existing Python packages to read and parse MS Office formats, not what I expected, seeing that the repo is in Microsoft's org on GitHub I expected them to have used Microsoft's "official" libraries for parsing these formats, through Component Object Model (COM).

They used Mammoth for docx (Word) [1][2] Python-pptx for ppt (PowerPoint) [3][4] and Pandas for XSLX (Excel) [5]

[1] https://github.com/microsoft/markitdown/blob/70ab149ff1657c3... [2] https://pypi.org/project/mammoth/ [3] https://github.com/microsoft/markitdown/blob/70ab149ff1657c3... [4] https://pypi.org/project/python-pptx/ [5] https://github.com/microsoft/markitdown/blob/70ab149ff1657c3...


COM requires you to interact with the files through the associated MS Office applications, whereas these libs parse the ooxml file format directly.


...I did not catch that it was from Microsoft. I was wondering why a random markdown converter was so notable.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: