Skip to main content

A unified document parser for PDF, Word, Excel and HTML

Project description

依赖库简述:

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

一键安装命令:

pip install pandas PyMuPDF pdfplumber python-docx lxml openpyxl beautifulsoup4 html2text requests httpx tabulate

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jin_document_parser-0.1.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jin_document_parser-0.1.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file jin_document_parser-0.1.0.tar.gz.

File metadata

  • Download URL: jin_document_parser-0.1.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for jin_document_parser-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fc3aeb221a6b7a8fad9226976c6f88d92b735fbd7deac06da3545159401fad87
MD5 fc72a4c37f73195513964c73e6574955
BLAKE2b-256 bf3bf68c7e89150d068105728a022f792eecee289eb7f5c68e37e659c1db1146

See more details on using hashes here.

File details

Details for the file jin_document_parser-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jin_document_parser-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1609fc0aa66fe05d24128a988355fe93fdf8c3a825c7f07bb0a97a9008e27141
MD5 f2826c60e14a30d97eca47060c474791
BLAKE2b-256 fb2fe407a0ee34e011ba616ee4b90e7e83d7a408c452d0b8cd594b35294e407c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page