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: Add Antoine Mérino as a contributor

7c96d13ad9404076730846a11284ed0f611cab4d authored over 2 years ago
REL: 2.10.8

New Features (ENH):
- Add PageObject.user_unit property (#1336)

Robustness (ROB):
- Improve N...

168113b0fcb2f6fa0e1d314c075c670ff4d5f97a authored over 2 years ago
ENH: Add PageObject.user_unit property (#1336)

Co-authored-by: Matthew Peveler <[email protected]>

3cf80bf3a76e878c742d81b22029b334c7dea78a authored over 2 years ago
ROB: Improve NameObject reading/writing (#1345)

Three kinds of changes were made in this PR

1) _cmap.py : the str is coming from `/Encoding` ...

fb8be4065bfb26ec3bec71d8c6d65b3be3a2034f authored over 2 years ago
REL: 2.10.7

Bug Fixes (BUG):
- Fix Error in transformations (#1341)
- Decode #23 in NameObject (#1342)

Te...

e23b9854e419a66f5b1cba645372cb35be8d6053 authored over 2 years ago
DOC: Add sietzeberends as a contributor

7e2362448a6d288fb0d9b43ba9aec51e3f024b99 authored over 2 years ago
DOC: Mention contributor

725294e7c071bb3aaa86668e24dbfcfc6938d175 authored over 2 years ago
BUG: Fix Error in transformations (#1341)

Error detected during analysis of #1280

95012cc4632c83522588ad32137a53d5280b606e authored over 2 years ago
BUG: Decode #23 in NameObject (#1342)

Fixes #1340

d3a4a990c005625125fb65864c42d3d5871baf4c authored over 2 years ago
TST: Use pytest.warns() for warnings, and .raises() for exceptions (#1325)

Replace the warning-as-exception checks with use of `pytest.warns()`.

That is more semantical...

2bbccf743305748b6460170ef2e3b73828470541 authored over 2 years ago
REL: 2.10.6

Robustness (ROB):
- Fix infinite loop due to Invalid object (#1331)
- Fix image extraction iss...

0ceaa6034e1e72d52a0a08992cc0bce3ca001ef8 authored over 2 years ago
ROB: Fix infinite loop due to Invalid object (#1331)

Fixes #1329

* Prevent loop within dictionaries caused by objects not respecting the PDF stand...

e6531a25325e7e0174b6a1ba03b57320b5227f6b authored over 2 years ago
DOC: Added Timo Stüber as a contributor

2f776987cc0f58b6661ae4b681b9843777543fcc authored over 2 years ago
DOC: Update migration guide (#1326)

bfbe0b2528c74a12757cce1e811aed638f0c386e authored over 2 years ago
ROB: Fix image extraction issue with superfluous whitespaces (#1327)

Fix some images reading when some operations are inserted between EI and Q
end of image is now ...

5049c1e7d0379d783bf809f6545d3583b51dab25 authored over 2 years ago
REL: 2.10.5

Version 2.10.5, 2022-09-04
--------------------------

New Features (ENH):
- Process XRefStm (#...

4073b2a36ef476b865e927f4c84be4bedd21f0f8 authored over 2 years ago
DOC: Migration guide (PyPDF2 1.x ➔ 2.x) (#1324)

6e251fa5a252d323aa4f33ba6a6354a5c4e16c17 authored over 2 years ago
STY: Tiny stylistic changes that hopefully make the code easier to read (#1323)

421970f363a111df3462c610a3beb36d8e66e07a authored over 2 years ago
STY: Minor changes (#1320)

TST: xmp

704be2de0e77deac66dd2caa1069afb7f84c60db authored over 2 years ago
DOC: Creating a coverage report (#1319)

3ec834de9bf4cc6a9830aef9e8eb7131fa642cf0 authored over 2 years ago
ROB: Fix offset correction in revised PDF (#1318)

The problem is observed in PDF files where the xref table in previous versions are not starting ...

b4b8f2d74a1ba107b1858cb93280b1d71b3b2260 authored over 2 years ago
ROB: Crop data of /U and /O in encryption dictionary to 48 bytes (#1317)

The specification says:

To understand the algorithm below, it is necessary to treat the O and...

a61ef5f6f2321e324cbf3e67f65cf6d80acf2c9c authored over 2 years ago
ENH: Process XRefStm (#1297)

Fixes #1273
Fixes #1279
Fixes #1292
Fixes #1294
Fixes #1295

ROB: Cope with xref starting ...

1252a49c5c9cd7d2e3c6559a32c550c849c26550 authored over 2 years ago
ROB: MultiLine bfrange in cmap (#1299)

ROB : ending list with only one item on the line

Fixes #1274
Fixes #1285

eb0be4d2ffad84bbe051395802cc7e9e6b526983 authored over 2 years ago
DEV: Only run coverage for PyPDF2

ba2d32a1ff19ad065f0feddd200d23b0c4e76434 authored over 2 years ago
DOC: Fix AnnotationBuilder.free_text example (#1311)

Modify sample code for annotation builder to use the parameter background_color property instead...

b219dfd228b5f455c54758606d4c7a9b2cb259ba authored over 2 years ago
ROB: Cope with 2 digit codes in bfchar (#1310)

Fixes #1293

1e089c0a42c267d6ffd9674171ecffdb9a2cbd80 authored over 2 years ago
BUG: Avoid scaling cropbox twice (#1314)

When a PDF document has no crobox, artbox, etc, they are fallback to mediabox.
As they are lazy...

3326cb7bbbd795a71dbf472f78e20521891873f8 authored over 2 years ago
ROB: Accept '/annn' charset as ASCII code (#1316)

Closes #1312

a9fe98d7691c5a65b2edf2627b872f68ac556985 authored over 2 years ago
ROB: Log errors during Float / NumberObject initialization (#1315)

Closes #1271

475bd68e3af0b4702a451cf7136be9f1c9d48696 authored over 2 years ago
DOC: Fix usage of page.scale by replacing it with page.scale_by (#1313)

`scale` accepts two params (`sx` and `sy`)
`scale_by` accepts one (`factor`)

e3fc7f619eb00730dc308a19f304e719353d42df authored over 2 years ago
ENH: Auto-detect RTL for text extraction (#1309)

Includes some customization capabilities to extend RTL

Closes #1296

7a95708b949c673b9d6d7140e9330b94a76f53f1 authored over 2 years ago
MAINT: PdfReaderProtocol (#1303)

PyPDF2 has some dependencies that make proper typing hard:

* PdfReader has the pages property...

c696192d1112200df1048626a8916a18be386e5a authored over 2 years ago
MAINT: Throw PdfReadError if Trailer can't be read (#1298)

Added PdfReadError in cases where trailer is absent of can't be read.

Closes #1279

5c76c8f36e2cacab0ce7cd4905ad0f493f6143e3 authored over 2 years ago
TST: Catch Exception for sample-files repo (#1307)

4e7602a120d8cfd992b6c1581f4dbe01a4427c74 authored over 2 years ago
Update sample files submodule

b8517d9395866d57e101cf20c92525e40d8884ef authored over 2 years ago
MAINT: Remove catching OverflowException (#1302)

Since Python 2.2 (PEP 237), integers cannot throw overflow exceptions.

d9ba8170f2712883422cbc23a906818ad72c81da authored over 2 years ago
ROB: Cope with corrupted entries in xref table (#1300)

This robustness improvement is for PDF files that have a corrupted Xref table entry, but the obj...

b5dce26583a125a15a39bf816dc3c979f5212638 authored over 2 years ago
REL: 2.10.4

Robustness (ROB):
- Fix errors/warnings on no /Resources within extract_text (#1276)
- Add req...

3b74312924542a59dce5c3f8e067b6e1765a12e6 authored over 2 years ago
MAINT: Use NameObject idempotency (#1290)

347cc24cb0d3b3a8db27d82031e4d8351d2db2ab authored over 2 years ago
TST: Rectangle deletion (#1289)

69a27ae9db9eda4406942c0c4f7effff38498523 authored over 2 years ago
DEV: Fix benchmark

4745984bee177eec5c92adc0df13c6f293aca9c5 authored over 2 years ago
ROB: Fix errors/warnings on no /Resources within extract_text (#1276)

Look for /Ressources in parents

Closes #1272 (in text)
Closes #1269 (in Xform)

af9c01b94c0a736105abedfa36adc8fa04d844b1 authored over 2 years ago
TST: Add workflow tests (#1287)

ceb997d68d17481b5d3afd3e956de4a3bdb3074d authored over 2 years ago
DOC: Add DL6ER as a contributor

e909d8cfd402f942f0ef765721d8276941da69a3 authored over 2 years ago
ROB: Add required line separators in ContentStream ArrayObjects (#1281)

Closes #1278

c819acbe267564afad1dddad31c256594f906bd6 authored over 2 years ago
TST: Remove files after tests ran (#1286)

* Move test_basic_features.py into test_workflows.py
* Use the tmp_path fixture in cases where ...

b63085e94e634a65d6b4b03fe1caa0c96886521d authored over 2 years ago
PKG: Add minimum version for typing_extensions requirement (#1277)

PyPDF2 uses TypeAlias which was introduced via PEP 613 in Python 3.10. Older versions of Python ...

84460f54aa4721db36452fe510f8063838e358d5 authored over 2 years ago
REL: 2.10.3

Robustness (ROB):
- Decrypt returns empty bytestring (#1258)

Documentation (DOC):
- Adding We...

2ddc48a8933bce3efec757fd0222fa07d0f07b0e authored over 2 years ago
TST: Delete annotations (#1263)

b086e20dc4d0a24f3849652b8164088788479387 authored over 2 years ago
MAINT: Remove unused sign function in _extract_text (#1262)

2ff3bff55b8208e57c1d292d63ef72a82e071b06 authored over 2 years ago
MAINT: Remove 'mine' as PdfMerger always creates the stream (#1261)

67144813863936e34b37a0fe382a1f811a5f3681 authored over 2 years ago
ROB: Decrypt returns empty bytestring (#1258)

Closes #1245

cf3aab4b784163539a1f68ebd3f8979018449204 authored over 2 years ago
TST: Close PdfMerger in tests (#1260)

baf0de1be0b68a1c1654d63ba60bbdca87ca6e80 authored over 2 years ago
MAINT: Let PdfMerger._create_stream raise NotImplemented (#1251)

... if arg is none of str/Path/stream/PdfReader

0983fe4b198eb121799a9f403bf3f6ff5604e9dd authored over 2 years ago
MAINT: password param of _security._alg32(...) is only a string, not bytes (#1259)

Adjust type annotations

7f0a6b01b271b415188934003e383641aa308481 authored over 2 years ago
TST: PdfReader.xmp_metadata workflow (#1257)

c188fb023762950075efe5a220e465018af0f16d authored over 2 years ago
MAINT: Remove unreachable code in read_block_backwards (#1250)

Co-authored-by: Matthew Peveler <[email protected]>

52463ea626dba78dbcfab17074b5dc941f1319f5 authored over 2 years ago
TST: Various PdfWriter (Layout, Bookmark deprecation) (#1249)

cb6c2247566cb42596de2dbbc05cae202242336f authored over 2 years ago
DEV: Modify CI to better verify built package contents (#1244)

PR modifies the package CI job in two ways:

1. Pass package to check-wheel-contents. This mak...

28cf36aa9546787789b2c0b59f947bc2594e50be authored over 2 years ago
DOC: Adding WevertonGomes as a Contributor

Thank you for reporting the issue so quickly!

917ff2ecbf26660520d7385d55ae68ac3f1b0c4d authored over 2 years ago
REL: 2.10.2

BUG: Add PyPDF2.generic to PyPI distribution

b50c3a82f330a9b21b575131537fa9ac55a21b2b authored over 2 years ago
BUG: Add PyPDF2.generic to distribution

Closes #1243

870198d52271fc12eeefe149f1a9ebab1dd5883a authored over 2 years ago
REL: 2.10.1

Bug Fixes (BUG):
- TreeObject.remove_child had a non-PdfObject assignment for Count (#1233, #12...

1423c0d76d40490e0074a1836cb5a7b06934fbcb authored over 2 years ago
TST: Decrypt AlgV4 with owner password (#1239)

5713f5080d94764fbb891e5c333d747d69f01468 authored over 2 years ago
TST: AlgV5.generate_values (#1238)

eee49b98e365484529479e88013a91b09d6642c1 authored over 2 years ago
TST: PdfWriter (#1237)

3285673bf23247ff6b9184b2ec7189c708e3907f authored over 2 years ago
TST: TreeObject.empty_tree() (#1236)

b4852391e3ff5b4b1803c516971b38c7bf3234d5 authored over 2 years ago
TST: TreeObject.remove_child for middle node (#1235)

fd0c802bb35996591b55fd0ed0ca4d239190a59c authored over 2 years ago
BUG: TreeObject.remove_child had an assignment issue for Count (#1234)

dc84a42b2fee59978c531d58663fbbbb63df4d86 authored over 2 years ago
BUG: TreeObject.remove_child had non-PdfObject assignment (#1233)

f066d3173cfba5d46d22e27368b46a6953716cd7 authored over 2 years ago
TST: create_string_object (#1232)

b440f54ff00116cb079f2e3d459b0fa434092b48 authored over 2 years ago
TST: Free-Text annotations (#1231)

e11b373e45605c312ce3e94171a79068cb5de7a8 authored over 2 years ago
TST: generic._base (#1230)

3424c71cfaa779a05a4f5d711d9f309cd431288b authored over 2 years ago
MAINT: Split generic.py (#1229)

The aim of this refactoring PR is to explicitly define the interface of `PyPDF2.generic` via `__...

a85148ae83033de50e59dae7ca621305bb53ef6a authored over 2 years ago
DOC: Fix docstring formatting (#1228)

41e05f80fcea057f253d05d09b809b9abe7c3110 authored over 2 years ago
TST: Strict get fonts (#1226)

8948878c96a133e777ff66dcca0ab5f69b0ef696 authored over 2 years ago
TST: PdfReader coverage (#1225)

d52b8e0d526e53ba6aa41b0af7f188c0d2050a32 authored over 2 years ago
BUG: Fix stream truncated prematurely (#1223)

Observed in case of \0 - \9 in streams

Closes #454

658bf285c109cb26d71807c314f0989627b6364b authored over 2 years ago
TST: Increase PdfReader coverage (#1219)

2df8a4ca1f7ff60fa6c40dc4a4337136b27697c1 authored over 2 years ago
TST: Writer exception non-binary stream (#1218)

f172e43e934863be647d16cffa722fad698a215b authored over 2 years ago
TST: 100% coverage for utils.py (#1217)

c3c807a37753949a275f9a8bc578457e58bdacbf authored over 2 years ago
TST: Don't check coverage for deprecated code (#1216)

83fbfb218f031d8363d0e4cf4b19587081a70897 authored over 2 years ago
REL: 2.10.0

New Features (ENH):
- "with" support for PdfMerger and PdfWriter (#1193)
- Add AnnotationBuild...

6cc253e838b8adcce0ff80a6e804c4536f3f6c98 authored over 2 years ago
TST: Add workflow tests (#1214)

20e99d9cca0c893a35d0bc959160597eae4c2153 authored over 2 years ago
STY: Apply pylint (#1213)

dbdc9016da2728a0f3a5ec671a611695acae2247 authored over 2 years ago
TST: Killing Security Mutants (#1212)

* Killed 2340
* Killed 2341
* Killed 2342
* Killed 2383

See #1025

93514bee4092cc101280d68a42799278bb9088d9 authored over 2 years ago
DOC: Font scrambling

406d5f103c2543913ae4b39d1d33dddb29bfb081 authored over 2 years ago
STY: Minor documentation formatting change

4963760000a14c3b0539ec053ba805065472833e authored over 2 years ago
BUG: Allow IndirectObjects as stream filters (#1211)

See 'TABLE 3.4 Entries common to all stream dictionaries'

and

> Any object in a PDF file m...

5b6bffb6c65cb982f0ad118405fc28458011f3d0 authored over 2 years ago
DOC: Page vs Content scaling (#1208)

Closes #1035

cb3f66e2617eb3154646a3300dfc77ac0eb7984c authored over 2 years ago
DOC: Example for orientation parameter of extract_text (#1206)

Introduced by 8a27fa4eea0c072cd7c8718a4c04869223c31ef6 (#1175)

a6b8fa6e4cd654d22760ccf62760b89de287c7d6 authored over 2 years ago
DOC: Fix AnnotationBuilder parameter formatting (#1204)

759cbc344fb8f484dc55ba4a9f394d19f9189591 authored over 2 years ago
DEV: Add flake8-print (#1203)

223da14bb249503574f1699b17d46cd4b7fc7885 authored over 2 years ago
ENH: Add AnnotationBuilder.text(...) to build text annotations (#1202)

43197dc4ccbf1f2efefa1f41edf376c30c4de963 authored over 2 years ago
MAINT: Introduce WrongPasswordError / FileNotDecryptedError / EmptyFileError (#1201)

Some cases of PdfReadError were replaced by more specific exceptions:

* FileNotDecryptedError...

d0a058ad24847f657b0922a186630535cab7a811 authored over 2 years ago
ENH: "with" support for PdfMerger and PdfWriter (#1193)

Closes #1108
Closes #1117

Full credit for this PR goes to JianzhengLuo

Co-authored-by: Ji...

4aa9ec9637c8a154d58bf3b49185df79dfbf8e12 authored over 2 years ago
REL: 2.9.0

New Features (ENH):
- Add ability to add hex encoded colors to outline items (#1186)
- Add sup...

0a6676fe064837222d391a7c73c7b0f3df782ac1 authored over 2 years ago
ENH: Add ability to add hex encoded colors to outline items (#1186)

7c7ef7759e031aa0639d1abd496c94d0188bed92 authored over 2 years ago
ENH: Add support for pathlib.Path in PdfMerger.merge (#1190)

Replace many os.path usages with pathlib

42ae3127528a5edfecce504ab685cdd942700f54 authored over 2 years ago