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

DOC: Adjust deprecation messages (#919)

We are trying to break as few running systems as possible. For this
reason we keep the adapter ...

7647ab5f35f386050943fbe1be74351d8e5aac91 authored over 2 years ago
DEV: Create flake8 config file (#916)

Signed-off-by: Matthew Peveler <[email protected]>

bbfd46ccc9d22b1444e2293943dab5baabab4af6 authored over 2 years ago
DEP: rotate_clockwise ➔ rotate for PageObject (#913)

Signed-off-by: Matthew Peveler <[email protected]>

07bb859e91ce61d053a7abd3eac71665d92e10b7 authored over 2 years ago
DEV: Refine Any in xmp module (#918)

See #914

bb68a4b16430fe9a7b0d536f42c7598d267f0922 authored over 2 years ago
DOC: CHANGELOG of 1.28.x

7f779bda3393708abfde92337ed1b5ab2b64556f authored over 2 years ago
BUG: XmpInformation missing method _getText (#915)

See #914

f060edb1bd87d0c3eb33198f9c9ea4f9bb18c36f authored over 2 years ago
BUG: Add PdfObject.getObject back (#911)

24993292fcf65353e4494580b4ca76055ff0589d authored over 2 years ago
BUG: Add getPage back (#909)

This is one of the core methods that a lot of people use. It should not
be removed already.

...

892299cd2404678b796ffa1b8bc4cf17e8f9abeb authored over 2 years ago
BUG: Fix error adding transformation to page without /Contents (#908)

b4d54ed59486abfcd429a281c4d12cc09780636b authored over 2 years ago
DOC: Transformation (#907)

b387b06718c5347ea641b06acd44ee636b7ca864 authored over 2 years ago
DOC: Add missing deprecation warning for addChild (#906)

c4c2830f28ef04dfb3783ce02e29bdc61f0e3c14 authored over 2 years ago
TST: Checkout submodule sample-files for benchmark

35e014d6b29afa3b2d7542b573a08e2590ab6a09 authored over 2 years ago
TST: Add text extracting performance benchmark

550b1329586f810ee8d2adddde774bfc6c9fcd4a authored over 2 years ago
TST: Use new PyPDF2 API in benchmark (#902)

ed952f91889fb6acc238ab0368fe93f2d533c1c6 authored over 2 years ago
TST: Make test suite fail for uncaught warnings (#892)

a51e358b2bd980805d90be1eb41b954e7c609014 authored over 2 years ago
TST: Remove -OO testrun from CI (#901)

We needed it because we were manipulating a docstring programmatically.

As long as we don't r...

68515c94dab84472ab634e297a8da73d28a0ca6e authored over 2 years ago
DEP: PEP8 renaming (#900)

PyPDF2 interface changes:

* getXmpMetadata / xmpMetadata ➔ xmp_metadata
* get_outlines ➔ _ge...

787c784c5ec1c68737717321204943071722e8dc authored over 2 years ago
TST: Improve tests for convert_to_int (#899)

This includes testing that convertToInt raises a pending deprecation warning

e8513e78fa8b532226e74cfda67e842376853a5e authored over 2 years ago
BUG: Use get_outlines instead of getOutlines (#897)

This removes a PendingDeprecationWarning

f2be61f6c9d398c9381c5a2cbc9c7d4424508001 authored over 2 years ago
BUG: PendingDeprecationWarning on merge/transform PageObject (#898)

43276ab5002e37cd2c654cdbe67bbfa0b1fe2eb3 authored over 2 years ago
Fix mypy issues

1deb46a292cbcf466f9f36d8c004d7f4c18d9345 authored over 2 years ago
Fix merge issues

97c55d4612adce6ee70a5df008c13db4840be6d9 authored over 2 years ago
Merge branch '2.0.0-dev' into main

dad3bc8b9b4fe5d86297f0eb2955e089d5c6a735 authored over 2 years ago
Merge main ours (#894)

This is `git merge main -s ours`

3729af0cc9ea0b894915814f5231c88caa2e0641 authored over 2 years ago
REL: 1.28.2

Bug Fixes (BUG):
- PendingDeprecationWarning for getContents (#893)
- PendingDeprecationWarnin...

c68b98d91fe6651215b81a1b1b20fc1a30b9d7e8 authored over 2 years ago
BUG: PendingDeprecationWarning for getContents (#893)

9947c7b51f9e413458cc91eca2a1250829662fea authored over 2 years ago
BUG: Fix deprecation warning on using PdfMerger (#891)

Fixes a deprecation warning being raised when trying to use the PdfMerger class. This regression...

68c9202a456c0193ab2e4fc8a66b2c3ec70b91e4 authored over 2 years ago
REL: 1.28.1

Bug Fixes (BUG):
- Incorrectly show deprecation warnings on internal usage (#887)

Maintenance ...

000ac498ecc9343c11b89a785314b72730419818 authored over 2 years ago
MAINT: Add stacklevel=2 to deprecation warnings (#889)

* STY: Adjust code/docs in several places to make it more similar to the 2.0.0 branch
* MAINT: ...

f74d733ae5e93b2fa73e912754c9158f6018d851 authored over 2 years ago
BUG: Incorrectly show deprecation warnings on internal usage (#887)

ce1cb6697f9db60c5188624e56da1c676b1733f5 authored over 2 years ago
MAINT: Remove duplicate warnings imports (#888)

560d2a7d63d6038b36401af794e1c41187c71710 authored over 2 years ago
MAINT: Use new PEP8 compliant names (#884)

Add stacklevel=2 to deprecation warnings

e38b23d40fcfedbbe09d9d9d8590a05d55c286ee authored over 2 years ago
REL: 1.28.0

This release adds a lot of deprecation warnings in preparation of the
PyPDF2 2.0.0 release. The ...

a214c9ee83605eec0ef52b1990786b909f7fbc1b authored over 2 years ago
DEP: PEP8-style module, class, and method names (#867)

This commit strives to make the usage for new PyPDF2 users easier by following
PEP8 naming sche...

c66ee8cf01a9ef5984bdc5a8eb612227ede413ab authored over 2 years ago
ENH: Add Page.add_transformation (#883)

adee9f0de841355fed41697d0947adcce9c1c814 authored over 2 years ago
MAINT: Explicitly represent transformation matrix (#878)

This allows us to have a simpler user interface for page transformations

5703b61b4232cbd44eed8689da604347e29bb51b authored over 2 years ago
DEV: Use relative imports (#875)

This is important for some PyPDF2 developers development workflows.
It allows them to compare c...

4429066367248fc4786a0d3c6ba59427b4b8bf63 authored over 2 years ago
MAINT: Remove IronPython Fallback for zlib (#872)

See https://github.com/py-pdf/PyPDF2/discussions/863

Co-authored-by: Martin Thoma <info@marti...

98f72e4bd50b11ff9300a4aa2a60d080e993a219 authored over 2 years ago
MAINT: Inline PAGE_RANGE_HELP string (#874)

247830973149c924166f18b79d5870b7eb1dfe7b authored over 2 years ago
MAINT: Remove unnecessary generics imports (#873)

Signed-off-by: Matthew Peveler <[email protected]>

29b1006cc9ff56084da950b98e6cb3cacd69e1fb authored over 2 years ago
MAINT: Remove IronPython Fallback for zlib (#868)

See https://github.com/py-pdf/PyPDF2/discussions/863

a791ef16c009bcf528fba2e566cc58b5d18dc4f4 authored over 2 years ago
MAINT: Remove star imports (#865)

96711cc07c1cf81e815345a0003f084015d21ccd authored over 2 years ago
MAINT: merger.py ➔ _merger.py (#864)

9a9cfee40eec2db820d0e26708618b13cddaecf4 authored over 2 years ago
MAINT: Type annotations for all functions/methods (#854)

This PR uses 4 ways to disable checks by mypy:

* 74x `typing.cast`: Has no effect on the run...

50e9079ae60f19c543b4c147369e988ad2edfe7c authored over 2 years ago
ROB: Cope with invalid length in streams (#861)

In case of invalid extract stream data looking for endstream

Closes #301

e48bc6d156cca69c8e7f411ec0de7967bcf63eed authored over 2 years ago
MAINT: Add initial type support with mypy (#853)

This includes adding a type m

b580a452587689c5f38c0b9455d2f4b8853c70ab authored over 2 years ago
MAINT: Use Python 3.6 language features (#849)

As support for Python 3.5 and lower was dropped, we can use more modern syntax

f06375eeb860f56a59c21cf09a2f523e94d6fd06 authored over 2 years ago
DEP: overwriteWarnings parameter of reader/merger (#846)

PdfFileReader and PdfFileMerger no longer have the `overwriteWarnings`.
The new behavior is `ov...

e083526cb74e2d44d99dbd6836194c01c2554289 authored over 2 years ago
DEP: Remove merger.OutlinesObject (#847)

Closes #829

64f91ee6ceb2e394f1bbb33c494804071151f83c authored over 2 years ago
Change default to strict=False in PdfFileReader/PdfFileMerger (#848)

It's expected that this is a more sensible default for most users.

3c15f61833fd4a856ac909da8c13ce2f03f59f78 authored over 2 years ago
DEP: Remove Scripts, Resources, Tests, Sample_Code (#845)

* All of them are removed from the package distributions
* Scripts is additionally moved to the...

835b7176b223d6bd2531c12c39c83207fbb8be68 authored over 2 years ago
DEP: Drop pre-Python 3.6 support (#842)

Most importantly, the means Python 2.7 no longer needs to get supported

304d9ff223641b8425b3f8548d7826fb089adcb4 authored over 2 years ago
DEP: Remove PyPDF2.pdf module (#844)

4b069dd94a30efa2aef09e779be74e165d3a5a00 authored over 2 years ago
REL: 1.27.12

Bug Fixes (BUG):
- _rebuild_xref_table expects trailer to be a dict (#857)

Documentation (DOC)...

f3cb316f0135bc4f761e78086effa66e1652b2e4 authored over 2 years ago
BUG: _rebuild_xref_table expects trailer to be a dict (#857)

This caused:
AttributeError: 'FloatObject' object has no attribute 'items'

Closes #856
...

48d5f0ca3e702da1460107dbe7d90ccdd60a4c1f authored over 2 years ago
DOC: Security Policy

955da9922f93e909110f083a4ddd422778265cfa authored over 2 years ago
REL: 1.27.11

Bug Fixes (BUG):
- Incorrectly issued xref warning/exception (#855)

Full Changelog: https://gi...

998d5bad34956524abb5017ca98eb98e78f977ce authored over 2 years ago
BUG: Incorrectly issued xref warning/exception (#855)

Closes #852

c96489d789c18170ba9ff8d9aa852efab1037d96 authored over 2 years ago
REL: 1.27.10

Robustness (ROB):
- Handle missing destinations in reader (#840)
- warn-only in readStringFrom...

def7a629ad4e1341dfdd68f6c7f56c111f1ee5c6 authored over 2 years ago
DEV: Add benchmark command to Makefile

be6cdd8864075ba08e789c2b5b0b83b16fc6ea9e authored over 2 years ago
DOC: Project Governance (#799)

Thank you Matthew for your support / suggestions!

Co-authored-by: Matthew Peveler <matt.pevel...

7592257855b619d1d13752afac052147377a3c3f authored over 2 years ago
MAINT: Separated CCITTFax param parsing/decoding (#841)

* BUG: Changed default /K to conform with the PDF 1.7 standard
* TST: Add test for CCITTFax
* ...

d2ed8e593bedeca0cc6283f9d4894a45c7a85323 authored over 2 years ago
STY: Documentation, Variable names (#839)

* pytest style
* use more constants

444fca22836df061d9d23e71ffb7d68edcdfa766 authored over 2 years ago
ROB: Handle missing destinations in reader (#840)

If a destination is missing, getDestinationPageNumber now returns -1
If `strict=False`, the fir...

3fe9e6ef0e547a044cfa7ec6df6e76452cc09c10 authored over 2 years ago
ROB: warn-only in readStringFromStream (#837)

An unexpected escape string was raising a PdfReadError before.
Now, only a warning is issued.
...

5e86977813d9714e9383a5b2801e26d57a16a86d authored over 2 years ago
TST: swap incorrect test names (#838)

5c7d6e8bc1908dd179383397a605133cf1d83939 authored over 2 years ago
MAINT: Split pdf module (#836)

e1408f7488f2df54341b1208f2ad0a1b14eb8e81 authored over 2 years ago
TST: Reader and page properties (#835)

c1dfdaa475c8705c45d82305f2d2ec76168e7e30 authored over 2 years ago
STY: Apply pre-commit (black, isort) + use snake_case variables (#832)

This change standardizes the code formatting quite a bit.
Having standardized formatting makes ...

eef03d935dfeacaa75848b39082cf94d833d3174 authored over 2 years ago
MAINT: Update requirements files

865d74433e2b776ee131663f984e52dc083dca70 authored over 2 years ago
TST: Add tests for PyPDF2.generic (#831)

* BUG: StopIteration got deprecated in Python 3.7, see PEP 479
* STY: Use property decorator

...

fcd1aed0f762d5c26eba9bcdff4eb8e0eb39ca8f authored over 2 years ago
DOC: History of PyPDF2

cb32323a4c2581c0a0c395bbe2320b6ca776c67d authored over 2 years ago
MAINT: Refactoring after #788 (#830)

This refactoring aims at making maintenance easier:

1. Too long functions make it hard to gra...

fd775d34d9ccf8f77596ca9e82944c869901ac0f authored over 2 years ago
ROB: Fix corruption in startxref or xref table (#788)

Use PdfReadWarning instead of UserWarning to be consistent

Closes #297

904b0df5a2d840d0ef0d1db52c7ee6a114664594 authored over 2 years ago
STY: Remove debug code (#828)

35086b6e2c0b45ce4b80e2581e8b27cd12a6d373 authored over 2 years ago
TST: Add tests for utils, form fields, PageRange (#827)

getFormTextFields now return an empty dict instead of throwing an exception if no form fields ar...

f90a9d7140a9cddcc60cc1f17a695ca2b363af39 authored over 2 years ago
DEV: Ignore IronPython parts for code coverage (#826)

I have no idea how to test for that in GithubActions.
As this likely only affects a small fract...

355f805f30e493cda2af134ccb768edccf3ff0ab authored over 2 years ago
TST: Add Test for ASCII85Decode (#825)

Full credit to
https://github.com/py-pdf/PyPDF2/pull/817/commits/6dc90b1e64c1965b61aa2561ce912f...

96d8d0f937dbffc867f0d49d66f5c40b36bb431d authored over 2 years ago
TST: Use external repository for larger/more PDFs for testing (#820)

* Use submodule so that the connection is clear. Ensure that Flake8 issues of the submodule don'...

963b25159a69eb3264cb7179082fe6ffce16126b authored over 2 years ago
TST: Add test for FlateDecode (#823)

Full credit to
https://github.com/py-pdf/PyPDF2/pull/817/commits/9f628b3989b2f9714db9eb850bed32...

39ffc1d6265e1b710d87cd6fc1a5f6b270978090 authored over 2 years ago
TST: Add test for filters.ASCIIHexDecode (#822)

Full Credit goes to https://github.com/py-pdf/PyPDF2/pull/817/commits/5c74416e6cb9675628975f1252...

10ccbae325e875432a9980c4b78758203b728f33 authored over 2 years ago
DOC: PDF feature/version support (#816)

80f2f2572d2602f37e0ed3be34ef95d5df62a278 authored over 2 years ago
DOC: More details on text parsing issues (#815)

39215c704791c10189668bbd1fa1d04d0b1f3f81 authored over 2 years ago
REL: 1.27.9

A change I would like to highlight is the performance improvement for
large PDF files (#808) 🎉

...

22033d724e0c8a684c5aca1d390deedb4331a273 authored over 2 years ago
DEV: Minor fix in make_changelog.py

e673a6eb2dc9b2207a144d253f2504739655f461 authored over 2 years ago
MAINT: Validate PDF magic byte in strict mode (#814)

Closes #626

5bc7219360978dfb593fc4275e76b6f3057972c9 authored over 2 years ago
BUG: TypeError in xmp._converter_date (#813)

Fix: Convert decimal to int before passing it to datetime

Closes #774

63b4c91f4f466fa6fb9e256af3cadc11bb8e4a05 authored over 2 years ago
ROB: Use null ID when encrypted but no ID given (#812)

If no '/ID' key is present in self.trailer an array of two empty bytestrings is used in place of...

663ca9899fcd98630727c235278f114ea75533de authored over 2 years ago
DEV: Adjust performance benchmark

f48b4acb5c1578fceb9fa97153583489cc4d164e authored over 2 years ago
MAINT: Make PdfFileMerger.addBookmark() behave life PdfFileWriters' (#339)

People stumbled over this inconsistency:

* #40
* https://stackoverflow.com/a/42991101/56276...

07848e59259a6d5e25696373c1d2dc465b4a7ffc authored over 2 years ago
DOC: CMaps (#811)

6729b8005e3d07ddf858da319e1ce27784368d88 authored over 2 years ago
DOC: The PDF Format + commit prefixes (#810)

75410478227a396886be41b336aaefb201ac92cf authored almost 3 years ago
ENH: Add papersizes (#800)

b3247e8d531b7dd35ca1c55a5bed5ea4151b9fa8 authored almost 3 years ago
BUG: Improve spacing for text extraction (#806)

PyPDF2 now takes positive / negative spaces between text blocks into account. Not very elegant, ...

d1be80dff6b3dee50fe742ad39ddc9621785dd4f authored almost 3 years ago
BUG: Fix PDFDocEncoding Character Set (#809)

Closes #151

d4c8cab3292ccc52117ad1b38a10262640dfc158 authored almost 3 years ago
MAINT: Quadratic runtime while parsing reduced to linear (#808)

When the PdfFileReader tries to find the xref marker, the readNextEndLine methods builds a so ca...

c6c56f550bb384e05f0139c796ba1308837d6373 authored almost 3 years ago
TST: Newlines in text extraction (#807)

9941099b80dee1db6bfc747535b9d822b0fb0617 authored almost 3 years ago
ROB: Handle recursion error (#804)

This doesn't solve the issue, but it might make it less severe.

See #520
See #268
See https...

3d659389e7561c024b5ffb9edd810e94814fa63e authored almost 3 years ago
ENH: Allow setting permission flags when encrypting (#803)

Closes #161
Closes #308

40df4d7622c8b838a631113ced680d021070dd80 authored almost 3 years ago
ENH: Allow setting form field flags (#802)

Closes #574
Closes #801

Co-authored-by: Craig Jones <[email protected]>

ffb208478144c2dc8f7ee9a4038f2c1c85ac99df authored almost 3 years ago