kraft
kraft copied to clipboard
Migrate from PyPDF2 to pypdf
I'm the maintainer of pypdf and PyPDF2.
In 2022, I've decided to move the projects back together. Now development continues at pypdf
(all lowercase). PyPDF2 will not receive any updates or bugfixes.
pypdf==3.1.0
is essentially the same as PyPDF2==3.0.0
. However, I've noticed that you are probably only compatible with PyPDF2<2.0.0
(or <3.0.0, depending if you would accept deprecation warnings). The migration is mostly renamings, e.g. (PdfFileReader
-> PdfReader
, and using snake_case instead of camelCase for methods). See https://pypdf.readthedocs.io/en/latest/user/migration-1-to-2.html
Are you open to make the move?