Skip to content

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