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 compression example (#792)

668869f17988284e260c30b39c47eb26e033df54 authored over 2 years ago by Martin Thoma <[email protected]>
DEV: Add Benchmark for Performance Testing (#781)

We want to track performance over time only for what actually
is in main.

Closes #761

f0f1fa3641cf1cda96e1bb1a655493617df5281c authored over 2 years ago by Martin Thoma <[email protected]>
REL: 1.27.8

Bug Fixes (BUG):
- Use 1MB as offset for readNextEndLine (#321)
- 'PdfFileWriter' object has n...

2f01f775ad4ded8adb17b28565138adaa9246510 authored over 2 years ago by Martin Thoma <[email protected]>
DEV: Improve CHANGELOG generation

34a35acef56368dd746128d01499b07f5d4f96df authored over 2 years ago by Martin Thoma <[email protected]>
TST: Regression test for #177 (#790)

80c59c95dc702dae26a530ec39e09e3c92fa0e87 authored over 2 years ago by Martin Thoma <[email protected]>
BUG: Use 1MB as offset for readNextEndLine (#321)

Try to find “%%EOF” in last 1Mb of file.

This fixes the issue with reading Selenium-generated...

db1e458cc7f6165f79d28c94510cb677c7a7e8e3 authored over 2 years ago by Andrey Kolpakov <[email protected]>
BUG: 'PdfFileWriter' object has no attribute 'stream' (#787)

Closes #670

b36a564e5c222b633af8448e5f1bf5b1887723f2 authored over 2 years ago by Martin Thoma <[email protected]>
DOC: Robustness (#785)

e7fe70764c8617ec77f9ebf82b4046d1c283832f authored over 2 years ago by Martin Thoma <[email protected]>
ROB: Invalid float object; use 0 as fallback (#782)

Users report the following error:
decimal.InvalidOperation: [<class 'decimal.ConversionSynt...

b82f0808984410030b0e1cfb9eb7f5a1fae069f9 authored over 2 years ago by Martin Thoma <[email protected]>
REL: 1.27.7

Bug Fixes (BUG):
- Import exceptions from PyPDF2.errors in PyPDF2.utils (#780)

Code Style (STY)...

4c78b542e211aeeb1f34095666e9d0e6d8519b9c authored over 2 years ago by Martin Thoma <[email protected]>
BUG: Import exceptions from PyPDF2.errors in PyPDF2.utils (#780)

Closes #779

90683ed6e2ea85c0156b9170ca904ce04af22581 authored over 2 years ago by Martin Thoma <[email protected]>
STY: Naming in 'make_changelog.py'

ac2aeea122d17f47d9e9f183b70e14358cab2755 authored over 2 years ago by Martin Thoma <[email protected]>
REL: 1.27.6

Deprecations (DEP):
- Remove support for Python 2.6 and older (#776)

New Features (ENH):
- Ex...

13e7cb3adf9ded51bbe55d6c305d1d1f3bfc5998 authored over 2 years ago by Martin Thoma <[email protected]>
DEV: Add tool to generate changelog

2e3eb1b7a894e7511648da4d500157c257407519 authored over 2 years ago by Martin Thoma <[email protected]>
MAINT: Split long functions (#777)

I hope this makes them easier to understand

5ce18b7ae97e78c2f75ab4e2dea9b67637259e9f authored over 2 years ago by Martin Thoma <[email protected]>
DEP: Remove Python 2.6 and older support (#776)

"New" features that we use:

* PEP-343: with statements (Python 2.5+)
* PEP-389: argparse (Py...

b08f9aa3e0662ae7096add27d214f6f7e5e95894 authored over 2 years ago by Martin Thoma <[email protected]>
MAINT: Use decorators for @staticmethod (#775)

This drops support for Python 2.3 and older.

As Python 2.3 had it's last release in 2008 - 14...

316f5e66abda54be2dbce5c9cbfdac3a4c0c435a authored over 2 years ago by Martin Thoma <[email protected]>
BUG: Updated pdf fields don't show up when page is written (#412)

Closes #355
See #300

Borrowed code from ademidun in the comment history and inserted it into...

f92e97554a9a1c087fdec9667fd17fa53a52ab8f authored over 2 years ago by Michael <[email protected]>
TST: Error cases (#773)

9cd16d086b5d7a076de7c1cb6010ce020a9bd2b8 authored over 2 years ago by Martin Thoma <[email protected]>
TST: Add tests for Writer (#772)

* TST: Add tests for Writer
* DOC: Working with Forms

911133685f1011619d3e29a14e03fbe8f7e989b1 authored over 2 years ago by Martin Thoma <[email protected]>
TST: Filling out forms (#771)

613c4fcd93e21fa5920f60b892b43916339bc943 authored over 2 years ago by Martin Thoma <[email protected]>
TST: Run tests in CI once with -OO Flags (#770)

8d3241be7a92dc1da21cdf5d483e291001a26590 authored over 2 years ago by Martin Thoma <[email protected]>
ENH: Extract document permissions (#320)

0507b2f629ad2fe3837ce2128323c81b88b15126 authored over 2 years ago by Moshe Kaplan <[email protected]>
BUG: Set Linked Form Value (#414)

If a form text field is linked to multiple locations in a PDF, PdfFileWriter.updatePageFormField...

c0c5f936d14b2b5734afd4532b9dcbcc15a8e964 authored over 2 years ago by Steven <[email protected]>
BUG: Acciental import

9acebab57a3c8487620a2febe9ef37cf1b35156a authored over 2 years ago by Martin Thoma <[email protected]>
STY: Replace more constants

e4f51f6e399ca37dcdd78fd412f96b142283ad89 authored over 2 years ago by Martin Thoma <[email protected]>
TST: Check Error messages (#769)

Doing so somethings shows that not the error message you've
expected is thrown, but another one...

8075edb93510b7d568ba34ba3d361d02cf0f7b0c authored over 2 years ago by Martin Thoma <[email protected]>
STY: Add error module (#768)

1f0fbf3267d34aad3405b17deb461459ec26559e authored over 2 years ago by Martin Thoma <[email protected]>
TST: Regression test for issue #88

Co-authored-by: Stef Sijben <[email protected]>

31fc4cece54ea537f3102f4dbfe07b93f4c55963 authored over 2 years ago by Martin Thoma <[email protected]>
BUG: Fix zlib -5 error for corrupt files (#603)

Closes #609
Closes #88

354f8cefc5cfaa317c5a23f9e943b17bd4b9786c authored over 2 years ago by thijsbrouwers <[email protected]>
DOC: Link to pdftoc in Sample_Code (#628)

89bc09303cf08b8b461367130c230ddac9f3c534 authored over 2 years ago by Vitaly Bogomolov <[email protected]>
BUG: Fix reading more than last1K for EOF (#642)

Added optional parameter in readNextEndLine() to limit the offset
then read() uses this paramet...

03ea3ec6ef8cfb57724ba2b47c48cf6e2d975856 authored over 2 years ago by Rafael <[email protected]>
BUG: Handle cases where decodeParms is an ArrayObject (#405)

Fixes bug where decodeParms.get(...) causes
AttributeError: 'ArrayObject' object has no attribu...

ba7ee5b67e0dddc68cd0bcad9d64b52c604c68c5 authored over 2 years ago by jc275 <[email protected]>
DEV: Add issue templates (#765)

5e4fdfa8a3da06bcf069361561a6ac906a11211b authored over 2 years ago by Martin Thoma <[email protected]>
DOCS: Structure history

4a3af962db3ca3c36404c9c9db6d9ea0e4ad0162 authored over 2 years ago by Martin Thoma <[email protected]>
BUG: Add overwriteWarnings parameter PdfFileMerger (#243)

This helps users who run into issue #67

bf3c9c9c4ea740e7afea48fdc932eaecda277d70 authored over 2 years ago by André <[email protected]>
BUG: Clip by trimBox when merging pages, which would otherwise be ignored (#240)

Closes #163

c138f213b5a3e5e0eaefa6ee2acc34e22033924a authored over 2 years ago by Forrest Voight <[email protected]>
MAINT: Use grouped constants instead of string literals (#745)

This allows us to leverage the IDE.

* Documentation: We can now document what the constants a...

d5a5eea6080848a7a91b45fe7b39a2e77aae9301 authored over 2 years ago by Martin Thoma <[email protected]>
DOC: Working with annotations (#764)

See #107

87aafd6d2b932f0597f3f03c916c52ce10bc6901 authored over 2 years ago by Martin Thoma <[email protected]>
ROB: Allow extra whitespace before "obj" in readObjectHeader (#567)

The header being read has the format:

<idnum> <generation> obj

where `<idnum>` and `<g...

cf20f925e3a8d87eab5a6fc5c6ec4ed0774ed4af authored over 2 years ago by Malthe Jørgensen <[email protected]>
STY: Make variable naming more consistent in tests

a5875c566978639a8f1687498fde3ebc2c9ee716 authored over 2 years ago by Martin Thoma <[email protected]>
TST: Regression test for #327

Credits to Denis Osipov:
https://github.com/py-pdf/PyPDF2/pull/359#issuecomment-1092022338

Co-a...

d58a849179138ec0d68fc4bc1b2437d1d269a308 authored over 2 years ago by Martin Thoma <[email protected]>
BUG: IndexError for getPage() of decryped file (#359)

ISSUE: Problem appears because _flatten() method sets self.flattenedPages before it tries to get...

bd7500d9f93f39c826fc21c396e81aa5bad98029 authored over 2 years ago by Denis Osipov <[email protected]>
REL: 1.27.5

Security (SEC):

- ContentStream_readInlineImage had potential infinite loop (#740)

Bug fixes (...

733989af6fc0f87d69d78509f3766b47ffc24e1d authored over 2 years ago by Martin Thoma <[email protected]>
DEV: Add mutmut (#760)

8aa440cb0b8933339df152d3d5aa3f85be3412d7 authored over 2 years ago by Martin Thoma <[email protected]>
TST: Check for metadata

eda50ac7df032970ee755268ba158752c51268c6 authored over 2 years ago by Martin Thoma <[email protected]>
SEC/PERF: ContentStream_readInlineImage (#740)

Closes #329 - potential infinite loop (SEC)
Closes #330 - performance issue of ContentStream._r...

d71fb3e6249a07682e8ebc456e26499923ff9031 authored over 2 years ago by Sebastian Krause <[email protected]>
TST: Add test for inline images (#758)

Credits to Sebastian Krause for creating the PDF:
https://github.com/py-pdf/PyPDF2/pull/331#iss...

0890b06d60de67011bee4d8e30c91658858b3025 authored over 2 years ago by Martin Thoma <[email protected]>
ROBUST: title sometimes None (#744)

Closes #511

29194cd55a189274ee0de4c625adbe1a71b99293 authored over 2 years ago by clach04 <[email protected]>
TST: Increase Test coverage (#756)

Adding unit Tests:

* xmp
* ConvertFunctionsToVirtualList
* PyPDF2.utils.hexStr
* Page oper...

012709f7a145d1fd85c3f6ca2a8e4c792d14e94b authored over 2 years ago by Martin Thoma <[email protected]>
BUG: Fix merging encrypted files (#757)

9d53ee80856b4fdd275a5dd639ad4b1b969d6910 authored over 2 years ago by Martin Thoma <[email protected]>
Combine coverage (#755)

* Replace pytest-cov by coverage
* Fix coverage badge

fe45d2eba523df34564ab5f16a4370792d95fb5d authored over 2 years ago by Martin Thoma <[email protected]>
DEV: Show code coverage (#754)

01a1242403895f7b6f32760440c2435066485bf2 authored over 2 years ago by Martin Thoma <[email protected]>
DOC: Adjust short description

0500c8d7bcf9fd351ca827f12323d538ba7c7f2b authored over 2 years ago by Martin Thoma <[email protected]>
TST: Rewrite JS tests from unittest to pytest (#746)

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

0ea2301c5bb936d9915d890f03e0b19b98c40ac7 authored over 2 years ago by Matthew Peveler <[email protected]>
DEV: Remove unused Travis-CI configuration (#747)

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

7771fadc14775f79d508f3f976f1cbe1081f790e authored over 2 years ago by Matthew Peveler <[email protected]>
STY: Fix style issues (#743)

* Explicitly export PdfFileReader, PdfFileWriter
* Implicit string concatenation
* Don't leave...

38d5ec462eb64cd686440716cae9c57dbb8e27d0 authored over 2 years ago by Martin Thoma <[email protected]>
REL: 1.27.4

e45e66ba8b1529535ef0b12dc5397b8f6714abde authored over 2 years ago by Martin Thoma <[email protected]>
STY: Fix various style issues (#742)

1f0079401495ea94ff5b838b3e41412dc44c2c1d authored over 2 years ago by Martin Thoma <[email protected]>
TST: Fix CI triggering (master ➔ main) (#739)

Also various links in setup.cfg

See #736

8b40f6b9d38dbf2a4aedac0c769001d828668e99 authored over 2 years ago by Martin Thoma <[email protected]>
BUG: Guard formatting of __init__.__doc__ string (#738)

I have no clue why it can be None, but it aparently can be None.

Closes #737

1f63d418a3b68b2ecc936cbbf5698cf24be55113 authored over 2 years ago by Martin Thoma <[email protected]>
TST: Add test for issue #297

It's not fixed, but at least we can test it now easily. We still get:

ValueError: invalid liter...

966eb5d588546352880492c34860beefa33ece7a authored over 2 years ago by Martin Thoma <[email protected]>
PKG: Add more precise license field to setup (#733)

f881d895251a8849e1dbfd57cb40f2a17f36d191 authored over 2 years ago by Matthew Peveler <[email protected]>
DOC: Miscallenious ➔ Miscellaneous (Typo)

Thank you MasterOdin!

Closes #734

17f2a38864654f778e77a7e66b9cccaf92f4c251 authored over 2 years ago by Martin Thoma <[email protected]>
REL: 1.27.3

- PKG: Make Tests not a subpackage (#728)
- BUG: Fix ASCII85Decode.decode assertion (#729)
- BUG...

62a7c96497fb8aeb3008f63608893100b5722a5e authored over 2 years ago by Martin Thoma <[email protected]>
STY: Apply black

93a6063dfa93b5439b95d3a39f4e9bb4892f77f2 authored over 2 years ago by Martin Thoma <[email protected]>
TST: Fix test_get_images (#730)

BUG: Two tests with the same name existed

MAINT: Move _xobj_to_image from Scrips (image extra...

984841ce6d3a95245de1ac169d4d2e8dc8badcbf authored over 2 years ago by Martin Thoma <[email protected]>
MAINT: Remove Sample_Code (#726)

Everything in the Sample_Code folder is now in the docs: https://pypdf2.readthedocs.io/en/latest/

d123c639210f02f920dec5e983d86f36aa97834f authored over 2 years ago by Martin Thoma <[email protected]>
BUG: Fix ASCII85Decode.decode assertion (#729)

BUG: Off-by-one
FIX: Set 2**32-1 inclusive

Closes #312

Credits to Michael Sander (speedpl...

8f8e0ae22418107eef6408edc9e4c87771ca6871 authored over 2 years ago by Martin Thoma <[email protected]>
PKG: Make Tests not a subpackage (#728)

Only distribute it in the source

Closes #727

a96bc3c3bcd856b6e1b8912dae2a2ab23c0016f7 authored over 2 years ago by Martin Thoma <[email protected]>
DOC: Simplify usage example on README

410595fd83e519b8d48c0e14632e5dc973d670da authored over 2 years ago by Martin Thoma <[email protected]>
DOC: Add more merging details (#725)

8be07689269e511f7165be2228e48c7c2e2247f7 authored over 2 years ago by Martin Thoma <[email protected]>
DOC: Encryption/Decryption, Metadata (#724)

e0abcf91a3d45c26884708d2bc8394d1f4510147 authored over 2 years ago by Martin Thoma <[email protected]>
STY: 2-up.py code style

384146d497b8343cc312e7f65b590fd67f003ab3 authored over 2 years ago by Martin Thoma <[email protected]>
BUG: Code duplication in 2-up.py

845f48c75d4a49f7044755336c536c0be53464e2 authored over 2 years ago by Martin Thoma <[email protected]>
DOC: README.txt ➔ README.md

c1f07c2e4be304ab53023dba81e19ddf78dd195a authored over 2 years ago by Martin Thoma <[email protected]>
ROBUST: Guard 'obj.writeToStream' with 'if obj is not None' + only throw Exception in non-strict mode (#198)

- If obj is None we can't write anything to the stream
- Using self.strict to raise the excepti...

9e001508ad986d8575c710bddfa501ff579f1115 authored over 2 years ago by Vladir Parrado Cruz <[email protected]>
中文字符相关的编码错误 Error in Chinese character encoding (#463)

* Update generic.py

修复BUG:Name Object 遇到GBK编码时会抛出PyPDF2.utils.PdfReadError: Illegal character...

b76ffcda07ae1c447bf3319e182b41ebf6d2057c authored over 2 years ago by gitzjm <[email protected]>
DOC: Add Scripts/booklet.py (#469)

67439ed6558634c9d182a4fdc9cf22abaf7a7ae4 authored over 2 years ago by Alexander Myltsev <[email protected]>
BUG: Close File Descriptors in Scripts (#575)

Found issue where not closing file descriptors in Windows caused access issues whilst trying to ...

3e88206b06373f090948a88aa4a25652103c86f4 authored over 2 years ago by JavaScriptDude <[email protected]>
DOC: Add pdfrw + pdfminer to comparisons

fd5051d68c417e3c7875c471b353343c3114dee4 authored over 2 years ago by Martin Thoma <[email protected]>
DOC: Fix header duplication (#723)

Also: reStructured Text to Markdown conversion

05eb9f0b63a5b4d2fefa335b57cc5a7744746ce2 authored over 2 years ago by Martin Thoma <[email protected]>
DOC: Add user guides (#720)

4fa35c9f5dd826e546ba6b0bbb46994100c18836 authored over 2 years ago by Martin Thoma <[email protected]>
TST: Close file handle in test_writer (#722)

In test_writer.py, make sure tmp file is closed before removing it

6eafb94525d1118782ac3626c453ad9b63a88d61 authored over 2 years ago by vashek <[email protected]>
DEV: Make tox use pytest and add more Python versions (#721)

6a0b89f1f10d66d9464c409cc0711da0fe4dd998 authored over 2 years ago by vashek <[email protected]>
ROBUST: Ignore a /Prev entry with the value 0 in the trailer in non-strict mode (#618)

An extra /Prev key in the trailer with the value 0 means the PDF is broken according to the spec...

237d9cb79b05c2754c56c33658b341b12c275f02 authored over 2 years ago by vashek <[email protected]>
REL: 1.27.2

Add Scripts (including `pdfcat`), Resources, Tests, and Sample_Code back to
PyPDF2. It was remov...

f3828b975d1c710360784a3294348358f8187ec5 authored over 2 years ago by Martin Thoma <[email protected]>
DEV: make clean

8b659d80dade7db363b850f27c727df8858ffa4e authored over 2 years ago by Martin Thoma <[email protected]>
DOC: Link in Docs to GitHub

a385f5dde54f8d8496951e53659f655a10bcd5dc authored over 2 years ago by Martin Thoma <[email protected]>
DOC: Consistent description of PyPDF2

eb6c1ed4203758adb1e07291f99ac7456e302709 authored over 2 years ago by Martin Thoma <[email protected]>
Minor: Link to discussion in the docs

7a6d2984e87db27ab94e241f60f0866db88fe09a authored over 2 years ago by Martin Thoma <[email protected]>
BUG/DOC: Add scripts back (#692)

Also add pdfcat documentation:
https://pythonhosted.org/PyPDF2/Easy%20Concatenation%20Script.html

6b013a9db18e70e93db5adbd96528e03525e2b65 authored over 2 years ago by Martin Thoma <[email protected]>
DOC: PyPDF2 history, comparisons, and formatting fixes (#673)

b9a032a48982dea8b773996935ee6699a4936b7c authored over 2 years ago by Martin Thoma <[email protected]>
TST: PdfFileWriter.removeImages (#677)

3ddd85210ca8c06daf10f20300bd239339f59548 authored over 2 years ago by Martin Thoma <[email protected]>
TST: PdfFileWriter (#676)

617c44a8a60b24bd266ce62783aebad2c839b821 authored over 2 years ago by Martin Thoma <[email protected]>
TST: Page class (#675)

9c33d39f74cc95403107c02786d4d6c637fd1b52 authored over 2 years ago by Martin Thoma <[email protected]>
TST: Test PageRange (#674)

Name Stmts Miss Branch BrPart Cover Missing
-----------------------------...

64cf05a9237b474b79b42399eb5d15cba1378f6b authored over 2 years ago by Martin Thoma <[email protected]>
DOC: Update documentation URL

8c2dfe49c50c1af22d44aa52d057d61d3fdf62a1 authored almost 3 years ago by Martin Thoma <[email protected]>
DOC: Add Sphinx documentation (#666)

ff3c0b136f9f10dbb3d482074789902906ac9ec4 authored almost 3 years ago by Martin Thoma <[email protected]>
REL: 1.27.1

becb16c8417d95ecffdb64ebd3827ce63964563a authored almost 3 years ago by Martin Thoma <[email protected]>