Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/py-pdf/pypdf
A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files
https://github.com/py-pdf/pypdf
Closes #1689
dd83660510303cad9ce659bb3e50b7a7860dc992 authored almost 2 years ago by pubpub-zz <[email protected]>Without this, the logging module logs another error:
TypeError: not all arguments convert...
7f1a3f81db9a4e709be59e8a81cce39a98a0c943 authored almost 2 years ago by Roland Szabo <[email protected]>PdfWriter.set_need_appearances_writer() (whether called directly or indirectly by PdfWriter.upda...
8b0f0911e4ca454728b672cdf7239d9a56923abd authored almost 2 years ago by Chris Braun <[email protected]>
Robustness (ROB)
- Some attributes not copied in DictionaryObject._clone (#1635)
- Allow mergi...
* "/N" attributes wrongly ignored during copy process
* The object referenced via `src[field]` ...
0f939832da4dd4d1e588679eea3895c0c49774a2 authored almost 2 years ago by Joshua Gerstein <[email protected]>
f20b3631f757057930cf8de39cd0ee21d5bf601f authored almost 2 years ago by Martin Thoma <[email protected]>
ce1afcdbc22180b96a950c17d06d1d5c4d23b086 authored almost 2 years ago by Martin Thoma <[email protected]>
2882abfee2ac0d800025d1ad7237b3d7604ad042 authored almost 2 years ago by Martin Thoma <[email protected]>
47bf835c3a3d27cb2db5f55b61cbb1e4e8b7aab6 authored almost 2 years ago by Martin Thoma <[email protected]>
ff2f2f337ea88313562f4bc27796849056e4edb7 authored almost 2 years ago by Martin Thoma <[email protected]>
pypdf has three types of tests: (1) Tests that work only with the repository itself, (2) tests t...
8588aa161b6b535ecf9a2c934cb1d8d6f1a9b24b authored almost 2 years ago by Martin Thoma <[email protected]>Closes #1623
ae42106aa4433e38f5ab7fceb277a41cf16e66d2 authored almost 2 years ago by pubpub-zz <[email protected]>See https://stackoverflow.com/a/60086137/562769
4fa4cedba42f70d6c0a3aba04cffe5e10f9dc7d5 authored almost 2 years ago by Martin Thoma <[email protected]>b8258c3cbc9732f79e73cc9dc089be6097678e9b authored almost 2 years ago by Martin Thoma <[email protected]>
New Features (ENH)
- Add reader.attachments public interface (#1611, #1661)
- Add PdfWriter.re...
b0d4e859406b9d5a392bf2511ee99b9a710dc2eb authored almost 2 years ago by Martin Thoma <[email protected]>
638903c50d7761dbdbc6a5c5283ca280d5cdd6e4 authored almost 2 years ago by Martin Thoma <[email protected]>
Add `PdfReader.attachments -> Mapping[str, List[bytes]] as a public interface.
The heavy-lift...
d3434454dc9ca7ba1a41457eac3446b37c81c9c2 authored almost 2 years ago by Martin Thoma <[email protected]>This fixes remove_text to set contents as indirect_objects in accordance with the PDF specificat...
67b085ba35d2fb9854563b5f69ad203ecb4e95a4 authored almost 2 years ago by pubpub-zz <[email protected]>44bc1fc10407c53c8e9b0c34b2aa6853f6c52a03 authored almost 2 years ago by Martin Thoma <[email protected]>
Cope with invalid PDF files where an object can not be found
Fixes #1631
b14dabb63c4e6aa75d52e7582bb6f840e35a3a1b authored almost 2 years ago by pubpub-zz <[email protected]>0a83028e9c6684279fbcb17542f92f425bd830db authored almost 2 years ago by Martin Thoma <[email protected]>
The error message seen before was:
ValueError: Incorrect IV length (it must be 16 bytes l...
14b61ea75fb83b8ad6f2c3256cea100498885c54 authored almost 2 years ago by Christopher <[email protected]>Currently, the PdfWriter.pages attribute returns a `DictionartyObject`. With this fix, the attri...
a2a1275587df39883e576f2d8331b88fdcdaa492 authored almost 2 years ago by pubpub-zz <[email protected]>5412dd331a7d6469c855a2aaf1005bd37591d07f authored almost 2 years ago by Martin Thoma <[email protected]>
Fixes #1652
5b4bb2767ef56592ca1cdb12f28a02197acdc599 authored almost 2 years ago by pubpub-zz <[email protected]>Fixed #1640
51732385a115e447791d4b1a5534fc678d01fb92 authored almost 2 years ago by pubpub-zz <[email protected]>Fixes #424
2e4b6574832b7478d29d37842818da09a2cb71da authored almost 2 years ago by pubpub-zz <[email protected]>
Fixes #1047
Fixes #527
Fixes #169
Several issues could have been avoided if the example in this PR existed before, e.g. #1630, #14...
cc32b59aaabdbfdfb10bdc6c8fb67827113962a6 authored almost 2 years ago by Louis <[email protected]>Fixes #1627
f98ff02f5346b4372ba0a2994c4af0e0ec879594 authored almost 2 years ago by pubpub-zz <[email protected]>2204fd6d93c56fed5259e42a3420b7db84e334dc authored almost 2 years ago by pubpub-zz <[email protected]>
0e0b94311e3340f11dca7a5121199eb90911e8c2 authored almost 2 years ago by dkg <[email protected]>
ad7d176f39871584c7b0b635269e7d087c5b9be7 authored almost 2 years ago by engpetermwangi <[email protected]>
Bug Fixes (BUG):
- Switch from trimbox to cropbox when merging pages (#1622)
- Text extraction...
This reduces CI fails due to network issues
4bf3e32ef61773670b78189391596b32bf324847 authored almost 2 years ago by pubpub-zz <[email protected]>Fixes #1614
7a807d226aea90e60f22281a8e1d7317ba87d1d7 authored almost 2 years ago by pubpub-zz <[email protected]>
While the old behavior can be considered a bug, people might rely on trimbox being used.
To all...
Fixes #1619
f5ac79bb552f2e55579854565a31a67fdfdee275 authored almost 2 years ago by pubpub-zz <[email protected]>cfcba1a62947c398a0a55a10255dcfea434d8857 authored almost 2 years ago by Daan Koning (he/him) <[email protected]>
e4853e47fa667b88f7424aeac70ba265b63fb91f authored almost 2 years ago by Martin Thoma <[email protected]>
NOTICE: pypdf changed the way it represents numbers parsed from PDF files.
pypdf<3.4.0 represe...
d9d78da3fea0e174bdec8d92c7dfc59aafefe072 authored almost 2 years ago by Martin Thoma <[email protected]>
The setter worked. Now the getter for the `PageObject.rotation` works as well.
Fixes #337
d2c3e1bf43b67848789c3ec75e758be3ba71d38b authored almost 2 years ago by mitchelljkotler <[email protected]>0134233c15dc8866819c2b76799ebedcb93e94a8 authored almost 2 years ago by Martin Thoma <[email protected]>
This is a preparation to completely get rid of decimal at some point. For now, I don't want to b...
430f92f0c49bb998d0deca300458948d0820ec4e authored almost 2 years ago by Martin Thoma <[email protected]>Move code style to extra execution path. This way we can see more easily what the style issues a...
90476ef7af1442b5a3d37cbc7c5a5244014944c6 authored almost 2 years ago by Martin Thoma <[email protected]>9bef0d3094cb79aebb17c607f6b41b051e17eb68 authored almost 2 years ago by Martin Thoma <[email protected]>
Fixes #1426
Fixes #1601
Decimal was replaced by float in order to fix bugs.
It might also improve speed in some cases...
6ec88ad27f82ebc7ddffcd054cd1408226b4256e authored almost 2 years ago by pubpub-zz <[email protected]>3956eb3c2f119c522ca9f28e7e10155086191f87 authored almost 2 years ago by Martin Thoma <[email protected]>
b8d4b8fb89cb9fbf4321129969bdf0797a0e189b authored almost 2 years ago by Martin Thoma <[email protected]>
Closes #1587
645bd73de65ec62045bd43473e14e030e0dd433a authored almost 2 years ago by Martin Thoma <[email protected]>56d9a1a3d451971543bfba5cadeb41cfdb9e88d7 authored almost 2 years ago by Matthew Peveler <[email protected]>
Closes #1588
b148b9453e4af0d70ba9ca7422ece7a574150617 authored almost 2 years ago by Martin Thoma <[email protected]>
Add functions to add a top level grouping form field.
Functions to rename top level field also ...
See https://pypi.org/project/docformatter/
I tried pre-commit, but docformatter collides with...
8e819d1d00c758d4ccb8c8cd09c79269d0f3a3b9 authored almost 2 years ago by Martin Thoma <[email protected]>beb70b49cbb9a4caa1bfedd57e4b948702cd6083 authored almost 2 years ago by Martin Thoma <[email protected]>
f22ecd4c03f4cc9a9d225184e6c4b7ada48b854f authored almost 2 years ago by Martin Thoma <[email protected]>
be353c8b5ad2b9f029297a4694b6fa2dd19fc8a3 authored almost 2 years ago by dkg <[email protected]>
Avoid having two tests write to the same filename "stream.pdf".
When a writing test has compl...
01f4b6ff398c786aba52573a3b3379272e1419c8 authored almost 2 years ago by dkg <[email protected]>59a265ecbd08cdd65f4f330cfdc19c95052b9397 authored almost 2 years ago by Martin Thoma <[email protected]>
4cec498dc91e4b103caa3e96e489e294f75b94fd authored almost 2 years ago by Martin Thoma <[email protected]>
755b775eea53a9c922295b1f34cb9008cc9c41f6 authored almost 2 years ago by dkg <[email protected]>
bee73dc1d3afb683dd5f1f892cf201ed6c23e5ce authored almost 2 years ago by Martin Thoma <[email protected]>
422aca48fd627d94617d7ca39271aad43300af4a authored almost 2 years ago by Martin Thoma <[email protected]>
Fixes an issue of #1550
9cf7b0c2194a7fb66813b889297d4e3fd78241dc authored almost 2 years ago by Martin Thoma <[email protected]>
New Features (ENH):
- Add page label support to PdfWriter (#1558)
- Accept inline images with ...
98511ac3bcac7574e92e3cd78ae0b1eb6f16d89f authored almost 2 years ago by Martin Thoma <[email protected]>
962ce556592eb95a92e610305b15263e4de0d5e4 authored almost 2 years ago by Martin Thoma <[email protected]>
Fixes #1569
6abb50e247ab4eeab0e3969a9fcb827d12cf4a94 authored almost 2 years ago by Martin Thoma <[email protected]>Sorting the `/ProcSet` array when merging two pages makes the ProcSet deterministic across multi...
d1233dfa5089100c3b4916ee3478300f01c6bcd1 authored almost 2 years ago by Huon Wilson <[email protected]>This fixes #1532 by adjusting the procedure used for renaming resources in `merge_page`, so that...
b6b6a66651c982c1e5cc0df1c826e7aba55e2afe authored almost 2 years ago by Huon Wilson <[email protected]>3b1b9d4c7a22360dbf3ee8e614a7e93674502ae2 authored almost 2 years ago by Martin Thoma <[email protected]>
Fixes #1533 and late #1091
c1f8742bf4e8f0341b244088dfe4f9ecd40f2fc6 authored almost 2 years ago by pubpub-zz <[email protected]>Closes #1559
This is due to a bad interpretation of text at bottom of page 108 of PDF 1.7 ref...
a6aad314d4937c01972f16092d391c3615047f34 authored almost 2 years ago by pubpub-zz <[email protected]>
This was initially motivated by `NumberObject.read_from_stream`, which
was calling `read_until_...
Add PageLabelStyle constants
e7118462cd23226490a1907a0b22f824dd585907 authored almost 2 years ago by lorenzomanini <[email protected]>e6500f8180abed30d813e314c7d21f732183ad3c authored almost 2 years ago by Sandro Panchame <[email protected]>
See #107
3560550eeef7a6e55a05c8d656d88b1dc05a1a2e authored almost 2 years ago by Martin Thoma <[email protected]>d942a49074de9fb89ea374cd7f36f6d74a4a3451 authored almost 2 years ago by Martin Thoma <[email protected]>
Fixes #1560
Co-authored-by: jonahmajumder <[email protected]>
c293b954e6f589ecfd6671df80144b83259a7fe4 authored almost 2 years ago by Martin Thoma <[email protected]>See #107
f494e61e96bef4952ebabd1817ad6a4d7cf6eef8 authored almost 2 years ago by Martin Thoma <[email protected]>Closes #1541
df90053c3e673dfafafba8557e1d379883b62dc0 authored almost 2 years ago by pubpub-zz <[email protected]>f0c0a1d0cb0d8a72b988c63ba1d3f390e6dbe575 authored almost 2 years ago by Martin Thoma <[email protected]>
By annotating these tests, we can use pytest markers to skip external
tests and tests that depe...
f1cd7ae85df9ff90361255ca3fa869eb3a457ebf authored almost 2 years ago by Martin Thoma <[email protected]>
32b5034c6c652e3cf56cca784cbaa6ea2cf1685a authored almost 2 years ago by Martin Thoma <[email protected]>
New Features (ENH):
- Accept hierarchical fields (#1529)
Documentation (DOC):
- Use google st...
0ebc70314f3a708141232cafce9512336e5307bf authored almost 2 years ago by Martin Thoma <[email protected]>
Indexed names are implemented with `.` not `_` (possible mix up with names).
An optional parame...
The Google Docstring style is way more readable than ReST style docstrings. For this reason, thi...
5c0b11d6f6dfe8f7744565c59cf0ffef9f706608 authored almost 2 years ago by Martin Thoma <[email protected]>
Internal markdown links in docs do not work due to a bug in myst-parser.
https://github.com/exe...
377e18b3a4948f612d52671349fc5cea5a45cdf8 authored almost 2 years ago by Martin Thoma <[email protected]>
00f1d3433a73ad3c0ab1f4706492b138e7f58bcb authored almost 2 years ago by Martin Thoma <[email protected]>
Credit goes to Adel Haddad
See https://github.com/py-pdf/pypdf/pull/1430
Co-authored-by: ade...
438f38e5b43c8a4291b02adb88836604921fade3 authored almost 2 years ago by Martin Thoma <[email protected]>ea598dda99c6823d637e28f2f558ee5877499146 authored almost 2 years ago by Martin Thoma <[email protected]>
a5fae372ca8f961c59316453f1b7fc537ba3598b authored about 2 years ago by Martin Thoma <[email protected]>
Performance Improvement (PI)
- Help the specializing adpative interpreter (#1522)
New Features...
c2c4be6be5fde84d9898f133c43ebeaef7665c56 authored about 2 years ago by Martin Thoma <[email protected]>