awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

Python PDF Libraries

排名更新于 2026年7月13日

For a python library for manipulating pdf files, the strongest matches are mstamy2/pypdf2 (This library provides a robust set of tools for), py-pdf/pypdf2 (This library provides a robust set of tools for) and pymupdf/pymupdf (PyMuPDF is a high-performance Python library that provides a). jsvine/pdfplumber and jbarlow83/ocrmypdf round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

我们为您精选了匹配 “best python pdf libraries” 的开源 GitHub 仓库。结果按与您查询的相关性进行排名 — 您可以使用下方筛选器缩小范围,或通过 AI 进行优化。

Python PDF Libraries

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • mstamy2/pypdf2mstamy2 的头像

    mstamy2/PyPDF2

    10,064在 GitHub 上查看↗

    PyPDF2 is a pure Python library for reading, writing, and manipulating PDF files. It functions as a document manipulator, text extractor, and encryption tool, allowing users to process PDF files without relying on external C libraries or native binaries. The library provides specialized tools for modifying document structures, such as merging multiple files into one, splitting documents into separate files, and transforming page layouts through cropping. It also includes capabilities for securing documents via passwords and encryption. Additional capabilities include the extraction of writte

    This library provides a robust set of tools for reading, writing, merging, and splitting PDF documents, making it a core utility for programmatic PDF manipulation and text extraction in Python.

    PythonPDF LibrariesPDF Manipulation UtilitiesText Extraction
    在 GitHub 上查看↗10,064
  • py-pdf/pypdf2py-pdf 的头像

    py-pdf/PyPDF2

    10,094在 GitHub 上查看↗

    PyPDF2 is a pure Python library for transforming, securing, and extracting data from PDF documents. It provides a comprehensive suite of tools to modify page layouts, manage document security, and retrieve embedded metadata without relying on external C libraries. The toolkit enables document assembly through the merging of multiple files and the splitting of documents into smaller parts. It also supports page-level transformations, including the ability to rotate pages and adjust visible crop areas. The library includes capabilities for security management via password-based encryption and

    This library provides a robust set of tools for PDF manipulation, merging, splitting, and text extraction, making it a core utility for programmatic PDF processing in Python.

    PythonPDF LibrariesPDF Manipulation LibrariesPDF Parsers
    在 GitHub 上查看↗10,094
  • pymupdf/pymupdfpymupdf 的头像

    pymupdf/PyMuPDF

    9,086在 GitHub 上查看↗

    PyMuPDF is a comprehensive PDF manipulation library and document analysis tool. It serves as a text extraction tool, OCR engine, and image converter, providing a programmatic interface to edit, merge, split, and optimize PDF and Office documents. The project distinguishes itself through high-performance capabilities, including the use of C-bindings for low-level manipulation and parallelized page processing to accelerate workloads. It provides specialized conversion paths, such as transforming PDF content into Markdown for retrieval-augmented generation and large language model pipelines. It

    PyMuPDF is a high-performance Python library that provides a comprehensive suite of tools for PDF generation, text extraction, manipulation, and OCR integration, making it a flagship solution for programmatic document processing.

    PythonOptical Character RecognitionOptical Character RecognitionPDF Form Filling
    在 GitHub 上查看↗9,086
  • jsvine/pdfplumberjsvine 的头像

    jsvine/pdfplumber

    9,732在 GitHub 上查看↗

    pdfplumber is a PDF data extraction library and layout analysis tool used to retrieve text, tables, and geometric objects from PDF files using precise coordinate-based analysis. It functions as a layout analyzer and table parser that identifies the bounding boxes and visual coordinates for every character and image on a page. The library distinguishes itself through visual debugging capabilities, allowing users to render PDF pages as images and draw annotations to verify the position of extracted data. It employs line and intersection analysis to identify cell structures and convert unstructu

    This library is a specialized tool for extracting text, tables, and geometric data from PDFs, fitting the category well despite its primary focus on extraction rather than document generation or form filling.

    PythonPDF LibrariesPDF ParsersText Extraction
    在 GitHub 上查看↗9,732
  • jbarlow83/ocrmypdfjbarlow83 的头像

    jbarlow83/OCRmyPDF

    33,901在 GitHub 上查看↗

    OCRmyPDF is a tool for converting image-based PDF files into machine-readable documents by adding a searchable text layer via optical character recognition. It functions as a multi-language processor capable of detecting and extracting text in over 100 different languages using linguistic data packs. The software includes a PDF image optimizer to remove image artifacts and correct page skew to improve recognition accuracy. It also provides a converter to transform scanned documents into the PDF/A standard for long-term digital archiving. The system manages PDF optimization by compressing emb

    This tool is a specialized Python-based utility for OCR-based text layer addition and PDF/A conversion, making it a highly effective library for specific PDF manipulation and archival tasks.

    PythonOptical Character Recognition EnginesPDF Generation
    在 GitHub 上查看↗33,901
  • vikparuchuri/markerVikParuchuri 的头像

    VikParuchuri/marker

    36,164在 GitHub 上查看↗

    Marker is an LLM-powered document parser and OCR pipeline designed to convert PDFs and unstructured files into structured markdown, JSON, and HTML. It functions as a data preprocessor that transforms complex documents into machine-readable formats while preserving tables, equations, and layout structures. The system utilizes large language models to refine OCR accuracy, clean mathematical notation, and merge fragmented tables across multiple pages. It employs model-based layout analysis to predict block types and bounding boxes, ensuring a more precise conversion of document elements. Capabi

    Marker is a specialized Python library for extracting structured data and text from PDFs using LLM-powered OCR and layout analysis, making it a highly effective tool for the extraction and conversion aspects of PDF processing.

    PythonOptical Character RecognitionOptical Character Recognition Engines
    在 GitHub 上查看↗36,164
  • pdfminer/pdfminer.sixpdfminer 的头像

    pdfminer/pdfminer.six

    6,906在 GitHub 上查看↗

    pdfminer.six is a programmatic tool for extracting text, layout information, and metadata from PDF documents into machine-readable formats. It functions as a document parser that converts internal PDF objects and structures into accessible data objects for analysis. The project includes utilities for decrypting RC4 and AES encrypted files to enable content extraction. It also provides a layout analyzer to identify fonts, colors, and text locations to determine the organizational structure of pages. The system covers a broad range of extraction capabilities, including the retrieval of embedde

    This library is a specialized tool for parsing and extracting text, layout, and metadata from PDF documents, though it focuses on analysis and extraction rather than PDF generation or creation.

    PythonPDF Parsers
    在 GitHub 上查看↗6,906
  • py-pdf/pypdfpy-pdf 的头像

    py-pdf/pypdf

    9,818在 GitHub 上查看↗

    pypdf is a Python library for parsing, manipulating, and generating PDF documents. It provides high-level operations for document processing, such as merging multiple files into one or splitting a single document into smaller files. The project includes specialized tools for managing interactive elements, including the creation and modification of annotations, hyperlinks, and form fields. It also supports advanced metadata management, allowing for the extraction and modification of standard document properties and XML-based XMP metadata. Beyond basic structural changes, the library covers pa

    This library is a comprehensive tool for programmatic PDF generation, manipulation, and text extraction, though it lacks built-in OCR capabilities.

    PythonPDF LibrariesPDF Manipulation UtilitiesText Extraction
    在 GitHub 上查看↗9,818
  • camelot-dev/camelotcamelot-dev 的头像

    camelot-dev/camelot

    3,764在 GitHub 上查看↗

    Camelot is a Python library and processing engine designed to extract tabular data from PDF documents. It converts unstructured tables into machine-readable formats such as CSV, JSON, and Excel. The project provides specialized toolsets for different document types, using line detection for ruled tables and whitespace analysis for borderless tables. It includes an optical character recognition system to recover structured data from image-based scanned PDFs that lack a digital text layer. The library handles complex document layouts, including encrypted files, rotated pages, and tables that s

    Camelot is a specialized Python library focused on the extraction of tabular data from PDFs, which fits the category despite its narrow scope of focusing on tables rather than general-purpose PDF generation or manipulation.

    PythonPDF Parsers
    在 GitHub 上查看↗3,764
  • opendatalab/mineruopendatalab 的头像

    opendatalab/MinerU

    67,734在 GitHub 上查看↗

    MinerU is a document parsing pipeline designed to transform unstructured files into machine-readable, structured data. It utilizes deep learning models to perform layout analysis, identifying document regions and extracting complex content such as mathematical expressions. By combining these neural network inferences with geometric heuristics, the system reconstructs the reading order and structural hierarchy of documents to ensure accurate data representation. The project distinguishes itself through a multi-stage processing workflow that integrates layout detection, optical character recogn

    MinerU is a specialized Python-based document parsing pipeline that excels at extracting structured data and text from complex PDFs using deep learning, making it a powerful tool for PDF data extraction and analysis.

    PythonDeployment & ServingDocument Layout AnalysisAutomated Data Extraction
    在 GitHub 上查看↗67,734
  • docling-project/doclingdocling-project 的头像

    docling-project/docling

    61,674在 GitHub 上查看↗

    Docling is a modular framework designed for document parsing, layout analysis, and structured data extraction. It transforms unstructured files and web content into a unified, hierarchical data model that preserves the spatial and semantic relationships between text, tables, images, and layout elements. By normalizing diverse input formats into a consistent internal representation, the library enables uniform processing across various document types. The project distinguishes itself through a schema-driven approach that maps document regions to strongly-typed objects, ensuring data accuracy t

    Docling is a powerful Python framework for parsing and extracting structured data from PDFs, making it a highly capable tool for document processing even though its primary focus is on intelligent extraction rather than PDF generation or form filling.

    PythonDocument and LLM PreparationDocument Layout AnalyzersHierarchical Document Models
    在 GitHub 上查看↗61,674
  • pikepdf/pikepdfpikepdf 的头像

    pikepdf/pikepdf

    2,744在 GitHub 上查看↗

    A Python library for reading and writing PDF, powered by QPDF

    This library provides robust capabilities for reading, writing, and manipulating PDF files by leveraging the QPDF engine, making it a strong choice for programmatic PDF processing despite lacking built-in OCR or form-filling features.

    PythonDocument and File Processing
    在 GitHub 上查看↗2,744
一览前 10 名对比
仓库Star 数语言许可证最后推送
mstamy2/pypdf210.1KPythonNOASSERTION2026年6月16日
py-pdf/pypdf210.1KPythonNOASSERTION2026年6月25日
pymupdf/pymupdf9.1KPythonagpl-3.02026年2月18日
jsvine/pdfplumber9.7KPythonmit2026年1月28日
jbarlow83/ocrmypdf33.9KPythonMPL-2.02026年6月17日
vikparuchuri/marker36.2KPythonGPL-3.02026年6月6日
pdfminer/pdfminer.six6.9KPythonmit2026年2月13日
py-pdf/pypdf9.8KPythonother2026年2月19日
camelot-dev/camelot3.8KPythonMIT2026年6月24日
opendatalab/mineru67.7KPythonNOASSERTION2026年6月15日

Related searches

  • a python library for manipulating pdf files
  • an open source tool for editing PDFs
  • a library for rendering PDFs on Android
  • a javascript library for generating pdf files
  • a library for generating pdfs in C#
  • Java 应用 PDF 生成库
  • 开源 PDF 编辑工具
  • 开源 PDF 文档编辑器