跳转至

🛠️ 使用方法

📌 提示:想直接上手的,参考使用示例 Cases.md 即可,以下内容均为流程细节展开分析部分,可跳过

本工具 pyPaperFlow 专为学术研究打造,整体设计严格贴合科研人员开展文献调研、文献研读、文献理解分析及文献语料复用的真实工作逻辑。

因此,请跟随指引逐步完成操作 —— 该流程与您自身开展文献调研的完整过程完全一致,亲身体验后即可充分理解本工具的设计理念与使用方法。

本平台提供了一个名为 paperflow 的命令行工具。

模块概述

目前可用模块包括(会持续更新):

 paperflow --help

 Usage: paperflow [OPTIONS] COMMAND [ARGS]...                                                                                                           

 pyPaperFlow CLI                                                                                                                                        

╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
 --install-completion          Install completion for the current shell.                                                                              
 --show-completion             Show completion for the current shell, to copy it or customize the installation.                                       
 --help                        Show this message and exit.                                                                                            
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
 pubmed-search      Search PubMed using Your customized query and return PMIDs.                                                                       
 pubmed-meta        Fetch paper metadata from PubMed using Your customized query, pmid list file and save to storage.                                 
 pubmed-content     Download full text (PMC) for given PMIDs if the paper has a PMC ID.                                                               
 pubmed-all         Fetch BOTH metadata and full text (if available) for papers.                                                                      
                    Also extracts URLs from full text and updates metadata links.                                                                     
 pubmed-merge-json  Create a merged JSON (or JSONL) file from PubMed paper directories.                                                               
 pubmed-export-md   Export a single Markdown view from a merged JSON file using optional YAML config.                                                 
 arxiv-search       Search arXiv and write matching IDs to a text file.                                                                               
 arxiv-fetch        Fetch arXiv metadata and attempt to download PDFs.                                                                                
 biorxiv-search     Search bioRxiv and write matching IDs to a text file.                                                                             
 biorxiv-fetch      Fetch bioRxiv metadata and attempt to download PDFs.                                                                              
 medrxiv-search     Search medRxiv and write matching IDs to a text file.                                                                             
 medrxiv-fetch      Fetch medRxiv metadata and attempt to download PDFs.                                                                              
 chemrxiv-search    Search ChemRxiv and write matching DOIs to a text file.                                                                           
 chemrxiv-fetch     Fetch ChemRxiv metadata and attempt to download PDFs.                                                                             
 paper-fetch        Fetch PDFs by DOI  passes through to the paper-fetch engine.                                                                     
 pdf-parse          Parse a PDF file using MinerU engine, and clean up the output directory.                                                          
 mineru-parse       Parse mineru output content_list_v2.json into canonical sectioned JSON.                                                           
 mineru-export-md   Export structured mineru JSON to a clean Markdown file for LLM processing.                                                        
 github-export      Export GitHub links from merged PubMed JSON, validate accessibility,                                                              
                    and aggregate `ghresearcher parse <owner/repo> --view` outputs into one markdown.                                                 
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

其中模块归属

PubMed 相关模块
- pubmed-search # 用自然语言搜索 PubMed 文献并返回 PMID 列表 
- pubmed-meta # 从 PubMed 获取论文元数据
- pubmed-content # 从 PubMed 获取论文全文
- pubmed-all # 从 PubMed 获取论文元数据和全文
- pubmed-merge-json # 批量合并同主题的 PubMed 论文集合
- pubmed-export-md # 导出 PubMed 论文集合为 Markdown 文件,支持批量导出该主题所有论文的某一核心章节(🌟如批量导出introduction作为你的研究背景)


arXiv 相关模块
- arxiv-search # 搜索 arXiv 并返回 文献ID 列表
- arxiv-fetch # 从 arXiv 获取论文元数据和 PDF 文件


bioRxiv 相关模块
- biorxiv-search # 搜索 bioRxiv 并返回 文献ID 列表
- biorxiv-fetch # 从 bioRxiv 获取论文元数据和 PDF 文件


medRxiv 相关模块
- medrxiv-search # 搜索 medRxiv 并返回 文献ID 列表
- medrxiv-fetch # 从 medRxiv 获取论文元数据和 PDF 文件

ChemRxiv 相关模块
- chemrxiv-search # 搜索 chemRxiv 并返回 文献ID 列表
- chemrxiv-fetch # 从 chemRxiv 获取论文元数据和 PDF 文件

第3方辅助解析模块
- paper-fetch # 从 DOI 获取 PDF 文件
- pdf-parse # 利用mineru引擎解析 PDF 文件为 JSON、Markdown 格式文本
- mineru-parse # 按照自定义章节配置, 二次解析 MinerU 输出文件为文献标准章节聚类的结构化JSON 格式
- mineru-export-md # 按照需求章节,导出 结构化JSON 格式文件为 Markdown 文件(🌟如批量导出同主题所有论文的introduction作为你的研究背景)
- github-export # 批量导出 GitHub 论文代码仓库链接,并验证可访问性,聚合 ghresearcher 输出为 Markdown 文件

⚠️ 其他文献预印本平台模块正在开发完善中,敬请期待!