 PyMuPDF 1.24.2 Documentation35 7 PyMuPDF, LLM & RAG 45 8 Resources 49 9 Opening Files 51 10 Text 53 11 Images 73 12 Annotations 89 13 Drawing and Graphics 99 14 Stories 105 15 Journalling 149 16 Multiprocessing 153 17 version number differs from what PyMuPDF uses by default, PyMuPDF can fail to build, because MuPDF’s API can change between major versions. • Runtime behaviour of PyMuPDF can change because MuPDF’s runtime documents. Please refer to the How to Guide for Text. You can now also extract text in Markdown format. API reference • Page.get_text() 5.3 Extract images from a To extract all the images from a file, do0 码力 | 565 页 | 6.84 MB | 1 年前3 PyMuPDF 1.24.2 Documentation35 7 PyMuPDF, LLM & RAG 45 8 Resources 49 9 Opening Files 51 10 Text 53 11 Images 73 12 Annotations 89 13 Drawing and Graphics 99 14 Stories 105 15 Journalling 149 16 Multiprocessing 153 17 version number differs from what PyMuPDF uses by default, PyMuPDF can fail to build, because MuPDF’s API can change between major versions. • Runtime behaviour of PyMuPDF can change because MuPDF’s runtime documents. Please refer to the How to Guide for Text. You can now also extract text in Markdown format. API reference • Page.get_text() 5.3 Extract images from a To extract all the images from a file, do0 码力 | 565 页 | 6.84 MB | 1 年前3
 MuPDF 1.25.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6 C API 65 6.1 MuPDF modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215 8.2 The C++ MuPDF API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216 8.3 The Python module using pip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221 8.5 Doxygen/Pydoc API documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221 8.6 Example0 码力 | 259 页 | 1.11 MB | 8 月前3 MuPDF 1.25.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6 C API 65 6.1 MuPDF modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215 8.2 The C++ MuPDF API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216 8.3 The Python module using pip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221 8.5 Doxygen/Pydoc API documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221 8.6 Example0 码力 | 259 页 | 1.11 MB | 8 月前3
 MuPDF 1.24.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5 C API 61 5.1 MuPDF modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196 7 Language Bindings 201 7.1 The C++ MuPDF API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 7.2 The Python module using pip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 7.4 Doxygen/Pydoc API documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 7.5 Example0 码力 | 249 页 | 830.15 KB | 8 月前3 MuPDF 1.24.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5 C API 61 5.1 MuPDF modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196 7 Language Bindings 201 7.1 The C++ MuPDF API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 7.2 The Python module using pip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 7.4 Doxygen/Pydoc API documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 7.5 Example0 码力 | 249 页 | 830.15 KB | 8 月前3
 MuPDF 1.23.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5 C API 61 5.1 MuPDF modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196 7 Language Bindings 201 7.1 The C++ MuPDF API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 7.2 The Python module using pip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205 7.4 Doxygen/Pydoc API documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 7.5 Example0 码力 | 245 页 | 817.74 KB | 8 月前3 MuPDF 1.23.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5 C API 61 5.1 MuPDF modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196 7 Language Bindings 201 7.1 The C++ MuPDF API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 7.2 The Python module using pip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205 7.4 Doxygen/Pydoc API documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 7.5 Example0 码力 | 245 页 | 817.74 KB | 8 月前3
 Mypy 1.10.0+dev Documentationcertain modules Fixing errors related to imports Prioritise annotating widely imported modules Write annotations as you go Automate annotation of legacy code Introduce stricter options Speed up mypy runs Type system reference Built-in types Simple types Any type Generic types Type inference and type annotations Type inference Explicit types for variables Explicit types for collections Compatibility of container attribute annotations Overriding statically typed methods Abstract base classes and multiple inheritance Slots Annotation issues at runtime String literal types and type comments Future annotations import0 码力 | 318 页 | 270.84 KB | 1 年前3 Mypy 1.10.0+dev Documentationcertain modules Fixing errors related to imports Prioritise annotating widely imported modules Write annotations as you go Automate annotation of legacy code Introduce stricter options Speed up mypy runs Type system reference Built-in types Simple types Any type Generic types Type inference and type annotations Type inference Explicit types for variables Explicit types for collections Compatibility of container attribute annotations Overriding statically typed methods Abstract base classes and multiple inheritance Slots Annotation issues at runtime String literal types and type comments Future annotations import0 码力 | 318 页 | 270.84 KB | 1 年前3
 Mypy 1.8.0 Documentationcertain modules Fixing errors related to imports Prioritise annotating widely imported modules Write annotations as you go Automate annotation of legacy code Introduce stricter options Speed up mypy runs Type system reference Built-in types Simple types Any type Generic types Type inference and type annotations Type inference Explicit types for variables Explicit types for collections Compatibility of container attribute annotations Overriding statically typed methods Abstract base classes and multiple inheritance Slots Annotation issues at runtime String literal types and type comments Future annotations import0 码力 | 318 页 | 271.55 KB | 1 年前3 Mypy 1.8.0 Documentationcertain modules Fixing errors related to imports Prioritise annotating widely imported modules Write annotations as you go Automate annotation of legacy code Introduce stricter options Speed up mypy runs Type system reference Built-in types Simple types Any type Generic types Type inference and type annotations Type inference Explicit types for variables Explicit types for collections Compatibility of container attribute annotations Overriding statically typed methods Abstract base classes and multiple inheritance Slots Annotation issues at runtime String literal types and type comments Future annotations import0 码力 | 318 页 | 271.55 KB | 1 年前3
 MuPDF 1.22.0 Documentation. . . . . . . . . . . . 25 3.4 mutool JavaScript API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 4 C API 121 4.1 MuPDF modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 5 Language Bindings 141 5.1 The C++ MuPDF API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 5.2 The Python module using pip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 5.4 Doxygen/Pydoc API documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 5.5 Example0 码力 | 175 页 | 698.87 KB | 8 月前3 MuPDF 1.22.0 Documentation. . . . . . . . . . . . 25 3.4 mutool JavaScript API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 4 C API 121 4.1 MuPDF modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 5 Language Bindings 141 5.1 The C++ MuPDF API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 5.2 The Python module using pip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 5.4 Doxygen/Pydoc API documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 5.5 Example0 码力 | 175 页 | 698.87 KB | 8 月前3
 Mypy 1.8.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.5 Type inference and type annotations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 1.6 Kinds of types . CONTENTS 1.1 Getting started This chapter introduces some core concepts of mypy, including function annotations, the typing module, stub files, and more. If you’re looking for a quick intro, see the mypy cheatsheet you must add type annotations to your code. See the section below for details. 3 Mypy Documentation, Release 1.8.0 1.1.2 Dynamic vs static typing A function without type annotations is considered to0 码力 | 234 页 | 902.89 KB | 1 年前3 Mypy 1.8.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.5 Type inference and type annotations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 1.6 Kinds of types . CONTENTS 1.1 Getting started This chapter introduces some core concepts of mypy, including function annotations, the typing module, stub files, and more. If you’re looking for a quick intro, see the mypy cheatsheet you must add type annotations to your code. See the section below for details. 3 Mypy Documentation, Release 1.8.0 1.1.2 Dynamic vs static typing A function without type annotations is considered to0 码力 | 234 页 | 902.89 KB | 1 年前3
 Mypy 1.10.0+dev Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 1.5 Type inference and type annotations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 1.6 Kinds of types . CONTENTS 1.1 Getting started This chapter introduces some core concepts of mypy, including function annotations, the typing module, stub files, and more. If you’re looking for a quick intro, see the mypy cheatsheet to adopt mypy incrementally. In order to get useful diagnostics from mypy, you must add type annotations to your code. See the section below for details. 3 Mypy Documentation, Release 1.10.0+dev.790 码力 | 234 页 | 913.89 KB | 1 年前3 Mypy 1.10.0+dev Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 1.5 Type inference and type annotations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 1.6 Kinds of types . CONTENTS 1.1 Getting started This chapter introduces some core concepts of mypy, including function annotations, the typing module, stub files, and more. If you’re looking for a quick intro, see the mypy cheatsheet to adopt mypy incrementally. In order to get useful diagnostics from mypy, you must add type annotations to your code. See the section below for details. 3 Mypy Documentation, Release 1.10.0+dev.790 码力 | 234 页 | 913.89 KB | 1 年前3
 PyMuPDF 1.12.2 documentationsequence, … whatever you may think of. The saved new document will contain all still valid links, annotations and bookmarks. Pages themselves can moreover be modified by a range of methods (e.g. page rotation interact with the user by means of the mouse and keyboard.” This class supports accessing such annotations - not only for PDF files, but for all MuPDF supported document types. However, only a few methods info PDF only: various information Annot.lineEnds PDF only: start / end appearance of line- type annotations Annot.next link to the next annotation Annot.parent page object of the annotation Annot.rect0 码力 | 387 页 | 2.70 MB | 1 年前3 PyMuPDF 1.12.2 documentationsequence, … whatever you may think of. The saved new document will contain all still valid links, annotations and bookmarks. Pages themselves can moreover be modified by a range of methods (e.g. page rotation interact with the user by means of the mouse and keyboard.” This class supports accessing such annotations - not only for PDF files, but for all MuPDF supported document types. However, only a few methods info PDF only: various information Annot.lineEnds PDF only: start / end appearance of line- type annotations Annot.next link to the next annotation Annot.parent page object of the annotation Annot.rect0 码力 | 387 页 | 2.70 MB | 1 年前3
共 517 条
- 1
- 2
- 3
- 4
- 5
- 6
- 52














 
 