Support pypdf 3
pypdf upstream has renamed the package from PyPDF2 to pypdf. Support the new pypdf version while keeping compatibility for older PyPDF2, while adjusting to API changes.
pypdf upstream has renamed the package from PyPDF2 to pypdf. Support the new pypdf version while keeping compatibility for older PyPDF2, while adjusting to API changes.