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
7c96d13ad9404076730846a11284ed0f611cab4d authored over 2 years ago
New Features (ENH):
- Add PageObject.user_unit property (#1336)
Robustness (ROB):
- Improve N...
Co-authored-by: Matthew Peveler <[email protected]>
3cf80bf3a76e878c742d81b22029b334c7dea78a authored over 2 years agoThree kinds of changes were made in this PR
1) _cmap.py : the str is coming from `/Encoding` ...
fb8be4065bfb26ec3bec71d8c6d65b3be3a2034f authored over 2 years ago
Bug Fixes (BUG):
- Fix Error in transformations (#1341)
- Decode #23 in NameObject (#1342)
Te...
e23b9854e419a66f5b1cba645372cb35be8d6053 authored over 2 years ago7e2362448a6d288fb0d9b43ba9aec51e3f024b99 authored over 2 years ago
725294e7c071bb3aaa86668e24dbfcfc6938d175 authored over 2 years ago
Error detected during analysis of #1280
95012cc4632c83522588ad32137a53d5280b606e authored over 2 years agoFixes #1340
d3a4a990c005625125fb65864c42d3d5871baf4c authored over 2 years agoReplace the warning-as-exception checks with use of `pytest.warns()`.
That is more semantical...
2bbccf743305748b6460170ef2e3b73828470541 authored over 2 years ago
Robustness (ROB):
- Fix infinite loop due to Invalid object (#1331)
- Fix image extraction iss...
Fixes #1329
* Prevent loop within dictionaries caused by objects not respecting the PDF stand...
e6531a25325e7e0174b6a1ba03b57320b5227f6b authored over 2 years ago2f776987cc0f58b6661ae4b681b9843777543fcc authored over 2 years ago
bfbe0b2528c74a12757cce1e811aed638f0c386e authored over 2 years ago
Fix some images reading when some operations are inserted between EI and Q
end of image is now ...
Version 2.10.5, 2022-09-04
--------------------------
New Features (ENH):
- Process XRefStm (#...
6e251fa5a252d323aa4f33ba6a6354a5c4e16c17 authored over 2 years ago
421970f363a111df3462c610a3beb36d8e66e07a authored over 2 years ago
TST: xmp
704be2de0e77deac66dd2caa1069afb7f84c60db authored over 2 years ago3ec834de9bf4cc6a9830aef9e8eb7131fa642cf0 authored over 2 years ago
The problem is observed in PDF files where the xref table in previous versions are not starting ...
b4b8f2d74a1ba107b1858cb93280b1d71b3b2260 authored over 2 years agoThe specification says:
To understand the algorithm below, it is necessary to treat the O and...
a61ef5f6f2321e324cbf3e67f65cf6d80acf2c9c authored over 2 years ago
Fixes #1273
Fixes #1279
Fixes #1292
Fixes #1294
Fixes #1295
ROB: Cope with xref starting ...
1252a49c5c9cd7d2e3c6559a32c550c849c26550 authored over 2 years agoROB : ending list with only one item on the line
Fixes #1274
Fixes #1285
ba2d32a1ff19ad065f0feddd200d23b0c4e76434 authored over 2 years ago
Modify sample code for annotation builder to use the parameter background_color property instead...
b219dfd228b5f455c54758606d4c7a9b2cb259ba authored over 2 years agoFixes #1293
1e089c0a42c267d6ffd9674171ecffdb9a2cbd80 authored over 2 years ago
When a PDF document has no crobox, artbox, etc, they are fallback to mediabox.
As they are lazy...
Closes #1312
a9fe98d7691c5a65b2edf2627b872f68ac556985 authored over 2 years agoCloses #1271
475bd68e3af0b4702a451cf7136be9f1c9d48696 authored over 2 years ago
`scale` accepts two params (`sx` and `sy`)
`scale_by` accepts one (`factor`)
Includes some customization capabilities to extend RTL
Closes #1296
7a95708b949c673b9d6d7140e9330b94a76f53f1 authored over 2 years agoPyPDF2 has some dependencies that make proper typing hard:
* PdfReader has the pages property...
c696192d1112200df1048626a8916a18be386e5a authored over 2 years agoAdded PdfReadError in cases where trailer is absent of can't be read.
Closes #1279
5c76c8f36e2cacab0ce7cd4905ad0f493f6143e3 authored over 2 years ago4e7602a120d8cfd992b6c1581f4dbe01a4427c74 authored over 2 years ago
b8517d9395866d57e101cf20c92525e40d8884ef authored over 2 years ago
Since Python 2.2 (PEP 237), integers cannot throw overflow exceptions.
d9ba8170f2712883422cbc23a906818ad72c81da authored over 2 years agoThis robustness improvement is for PDF files that have a corrupted Xref table entry, but the obj...
b5dce26583a125a15a39bf816dc3c979f5212638 authored over 2 years ago
Robustness (ROB):
- Fix errors/warnings on no /Resources within extract_text (#1276)
- Add req...
347cc24cb0d3b3a8db27d82031e4d8351d2db2ab authored over 2 years ago
69a27ae9db9eda4406942c0c4f7effff38498523 authored over 2 years ago
4745984bee177eec5c92adc0df13c6f293aca9c5 authored over 2 years ago
Look for /Ressources in parents
Closes #1272 (in text)
Closes #1269 (in Xform)
ceb997d68d17481b5d3afd3e956de4a3bdb3074d authored over 2 years ago
e909d8cfd402f942f0ef765721d8276941da69a3 authored over 2 years ago
Closes #1278
c819acbe267564afad1dddad31c256594f906bd6 authored over 2 years ago
* Move test_basic_features.py into test_workflows.py
* Use the tmp_path fixture in cases where ...
PyPDF2 uses TypeAlias which was introduced via PEP 613 in Python 3.10. Older versions of Python ...
84460f54aa4721db36452fe510f8063838e358d5 authored over 2 years ago
Robustness (ROB):
- Decrypt returns empty bytestring (#1258)
Documentation (DOC):
- Adding We...
b086e20dc4d0a24f3849652b8164088788479387 authored over 2 years ago
2ff3bff55b8208e57c1d292d63ef72a82e071b06 authored over 2 years ago
67144813863936e34b37a0fe382a1f811a5f3681 authored over 2 years ago
Closes #1245
cf3aab4b784163539a1f68ebd3f8979018449204 authored over 2 years agobaf0de1be0b68a1c1654d63ba60bbdca87ca6e80 authored over 2 years ago
... if arg is none of str/Path/stream/PdfReader
0983fe4b198eb121799a9f403bf3f6ff5604e9dd authored over 2 years agoAdjust type annotations
7f0a6b01b271b415188934003e383641aa308481 authored over 2 years agoc188fb023762950075efe5a220e465018af0f16d authored over 2 years ago
Co-authored-by: Matthew Peveler <[email protected]>
52463ea626dba78dbcfab17074b5dc941f1319f5 authored over 2 years agocb6c2247566cb42596de2dbbc05cae202242336f authored over 2 years ago
PR modifies the package CI job in two ways:
1. Pass package to check-wheel-contents. This mak...
28cf36aa9546787789b2c0b59f947bc2594e50be authored over 2 years agoThank you for reporting the issue so quickly!
917ff2ecbf26660520d7385d55ae68ac3f1b0c4d authored over 2 years agoBUG: Add PyPDF2.generic to PyPI distribution
b50c3a82f330a9b21b575131537fa9ac55a21b2b authored over 2 years agoCloses #1243
870198d52271fc12eeefe149f1a9ebab1dd5883a authored over 2 years ago
Bug Fixes (BUG):
- TreeObject.remove_child had a non-PdfObject assignment for Count (#1233, #12...
5713f5080d94764fbb891e5c333d747d69f01468 authored over 2 years ago
eee49b98e365484529479e88013a91b09d6642c1 authored over 2 years ago
3285673bf23247ff6b9184b2ec7189c708e3907f authored over 2 years ago
b4852391e3ff5b4b1803c516971b38c7bf3234d5 authored over 2 years ago
fd0c802bb35996591b55fd0ed0ca4d239190a59c authored over 2 years ago
dc84a42b2fee59978c531d58663fbbbb63df4d86 authored over 2 years ago
f066d3173cfba5d46d22e27368b46a6953716cd7 authored over 2 years ago
b440f54ff00116cb079f2e3d459b0fa434092b48 authored over 2 years ago
e11b373e45605c312ce3e94171a79068cb5de7a8 authored over 2 years ago
3424c71cfaa779a05a4f5d711d9f309cd431288b authored over 2 years ago
The aim of this refactoring PR is to explicitly define the interface of `PyPDF2.generic` via `__...
a85148ae83033de50e59dae7ca621305bb53ef6a authored over 2 years ago41e05f80fcea057f253d05d09b809b9abe7c3110 authored over 2 years ago
8948878c96a133e777ff66dcca0ab5f69b0ef696 authored over 2 years ago
d52b8e0d526e53ba6aa41b0af7f188c0d2050a32 authored over 2 years ago
Observed in case of \0 - \9 in streams
Closes #454
658bf285c109cb26d71807c314f0989627b6364b authored over 2 years ago2df8a4ca1f7ff60fa6c40dc4a4337136b27697c1 authored over 2 years ago
f172e43e934863be647d16cffa722fad698a215b authored over 2 years ago
c3c807a37753949a275f9a8bc578457e58bdacbf authored over 2 years ago
83fbfb218f031d8363d0e4cf4b19587081a70897 authored over 2 years ago
New Features (ENH):
- "with" support for PdfMerger and PdfWriter (#1193)
- Add AnnotationBuild...
20e99d9cca0c893a35d0bc959160597eae4c2153 authored over 2 years ago
dbdc9016da2728a0f3a5ec671a611695acae2247 authored over 2 years ago
* Killed 2340
* Killed 2341
* Killed 2342
* Killed 2383
See #1025
93514bee4092cc101280d68a42799278bb9088d9 authored over 2 years ago406d5f103c2543913ae4b39d1d33dddb29bfb081 authored over 2 years ago
4963760000a14c3b0539ec053ba805065472833e authored over 2 years ago
See 'TABLE 3.4 Entries common to all stream dictionaries'
and
> Any object in a PDF file m...
5b6bffb6c65cb982f0ad118405fc28458011f3d0 authored over 2 years agoCloses #1035
cb3f66e2617eb3154646a3300dfc77ac0eb7984c authored over 2 years agoIntroduced by 8a27fa4eea0c072cd7c8718a4c04869223c31ef6 (#1175)
a6b8fa6e4cd654d22760ccf62760b89de287c7d6 authored over 2 years ago759cbc344fb8f484dc55ba4a9f394d19f9189591 authored over 2 years ago
223da14bb249503574f1699b17d46cd4b7fc7885 authored over 2 years ago
43197dc4ccbf1f2efefa1f41edf376c30c4de963 authored over 2 years ago
Some cases of PdfReadError were replaced by more specific exceptions:
* FileNotDecryptedError...
d0a058ad24847f657b0922a186630535cab7a811 authored over 2 years ago
Closes #1108
Closes #1117
Full credit for this PR goes to JianzhengLuo
Co-authored-by: Ji...
4aa9ec9637c8a154d58bf3b49185df79dfbf8e12 authored over 2 years ago
New Features (ENH):
- Add ability to add hex encoded colors to outline items (#1186)
- Add sup...
7c7ef7759e031aa0639d1abd496c94d0188bed92 authored over 2 years ago
Replace many os.path usages with pathlib
42ae3127528a5edfecce504ab685cdd942700f54 authored over 2 years ago