Skip to main content

依赖库简述:

  1. PDF 解析:需要 PyMuPDF (fitz) 提供样式信息,pdfplumber 负责表格定位。
  2. Word 解析:核心为 python-docx,并配合 lxml 进行底层 XML 递归扫描。
  3. Excel 解析:依赖 pandas 和 openpyxl 引擎,同时需要 tabulate 来美化 Markdown 表格输出。
  4. HTML 解析:使用 beautifulsoup4 进行降噪处理,html2text 负责格式转换,httpx 支持异步抓取。

一键安装命令:

pip install jin-document-parser

PDF文档解析转MD

from jin_doc_parser import DocumentParseService, ParseOptions
service = DocumentParseService()
result = service.parse("your.pdf")
print(result.markdown_content)

Metadata

Release files for jin-document-parser 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jin-document-parser 0.1.2
File Size Uploaded Provenance Actions
jin_document_parser-0.1.2.tar.gz 10.0 kB Without provenance Details for jin_document_parser-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jin-document-parser 0.1.2
File Interpreter ABI Platform Actions
jin_document_parser-0.1.2-py3-none-any.whl Python 3 none any Details for jin_document_parser-0.1.2-py3-none-any.whl

Total release size: 23.1 kB

Release files / jin_document_parser-0.1.2.tar.gz

Download URL jin_document_parser-0.1.2.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bd7404bdd9cad7e0350c2ece0e837152c25df967913e25c319b6404c55a98076
BLAKE2b-256 checksum
How to use checksums
8a00717008403183d6c0eacff85375445b2da5400b5d795d29d15b2149cdcd05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release files / jin_document_parser-0.1.2-py3-none-any.whl

Download URL jin_document_parser-0.1.2-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26945c87ed6b480c907a8ead7d62b5a4d2dcaa4c8234393dd79459b66cc19168
BLAKE2b-256 checksum
How to use checksums
5fc7a931c32bf039d27f64b9aa23f3b107e3353583b6c1058ce81c199b6da8a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Security for jin-document-parser 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page