https://github.com/opendatalab/MinerU.git
|
|
hai 1 ano | |
|---|---|---|
| .github | hai 1 ano | |
| demo | hai 1 ano | |
| magic_pdf | hai 1 ano | |
| others | hai 1 ano | |
| tests | hai 1 ano | |
| tools | hai 1 ano | |
| .gitignore | hai 1 ano | |
| LICENSE.md | hai 1 ano | |
| README.md | hai 1 ano | |
| magic-pdf.template.json | hai 1 ano | |
| requirements.txt | hai 1 ano | |
| setup.py | hai 1 ano | |
| update_version.py | hai 1 ano |
便捷、准确的将PDF转换成Markdown文档
python 3.9+
1.Clone the repo
git clone https://github.com/magicpdf/Magic-PDF.git
2.Install the requirements
cd Magic-PDF
pip install -r requirements.txt
3.Run the command line
linux/osx
export PYTHONPATH=.
win
$env:PYTHONPATH += ";.\Magic-PDF\magic_pdf"
python magic_pdf/cli/magicpdf.py --help