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
We are trying to break as few running systems as possible. For this
reason we keep the adapter ...
Signed-off-by: Matthew Peveler <[email protected]>
bbfd46ccc9d22b1444e2293943dab5baabab4af6 authored over 2 years agoSigned-off-by: Matthew Peveler <[email protected]>
07bb859e91ce61d053a7abd3eac71665d92e10b7 authored over 2 years agoSee #914
bb68a4b16430fe9a7b0d536f42c7598d267f0922 authored over 2 years ago7f779bda3393708abfde92337ed1b5ab2b64556f authored over 2 years ago
See #914
f060edb1bd87d0c3eb33198f9c9ea4f9bb18c36f authored over 2 years ago24993292fcf65353e4494580b4ca76055ff0589d authored over 2 years ago
This is one of the core methods that a lot of people use. It should not
be removed already.
...
892299cd2404678b796ffa1b8bc4cf17e8f9abeb authored over 2 years agob4d54ed59486abfcd429a281c4d12cc09780636b authored over 2 years ago
b387b06718c5347ea641b06acd44ee636b7ca864 authored over 2 years ago
c4c2830f28ef04dfb3783ce02e29bdc61f0e3c14 authored over 2 years ago
35e014d6b29afa3b2d7542b573a08e2590ab6a09 authored over 2 years ago
550b1329586f810ee8d2adddde774bfc6c9fcd4a authored over 2 years ago
ed952f91889fb6acc238ab0368fe93f2d533c1c6 authored over 2 years ago
a51e358b2bd980805d90be1eb41b954e7c609014 authored over 2 years ago
We needed it because we were manipulating a docstring programmatically.
As long as we don't r...
68515c94dab84472ab634e297a8da73d28a0ca6e authored over 2 years agoPyPDF2 interface changes:
* getXmpMetadata / xmpMetadata ➔ xmp_metadata
* get_outlines ➔ _ge...
This includes testing that convertToInt raises a pending deprecation warning
e8513e78fa8b532226e74cfda67e842376853a5e authored over 2 years agoThis removes a PendingDeprecationWarning
f2be61f6c9d398c9381c5a2cbc9c7d4424508001 authored over 2 years ago43276ab5002e37cd2c654cdbe67bbfa0b1fe2eb3 authored over 2 years ago
1deb46a292cbcf466f9f36d8c004d7f4c18d9345 authored over 2 years ago
97c55d4612adce6ee70a5df008c13db4840be6d9 authored over 2 years ago
dad3bc8b9b4fe5d86297f0eb2955e089d5c6a735 authored over 2 years ago
This is `git merge main -s ours`
3729af0cc9ea0b894915814f5231c88caa2e0641 authored over 2 years ago
Bug Fixes (BUG):
- PendingDeprecationWarning for getContents (#893)
- PendingDeprecationWarnin...
9947c7b51f9e413458cc91eca2a1250829662fea authored over 2 years ago
Fixes a deprecation warning being raised when trying to use the PdfMerger class. This regression...
68c9202a456c0193ab2e4fc8a66b2c3ec70b91e4 authored over 2 years ago
Bug Fixes (BUG):
- Incorrectly show deprecation warnings on internal usage (#887)
Maintenance ...
000ac498ecc9343c11b89a785314b72730419818 authored over 2 years ago
* STY: Adjust code/docs in several places to make it more similar to the 2.0.0 branch
* MAINT: ...
ce1cb6697f9db60c5188624e56da1c676b1733f5 authored over 2 years ago
560d2a7d63d6038b36401af794e1c41187c71710 authored over 2 years ago
Add stacklevel=2 to deprecation warnings
e38b23d40fcfedbbe09d9d9d8590a05d55c286ee authored over 2 years ago
This release adds a lot of deprecation warnings in preparation of the
PyPDF2 2.0.0 release. The ...
This commit strives to make the usage for new PyPDF2 users easier by following
PEP8 naming sche...
adee9f0de841355fed41697d0947adcce9c1c814 authored over 2 years ago
This allows us to have a simpler user interface for page transformations
5703b61b4232cbd44eed8689da604347e29bb51b authored over 2 years ago
This is important for some PyPDF2 developers development workflows.
It allows them to compare c...
See https://github.com/py-pdf/PyPDF2/discussions/863
Co-authored-by: Martin Thoma <info@marti...
98f72e4bd50b11ff9300a4aa2a60d080e993a219 authored over 2 years ago247830973149c924166f18b79d5870b7eb1dfe7b authored over 2 years ago
Signed-off-by: Matthew Peveler <[email protected]>
29b1006cc9ff56084da950b98e6cb3cacd69e1fb authored over 2 years agoSee https://github.com/py-pdf/PyPDF2/discussions/863
a791ef16c009bcf528fba2e566cc58b5d18dc4f4 authored over 2 years ago96711cc07c1cf81e815345a0003f084015d21ccd authored over 2 years ago
9a9cfee40eec2db820d0e26708618b13cddaecf4 authored over 2 years ago
This PR uses 4 ways to disable checks by mypy:
* 74x `typing.cast`: Has no effect on the run...
50e9079ae60f19c543b4c147369e988ad2edfe7c authored over 2 years agoIn case of invalid extract stream data looking for endstream
Closes #301
e48bc6d156cca69c8e7f411ec0de7967bcf63eed authored over 2 years agoThis includes adding a type m
b580a452587689c5f38c0b9455d2f4b8853c70ab authored over 2 years agoAs support for Python 3.5 and lower was dropped, we can use more modern syntax
f06375eeb860f56a59c21cf09a2f523e94d6fd06 authored over 2 years ago
PdfFileReader and PdfFileMerger no longer have the `overwriteWarnings`.
The new behavior is `ov...
Closes #829
64f91ee6ceb2e394f1bbb33c494804071151f83c authored over 2 years agoIt's expected that this is a more sensible default for most users.
3c15f61833fd4a856ac909da8c13ce2f03f59f78 authored over 2 years ago
* All of them are removed from the package distributions
* Scripts is additionally moved to the...
Most importantly, the means Python 2.7 no longer needs to get supported
304d9ff223641b8425b3f8548d7826fb089adcb4 authored over 2 years ago4b069dd94a30efa2aef09e779be74e165d3a5a00 authored over 2 years ago
Bug Fixes (BUG):
- _rebuild_xref_table expects trailer to be a dict (#857)
Documentation (DOC)...
f3cb316f0135bc4f761e78086effa66e1652b2e4 authored over 2 years ago
This caused:
AttributeError: 'FloatObject' object has no attribute 'items'
Closes #856
...
955da9922f93e909110f083a4ddd422778265cfa authored over 2 years ago
Bug Fixes (BUG):
- Incorrectly issued xref warning/exception (#855)
Full Changelog: https://gi...
998d5bad34956524abb5017ca98eb98e78f977ce authored over 2 years agoCloses #852
c96489d789c18170ba9ff8d9aa852efab1037d96 authored over 2 years ago
Robustness (ROB):
- Handle missing destinations in reader (#840)
- warn-only in readStringFrom...
be6cdd8864075ba08e789c2b5b0b83b16fc6ea9e authored over 2 years ago
Thank you Matthew for your support / suggestions!
Co-authored-by: Matthew Peveler <matt.pevel...
7592257855b619d1d13752afac052147377a3c3f authored over 2 years ago
* BUG: Changed default /K to conform with the PDF 1.7 standard
* TST: Add test for CCITTFax
* ...
* pytest style
* use more constants
If a destination is missing, getDestinationPageNumber now returns -1
If `strict=False`, the fir...
An unexpected escape string was raising a PdfReadError before.
Now, only a warning is issued.
...
5c7d6e8bc1908dd179383397a605133cf1d83939 authored over 2 years ago
e1408f7488f2df54341b1208f2ad0a1b14eb8e81 authored over 2 years ago
c1dfdaa475c8705c45d82305f2d2ec76168e7e30 authored over 2 years ago
This change standardizes the code formatting quite a bit.
Having standardized formatting makes ...
865d74433e2b776ee131663f984e52dc083dca70 authored over 2 years ago
* BUG: StopIteration got deprecated in Python 3.7, see PEP 479
* STY: Use property decorator
...
fcd1aed0f762d5c26eba9bcdff4eb8e0eb39ca8f authored over 2 years agocb32323a4c2581c0a0c395bbe2320b6ca776c67d authored over 2 years ago
This refactoring aims at making maintenance easier:
1. Too long functions make it hard to gra...
fd775d34d9ccf8f77596ca9e82944c869901ac0f authored over 2 years agoUse PdfReadWarning instead of UserWarning to be consistent
Closes #297
904b0df5a2d840d0ef0d1db52c7ee6a114664594 authored over 2 years ago35086b6e2c0b45ce4b80e2581e8b27cd12a6d373 authored over 2 years ago
getFormTextFields now return an empty dict instead of throwing an exception if no form fields ar...
f90a9d7140a9cddcc60cc1f17a695ca2b363af39 authored over 2 years ago
I have no idea how to test for that in GithubActions.
As this likely only affects a small fract...
Full credit to
https://github.com/py-pdf/PyPDF2/pull/817/commits/6dc90b1e64c1965b61aa2561ce912f...
* Use submodule so that the connection is clear. Ensure that Flake8 issues of the submodule don'...
963b25159a69eb3264cb7179082fe6ffce16126b authored over 2 years ago
Full credit to
https://github.com/py-pdf/PyPDF2/pull/817/commits/9f628b3989b2f9714db9eb850bed32...
Full Credit goes to https://github.com/py-pdf/PyPDF2/pull/817/commits/5c74416e6cb9675628975f1252...
10ccbae325e875432a9980c4b78758203b728f33 authored over 2 years ago80f2f2572d2602f37e0ed3be34ef95d5df62a278 authored over 2 years ago
39215c704791c10189668bbd1fa1d04d0b1f3f81 authored over 2 years ago
A change I would like to highlight is the performance improvement for
large PDF files (#808) 🎉
...
22033d724e0c8a684c5aca1d390deedb4331a273 authored over 2 years agoe673a6eb2dc9b2207a144d253f2504739655f461 authored over 2 years ago
Closes #626
5bc7219360978dfb593fc4275e76b6f3057972c9 authored over 2 years agoFix: Convert decimal to int before passing it to datetime
Closes #774
63b4c91f4f466fa6fb9e256af3cadc11bb8e4a05 authored over 2 years agoIf no '/ID' key is present in self.trailer an array of two empty bytestrings is used in place of...
663ca9899fcd98630727c235278f114ea75533de authored over 2 years agof48b4acb5c1578fceb9fa97153583489cc4d164e authored over 2 years ago
People stumbled over this inconsistency:
* #40
* https://stackoverflow.com/a/42991101/56276...
6729b8005e3d07ddf858da319e1ce27784368d88 authored over 2 years ago
75410478227a396886be41b336aaefb201ac92cf authored almost 3 years ago
b3247e8d531b7dd35ca1c55a5bed5ea4151b9fa8 authored almost 3 years ago
PyPDF2 now takes positive / negative spaces between text blocks into account. Not very elegant, ...
d1be80dff6b3dee50fe742ad39ddc9621785dd4f authored almost 3 years agoCloses #151
d4c8cab3292ccc52117ad1b38a10262640dfc158 authored almost 3 years agoWhen the PdfFileReader tries to find the xref marker, the readNextEndLine methods builds a so ca...
c6c56f550bb384e05f0139c796ba1308837d6373 authored almost 3 years ago9941099b80dee1db6bfc747535b9d822b0fb0617 authored almost 3 years ago
This doesn't solve the issue, but it might make it less severe.
See #520
See #268
See https...
Closes #161
Closes #308
Closes #574
Closes #801
Co-authored-by: Craig Jones <[email protected]>
ffb208478144c2dc8f7ee9a4038f2c1c85ac99df authored almost 3 years ago