1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[py310]= PDF transformation library (3.10)
8 SDESC[v11]= PDF transformation library (3.11)
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPIWHL/92/a1/4af912cb0cbde61dc7ba898c06b145be63e46a23cd3e09f83a179af60705
14 DISTFILE[1]= pypdf-3.16.1-py3-none-any.whl:main
19 OPTIONS_AVAILABLE= PY310 PY311
20 OPTIONS_STANDARD= none
21 VOPTS[py310]= PY310=ON PY311=OFF
22 VOPTS[v11]= PY310=OFF PY311=ON
24 DISTNAME= pypdf-3.16.1.dist-info
28 [PY310].USES_ON= python:py310,wheel
30 [PY311].USES_ON= python:v11,wheel
32 [FILE:2522:descriptions/desc.single]
35 [![]](https://pypdf.readthedocs.io/en/stable/)
41 pypdf is a free and open-source pure-python PDF library capable of
44 [cropping, and transforming]
45 the pages of PDF files. It can also add
46 custom data, viewing options, and
48 to PDF files. pypdf can
54 See [pdfly] for a CLI application that uses pypdf to interact with PDFs.
58 Install pypdf using pip:
64 For using pypdf with AES encryption or decryption, install extra
68 pip install pypdf[crypto]
71 > **NOTE**: `pypdf` 3.1.0 and above include significant improvements
73 > previous versions. Please refer to [the migration
80 from pypdf import PdfReader
82 reader = PdfReader("example.pdf")
83 number_of_pages = len(reader.pages)
84 page = reader.pages[0]
85 text = page.extract_text()
88 pypdf can do a lot more, e.g. splitting, merging, reading and creating
89 annotations, decrypting and encrypting, and more. Check out [the
90 documentation] for additional usage
93 For questions and answers, visit
95 (tagged with [pypdf]).
99 Maintaining pypdf is a collaborative effort. You can support the project by
100 writing documentation, helping to narrow down issues, and submitting code.
104 The experience pypdf users have covers the whole range from beginners who
105 want to make their live easier to experts who developed software before PDF
106 existed. You can contribute to the pypdf community by answering questions
108 helping in [discussions],
109 and asking users who report issues for [MCVE]'s (Code + example PDF!).
113 A good bug ticket includes a MCVE - a minimal complete verifiable example.
114 For pypdf, this means that you must upload a PDF that causes the bug to
116 as well as the code you're executing with all of the output. Use
117 `print(pypdf.__version__)` to tell us which version you're using.
121 All code contributions are welcome, but smaller ones have a better chance
123 get included in a timely manner. Adding unit tests for new features or test
124 cases for bugs you've fixed help us to ensure that the Pull Request (PR) is
127 pypdf includes a test suite which can be executed with `pytest`:
131 ===================== test session starts =====================
132 platform linux -- Python 3.6.15, pytest-7.0.1, pluggy-1.0.0
136 7fc9eac57162c1c4651ffae1ae96dee911d8e75af66e83b2453b2a553a8814cc 276287 pypdf-3.16.1-py3-none-any.whl