markitdown
파일 및 오피스 문서를 Markdown으로 변환하는 Python 도구입니다.
파일 탐색기
최종 버전 다운로드 (.zip)- devcontainer.json
- pre-commit.yml
- tests.yml
- dependabot.yml
- __init__.py
- latex_dict.py
- omml.py
- __init__.py
- pre_process.py
- __init__.py
- __init__.py
- _audio_converter.py
- _bing_serp_converter.py
- _csv_converter.py
- _cu_converter.py
- _doc_intel_converter.py
- _docx_converter.py
- _epub_converter.py
- _exiftool.py
- _html_converter.py
- _image_converter.py
- _ipynb_converter.py
- _llm_caption.py
- _markdownify.py
- _outlook_msg_converter.py
- _pdf_converter.py
- _plain_text_converter.py
- _pptx_converter.py
- _rss_converter.py
- _transcribe_audio.py
- _wikipedia_converter.py
- _xlsx_converter.py
- _youtube_converter.py
- _zip_converter.py
- __about__.py
- __init__.py
- __main__.py
- _base_converter.py
- _exceptions.py
- _markitdown.py
- _stream_info.py
- _uri_utils.py
- py.typed
- MEDRPT-2024-PAT-3847_medical_report_scan.md
- movie-theater-booking-2024.md
- RECEIPT-2024-TXN-98765_retail_purchase.md
- REPAIR-2022-INV-001_multipage.md
- SPARSE-2024-INV-1234_borderless_table.md
- test.md
- equations.docx
- masterformat_partial_numbering.pdf
- MEDRPT-2024-PAT-3847_medical_report_scan.pdf
- movie-theater-booking-2024.pdf
- random.bin
- RECEIPT-2024-TXN-98765_retail_purchase.pdf
- REPAIR-2022-INV-001_multipage.pdf
- rlink.docx
- SPARSE-2024-INV-1234_borderless_table.pdf
- test.docx
- test.epub
- test.jpg
- test.json
- test.m4a
- test.mp3
- test.pdf
- test.pptx
- test.wav
- test.xls
- test.xlsx
- test_blog.html
- test_files.zip
- test_llm.jpg
- test_mskanji.csv
- test_notebook.ipynb
- test_outlook_msg.msg
- test_rss.xml
- test_serp.html
- test_svg_no_fallback.pptx
- test_wikipedia.html
- test_with_comment.docx
- __init__.py
- _test_vectors.py
- test_cli_misc.py
- test_cli_vectors.py
- test_cu_converter.py
- test_docintel_html.py
- test_module_misc.py
- test_module_vectors.py
- test_pdf_masterformat.py
- test_pdf_memory.py
- test_pdf_tables.py
- test_pptx_svg.py
- pyproject.toml
- README.md
- ThirdPartyNotices.md
- __about__.py
- __init__.py
- __main__.py
- py.typed
- __init__.py
- Dockerfile
- pyproject.toml
- README.md
- __about__.py
- __init__.py
- _docx_converter_with_ocr.py
- _ocr_service.py
- _pdf_converter_with_ocr.py
- _plugin.py
- _pptx_converter_with_ocr.py
- _xlsx_converter_with_ocr.py
- docx_complex_layout.docx
- docx_image_end.docx
- docx_image_middle.docx
- docx_image_start.docx
- docx_multipage.docx
- docx_multiple_images.docx
- pdf_complex_layout.pdf
- pdf_image_end.pdf
- pdf_image_middle.pdf
- pdf_image_start.pdf
- pdf_multipage.pdf
- pdf_multiple_images.pdf
- pdf_scanned_invoice.pdf
- pdf_scanned_meeting_minutes.pdf
- pdf_scanned_minimal.pdf
- pdf_scanned_report.pdf
- pdf_scanned_sales_report.pdf
- pptx_complex_layout.pptx
- pptx_image_end.pptx
- pptx_image_middle.pptx
- pptx_image_start.pptx
- pptx_multiple_images.pptx
- xlsx_complex_layout.xlsx
- xlsx_image_end.xlsx
- xlsx_image_middle.xlsx
- xlsx_image_start.xlsx
- xlsx_multiple_images.xlsx
- __init__.py
- test_docx_converter.py
- test_pdf_converter.py
- test_pptx_converter.py
- test_xlsx_converter.py
- LICENSE
- pyproject.toml
- README.md
- __about__.py
- __init__.py
- _plugin.py
- py.typed
- test.rtf
- __init__.py
- test_sample_plugin.py
- pyproject.toml
- README.md
- .dockerignore
- .gitattributes
- .gitignore
- .pre-commit-config.yaml
- CODE_OF_CONDUCT.md
- Dockerfile
- LICENSE
- README.md
- SECURITY.md
- SUPPORT.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/microsoft/markitdown
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd markitdown
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. 공식 설치 스크립트
쉬움 추천사전 준비물
- Python 3 pip 명령어를 쓰려면 Python이 필요합니다.
pip install 'markitdown[pdf, docx, pptx]'
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install markitdown-ocr
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install openai # or any OpenAI-compatible client
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install hatch # Other ways of installing hatch: https://hatch.pypa.io/dev/install/
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
설치 후 새 터미널을 열고, 프로그램의 버전 확인 명령(예: --version)으로 정상 설치됐는지 확인하세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Docker
쉬움사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker build -t markitdown:latest .
Dockerfile을 기반으로 실행 가능한 이미지를 빌드합니다.
docker run --rm -i markitdown:latest < ~/your-file.pdf > output.md
빌드된 이미지를 실제 컨테이너로 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
4. Python
쉬움사전 준비물
python -m venv .venv
파이썬 스크립트(또는 모듈)를 실행합니다.
pip install -e 'packages/markitdown[all]'
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
pip install 'markitdown[pdf, docx, pptx]'
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install markitdown-ocr
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install openai # or any OpenAI-compatible client
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
