feat: PDF 파서 추가 - #1
Merged
Merged
Conversation
기능:
- pymupdf (fitz)를 사용한 PDF 텍스트 추출
- 페이지별 텍스트 추출 및 문단 분리
- PDF 메타데이터 추출 (제목, 작성자, 페이지 수)
사용법:
```python
from ureca_document_parser import convert
# PDF를 Markdown으로 변환
convert("document.pdf", "output.md")
# LangChain 청크로 변환
chunks = convert("document.pdf", chunks=True)
```
선택적 의존성:
```bash
uv add "ureca_document_parser[pdf]"
```
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
개요
pymupdf (fitz)를 사용한 PDF 텍스트 추출 기능을 추가했어요.
변경사항
.pdf확장자)사용 예시
설치
uv add "ureca_document_parser[pdf]"테스트
🤖 Generated with Claude Code