PyPDF2 是一个纯 Python 库,用于转换、保护 PDF 文档并从中提取数据。它提供了一套全面的工具来修改页面布局、管理文档安全并检索嵌入的元数据,而无需依赖外部 C 语言库。
py-pdf/pypdf2 的主要功能包括:PDF Parsers, Password-Based Encryption, PDF Security Management, PDF Libraries, PDF Document Management, PDF Manipulation Libraries, PDF Text Extraction, PDF Metadata Managers。
py-pdf/pypdf2 的开源替代品包括: pymupdf/pymupdf — PyMuPDF is a comprehensive PDF manipulation library and document analysis tool. It serves as a text extraction tool,… pdfarranger/pdfarranger — Pdfarranger is a PDF page organizer, document editor, image converter, and booklet generator. It provides a visual… kevin2li/pdf-guru — PDF-Guru is an AI-powered document processor and study material converter designed to transform textbooks, research… pdfminer/pdfminer.six — pdfminer.six is a programmatic tool for extracting text, layout information, and metadata from PDF documents into… mstamy2/pypdf2 — PyPDF2 is a pure Python library for reading, writing, and manipulating PDF files. It functions as a document… py-pdf/pypdf — pypdf is a Python library for parsing, manipulating, and generating PDF documents. It provides high-level operations…
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
Pdfarranger is a PDF page organizer, document editor, image converter, and booklet generator. It provides a visual drag-and-drop interface to reorder, merge, split, and delete pages within PDF documents. The application includes specialized tools for creating booklet printing layouts and converting image files into PDF pages or exporting PDF pages as PNG and JPEG images. It allows for the modification of document metadata while preserving internal outlines and hyperlinks. The software covers a range of structural manipulations, including page rotation, resizing, cropping, and overlaying. It
PDF-Guru is an AI-powered document processor and study material converter designed to transform textbooks, research papers, and multimedia content into structured flashcards for spaced repetition systems like Anki. It functions as a content pipeline that uses language models to extract key concepts and facts from unstructured documents to generate question-and-answer pairs, cloze deletions, and multiple-choice cards. The system distinguishes itself through a comprehensive PDF management suite and multi-format parsing. It provides advanced document utilities including optical character recogni
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