Search results
How PyPDF2 deprecates features Assume the current version of PyPDF2 is x.y.z. After a discussion (e.g. via GitHub issues) we decided to remove a class / function / method. This is how we do it: x.y.(z+1): Add a DeprecationWarning. If there is a replacement, the replacement is also introduced and the warning informs about the change and when it ...
Jul 31, 2020 · I'm using the PyPDF2 library for extracting text, images, page width and heights, annotations, and other attributes from pdf documents. However, the library has many bugs and issues and seems not to be maintained for a long time already.
May 31, 2022 · The 2.0.0 release of PyPDF2 includes three core changes: Dropping support for Python 3.5 and older. Introducing type annotations. Interface changes, mostly to have PEP8-compliant names; We introduced a deprecation process that hopefully helps users to avoid unexpected breaking changes. Breaking Changes (DEP) PyPDF2 2.0 requires Python 3.6+.
- Installation
- Usage
- Contributions
You can install PyPDF2 via pip: If you plan to use PyPDF2 for encrypting or decrypting PDFs that use AES, youwill need to install some extra dependencies. Encryption using RC4 is supportedusing the regular installation.
PyPDF2 can do a lot more, e.g. splitting, merging, reading and creatingannotations, decrypting and encrypting, and more. Please see the documentationfor more usage examples! A lot of questions are asked and answeredon StackOverflow.
Maintaining PyPDF2 is a collaborative effort. You can support PyPDF2 by writingdocumentation, helping to narrow down issues, and adding code.
This guide helps you to make the step from PyPDF2 1.x (or even the original PyPpdf) to PyPDF2>=2.0.0. You can execute your code with the updated version and show deprecation warnings by running python -W all your_code.py.
On the PyPI page of PyPDF2 you can read: NOTE: The PyPDF2 project is going back to its roots. PyPDF2==3.0.X will be the last version of PyPDF2. Development will continue with pypdf==3.1.0. As for the docs, there is a corresponding issue to make this more clear as well: #2051.
People also ask
What happened to pypdf2?
Is pypdf2 going back to its roots?
What is the last version of pypdf2?
What is pypdf2?
Can pypdf2 write a PDF?
Does pypdf2 have a lot of improvements since April 2022?
PyPDF2 is a free and open source pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. It can also add custom data, viewing options, and passwords to PDF files.