能力标签
化学PDF数据提取器
🛠
AI工具

化学PDF数据提取器

基于 Python · 开源免费,本地部署,数据完全自主可控
英文名:chem-pdf-extractor
⭐ 13 Stars 🍴 1 Forks 💻 Python 📄 MIT 🏷 AI 7.2分
7.2AI 综合评分
PDF提取化学数据LLM文献处理Excel导出
✦ AI Skill Hub 推荐

化学PDF数据提取器 是 AI Skill Hub 本期精选AI工具之一。综合评分 7.2 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。

📚 深度解析

化学PDF数据提取器 是一款基于 Python 的开源工具,在 GitHub 上收获 0k+ Star,是PDF提取、化学数据、LLM、文献处理领域中的优质开源项目。开源工具的最大优势在于代码完全透明,你可以审计每一行代码的安全性,也可以根据自身需求进行二次开发和定制。

**为什么要使用开源工具而非商业 SaaS?**
对于个人开发者和有隐私需求的用户,本地部署的开源工具意味着数据不离本机,不受第三方服务商的数据政策约束。同时,开源工具通常没有使用次数限制和月度费用,一次安装即可长期使用,对于高频使用场景的总拥有成本(TCO)远低于订阅制商业工具。

**安装与环境准备**
化学PDF数据提取器 依赖 Python 运行环境。建议通过 pyenv(Python)或 nvm(Node.js)管理 Python 版本,避免全局环境污染。对于新手用户,推荐先创建虚拟环境(python -m venv venv && source venv/bin/activate),再安装依赖,这样即使出现问题也可以随时删除虚拟环境重新开始,不影响系统稳定性。

**社区与维护**
GitHub Issue 和 Discussion 是获取帮助的最快渠道。在提问前建议先检查 Closed Issues(已关闭的问题),大多数常见问题都已有解答。遇到 Bug 时,提供 pip list 的输出、完整错误堆栈和最小可复现示例,能显著提高开发者响应速度。AI Skill Hub 将持续追踪 化学PDF数据提取器 的版本更新,及时通知重要功能变化。

📋 工具概览

基于大语言模型的科学PDF数据提取工具,专注于化学和化工领域。能自动从文献中提取结构化数据,支持Excel导出,适合化学研究人员、工程师进行文献综述和数据整理。

化学PDF数据提取器 是一款基于 Python 开发的开源工具,专注于 PDF提取、化学数据、LLM 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

GitHub Stars
⭐ 13
开发语言
Python
支持平台
Windows / macOS / Linux
维护状态
轻量级项目,按需更新
开源协议
MIT
AI 综合评分
7.2 分
工具类型
AI工具
Forks
1

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

基于大语言模型的科学PDF数据提取工具,专注于化学和化工领域。能自动从文献中提取结构化数据,支持Excel导出,适合化学研究人员、工程师进行文献综述和数据整理。

化学PDF数据提取器 是一款基于 Python 开发的开源工具,专注于 PDF提取、化学数据、LLM 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

📌 核心特色
  • 开源免费,支持本地部署,数据完全自主可控
  • 活跃的 GitHub 开源社区,持续迭代更新
  • 提供详细文档和使用示例,新手友好
  • 支持自定义配置,灵活适配不同使用环境
  • 可作为基础组件集成进现有技术栈或进行二次开发
🎯 主要使用场景
  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:pip 安装(推荐)
pip install chem-pdf-extractor

# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
pip install chem-pdf-extractor

# 方式三:从源码安装(获取最新功能)
git clone https://github.com/myklovenyzforever/chem-pdf-extractor
cd chem-pdf-extractor
pip install -e .

# 验证安装
python -c "import chem_pdf_extractor; print('安装成功')"
📋 安装步骤说明
  1. 访问 GitHub 仓库页面
  2. 按照 README 文档完成依赖安装
  3. 根据系统环境完成初始化配置
  4. 参考官方示例或文档开始使用
  5. 遇到问题可在 GitHub Issues 中查找解答
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 命令行使用
chem-pdf-extractor --help

# 基本用法
chem-pdf-extractor input_file -o output_file

# Python 代码中调用
import chem_pdf_extractor

# 示例
result = chem_pdf_extractor.process("input")
print(result)
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# chem-pdf-extractor 配置文件示例(config.yml)
app:
  name: "chem-pdf-extractor"
  debug: false
  log_level: "INFO"

# 运行时指定配置文件
chem-pdf-extractor --config config.yml

# 或通过环境变量配置
export CHEM_PDF_EXTRACTOR_API_KEY="your-key"
export CHEM_PDF_EXTRACTOR_OUTPUT_DIR="./output"
📑 README 深度解析 真实文档 完整度 69/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

Chem-PDF-Extractor

Chem-PDF-Extractor is an open-source tool for extracting structured experimental data from chemical engineering, catalysis, materials, energy, and environmental research PDFs into Excel/CSV tables. It is designed for literature reviews, preliminary dataset construction, and manual verification workflows.

Chem-PDF-Extractor 是一个面向化工、催化、材料、能源与环境领域论文的开源 PDF 数据抽取工具,可将文献中的实验条件和结果整理为 Excel/CSV 表格,适用于文献综述、初步数据集构建和后续人工核验流程。

Language / 语言: English | 中文

<a id="english"></a>

Overview

The project provides an inspectable first-pass workflow for converting PDF papers to Markdown/text, defining configurable LLM-based extraction fields, extracting multiple records from one paper, and exporting structured results for review. It also supports low-quality row filtering, error logs, suspicious-data records, bad-data records, resumable processing, cache reuse, OpenAI-compatible APIs, and local Ollama models.

项目简介

Chem-PDF-Extractor 面向化工、材料、催化、环境等方向的研究生和科研人员,用于批量处理 PDF 文献,并将实验条件、催化剂、原料、温度、压力、转化率、选择性等信息提取为 Excel/CSV 表格。

本工具适合用于文献综述、实验数据整理和科研数据挖掘的初步结构化处理。大模型输出结果需要人工核验,不能直接作为最终科研结论。

Features

  • Batch PDF processing.
  • PDF to Markdown/text conversion.
  • Configurable LLM-based extraction fields.
  • Multiple records from one paper written as multiple rows.
  • Excel and CSV output.
  • Review-aid output columns (source_evidence, source_hint, verification_status, and review_note) help users prioritize manual verification, but they are not statistical confidence scores.
  • Low-fill-rate bad row filtering.
  • Error logs, suspicious-data records, and bad-data records.
  • Pause, resume, stop, and resumable processing.
  • Reuse of md文件/ and 抽取缓存/.
  • OpenAI-compatible API support.
  • Local Ollama model support.

核心功能

  • 批量处理 PDF 文献。
  • PDF 转 Markdown / 文本。
  • 使用 OpenAI-compatible API 或本地 Ollama 模型抽取字段。
  • 支持用户自定义抽取字段。
  • 一篇文献多条数据写成多行。
  • 导出 Excel / CSV。
  • 导出的 source_evidencesource_hintverification_statusreview_note 等核验辅助列仅用于帮助人工复核,不代表统计意义上的置信度。
  • 自动过滤低填写率坏数据。
  • 生成错误日志、坏数据、可疑数据。
  • 支持暂停、继续、停止和断点续跑。
  • 支持复用 md文件/抽取缓存/

快速开始

普通用户可以使用带 bundled_runtime/ 的一键运行包;旧包中的 YiLaiHuanJing/ 作为兼容目录保留:

  1. 解压工具包。
  2. 双击 Start-Chem-PDF-Extractor.bat
  3. 打开黑色窗口显示的网址。
  4. 在网页里填写 API Key。
  5. 选择 PDF 文件夹。
  6. 配置抽取字段。
  7. 点击开始处理。
  8. 查看 提取结果.xlsx错误日志.txt坏数据.xlsx可疑数据.xlsx

更多打包结构、安全检查和发布注意事项见 Windows 一键包说明

源码用户可以运行:

python -m pip install -r requirements.txt
python -m chem_pdf_extractor

默认情况下,程序只会在终端打印本地 Web UI 地址,不会自动打开浏览器。请复制终端显示的地址到浏览器打开。

如果希望自动打开浏览器,可以运行:

python -m chem_pdf_extractor --open-browser

如果 Windows + Python 3.12 环境下 pymupdf4llm / pymupdf 安装或导入失败,可以使用核心依赖降级路线:

python -m pip install -r requirements-core.txt
python -m chem_pdf_extractor --cli --pdf-mode pypdf_text

Quick Start

git clone https://github.com/myklovenyzforever/chem-pdf-extractor.git
cd chem-pdf-extractor
python -m venv .venv
.\.venv\Scripts\activate
python -m pip install -r requirements.txt
python -m chem_pdf_extractor

By default, the program prints the local Web UI URL in the terminal and does not open the browser automatically. Copy the printed URL into your browser, select a PDF folder, configure extraction fields, and start processing. Test with 3-5 PDFs before running a large batch.

If you want the program to open the browser automatically, run:

python -m chem_pdf_extractor --open-browser

If pymupdf4llm / pymupdf fails to install or import on Windows + Python 3.12, use the core dependency fallback:

python -m pip install -r requirements-core.txt
python -m chem_pdf_extractor --cli --pdf-mode pypdf_text

Alternative script entry:

python run_chem_pdf_extractor.py

The module entry point remains the recommended way to run the project.

Examples

The examples/ directory contains synthetic demonstration files:

  • sample_fields.json: chemistry/catalysis-oriented extraction fields.
  • sample_output.csv: expected CSV output structure.
  • sample_output.xlsx: expected Excel output structure.
  • demo_literature_batch/: complete synthetic batch demo with input PDFs, field configuration, and expected output shape.
  • demo_literature_batch/:完整合成批处理示例,包含输入 PDF、字段配置和期望输出表格结构。
  • field_templates/: reusable field templates for catalysis, materials synthesis, environmental treatment, and electrochemistry workflows.
  • field_templates/:面向催化反应、材料合成、环境处理和电化学方向的可复用字段模板。

The example data is synthetic and does not represent real published papers.

Screenshots

A Web UI screenshot and a synthetic Excel/CSV output preview are shown below. Screenshots may vary slightly between releases.

Web UI

Synthetic Excel Output Preview

The output preview uses synthetic data only and does not represent real published papers or real extracted research results.

截图

网页界面示例截图和合成 Excel/CSV 输出预览如下,截图可能随版本略有变化。

网页界面

合成 Excel 输出预览

输出预览仅使用合成数据,不代表真实发表论文或真实抽取结果。

Configuration

This repository does not include any real API key, token, or password.

Normal users can enter the API key in the web interface. The configuration can be saved to config.local.json, which is ignored by Git. config.example.json is only a template and contains placeholders.

Users can enter an OpenAI-compatible Base URL and API key, then use "Fetch models" to load available model IDs when the provider supports the /models endpoint. If model discovery is unavailable, users can still enter the model name manually.

Cloud extraction requires a real API key, Base URL, and model name. Placeholder values are rejected before a task starts.

Environment variables are supported for advanced users, but they are optional and not required for normal use.

$env:CHEM_PDF_EXTRACTOR_API_KEY="YOUR_API_KEY_HERE"
$env:CHEM_PDF_EXTRACTOR_BASE_URL="https://api.example.com/v1"
$env:CHEM_PDF_EXTRACTOR_MODEL="provider/model-name"

配置说明

  • 仓库不内置真实 API Key。
  • 用户可在网页填写 API Key。
  • 可保存到 config.local.json
  • config.local.json 不上传 GitHub。
  • config.example.json 只是模板。
  • 环境变量只是高级用法,不是必须。
  • 本地 Ollama 可作为可选模型后端。
  • 使用 OpenAI-compatible API 时,需要自行填写 Base URL、模型名称和 API Key。
  • 用户可以填写 OpenAI-compatible Base URL 和 API Key,并在服务商支持 /models 接口时点击“获取模型列表”加载可用模型;如果服务商不支持模型列表接口,也可以手动填写模型名。
  • 使用云端抽取时需要填写真实 API Key、Base URL 和模型名;占位配置会在任务开始前被拦截。

One-click Windows Package

The GitHub source repository does not include bundled_runtime/ or YiLaiHuanJing/. A bundled Windows package may be provided through GitHub Releases for non-programming users.

The recommended Windows launcher name is Start-Chem-PDF-Extractor.bat.

For an online first-run Windows release package, users can unzip the package and double-click Start-Chem-PDF-Extractor.bat. The launcher runs install_and_start.ps1, checks for Python 3.11, creates or reuses .venv/, asks the user to choose a PDF backend, installs the matching dependencies, starts the local Web UI, and opens http://127.0.0.1:8766/.

Backend choices:

  • pypdf_text: smallest install, fastest installation, best fallback compatibility, weaker layout/table/multi-column handling.
  • pymupdf4llm: recommended default, balanced install size and extraction quality, suitable for most research PDFs.
  • mineru: optional enhanced backend, larger install size, slower first-time installation, suitable for complex layouts, tables, scanned PDFs, and high-performance PCs. It may require more disk space, memory, installation time, and external downloads.

GitHub Download ZIP is a source package. It does not include Python, .venv/, installed dependencies, MinerU models, or a bundled runtime, but users can still run the first-run launcher online. A fully offline package is not provided by default because it would need bundled Python, wheel caches, MinerU dependencies/models, and larger runtime assets.

Legacy names such as YiJianQiDong.bat and YiLaiHuanJing/ are kept for compatibility with older local packages.

The one-click package may include:

  • run_chem_pdf_extractor.py
  • Start-Chem-PDF-Extractor.bat
  • install_and_start.ps1
  • requirements-mineru.txt
  • bundled_runtime/
  • YiJianQiDong.bat as a legacy launcher
  • YiLaiHuanJing/ as a legacy runtime directory

The runtime folder is excluded from the source repository because it is large and machine-specific.

See Windows One-click Package Guide for packaging structure, safety checklist, and release notes.

🎯 aiskill88 AI 点评 B 级 2026-06-09

针对化学领域的专业PDF提取工具,LLM赋能���动化程度高,Excel导出便利数据流转,但项目维护度一般,生产环境需谨慎评估。

📚 实用指南(长尾问题)
适合谁
  • 需要 chem-pdf-extractor 解决具体问题的开发者与运营人员
最佳实践
  • 先在测试环境跑通最小用例,再接入生产数据
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • Python 依赖冲突:建议用 venv / uv 隔离环境
部署方案
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
chem-pdf-extractor 中文教程chem-pdf-extractor 安装报错怎么办chem-pdf-extractor 与同类工具对比chem-pdf-extractor 最佳实践chem-pdf-extractor 适合谁用

⚡ 核心功能

👥 适合谁
  • 需要 chem-pdf-extractor 解决具体问题的开发者与运营人员
⭐ 最佳实践
  • 先在测试环境跑通最小用例,再接入生产数据
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • Python 依赖冲突:建议用 venv / uv 隔离环境

👥 适合人群

AI 技术爱好者研究人员和学生开发者和工程师技术创业者

🎯 使用场景

  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发

⚖️ 优点与不足

✅ 优点
  • +MIT 协议,可免费商用
  • +完全开源免费,无授权费用
  • +本地部署,数据完全自主可控
  • +开发者社区支持,遇问题可查可问
⚠️ 不足
  • 安装和初始配置可能需要一定技术基础
  • 功能完整性通常不如成熟商业产品
  • 技术支持主要依赖开源社区,响应速度不稳定
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐

🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

支持标准PDF格式,建议使用扫描清晰的学术论文PDF。
💡 AI Skill Hub 点评

经综合评估,化学PDF数据提取器 在AI工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。

📚 深入学习 化学PDF数据提取器
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 chem-pdf-extractor
原始描述 开源AI工具:LLM-powered scientific PDF data extraction tool for chemistry and chemical engin。⭐13 · Python
Topics PDF提取化学数据LLM文献处理Excel导出
GitHub https://github.com/myklovenyzforever/chem-pdf-extractor
License MIT
语言 Python
🔗 原始来源
🐙 GitHub 仓库  https://github.com/myklovenyzforever/chem-pdf-extractor

收录时间:2026-06-09 · 更新时间:2026-06-11 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。