Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add getAttachFiles() on PdfFileReader #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexis-via
Copy link

Add a method to get all attachments from a PDF file.

I'm not an expert of PDF and this is my very first contribution to PyPDF. I'm working on the Factur-X / ZUGFeRD invoicing standards (PDF invoice with an embedded XML file) and I'm the author of the factur-x python lib (https://github.com/akretion/factur-x) that depend on PyPDF4. I think it would be great to have a method to get all attachments directly in the PyPDF lib.

If you think this PR has some chances to be accepted, I'll add unit tests for the getAttachFiles method.

@claird
Copy link
Owner

claird commented Jun 21, 2020

Alexis, please accept my apology for the many months I've made you wait. Yes, please provide unit tests so we can commit this without further delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants