Created
March 18, 2025 07:41
markitdown notes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install -e packages/markitdown[all] | |
pip install pyinstaller | |
create a bootstrap file: | |
markitdown-main\packages\markitdown\src\runme.py | |
content: | |
import markitdown.__main__ | |
if __name__ == "__main__": | |
markitdown.__main__.main() | |
Now compile to exe: | |
//can also use --onefile | |
"C:\Users\smith\AppData\Roaming\Python\Python311\Scripts\pyinstaller.exe" --onedir --hidden-import=markitdown --clean --name "markitdown" --collect-submodules=markitdown --collect-all=magika runme.py | |
Test exe: | |
markitdown.exe "C:\Temp\test.pdf" -o "C:\Temp\test.md" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment