camelot-py/camelot
rbares 429640feea [MRG + 1] Add basic support for encrypted PDF files (#180)
* [MRG] Add basic support for encrypted PDF files

Update API and CLI to accept ASCII passwords to decrypt PDFs
encrypted by algorithm code 1 or 2 (limited by support from PyPDF2).
Update documentation and unit tests accordingly.

Example document health_protected.pdf generated as follows:
qpdf --encrypt userpass ownerpass 128 -- health.pdf health_protected.pdf

Issue #162

* Support encrypted PDF files in python3

Issue #162

* Address review comments

Explicitly check passwords for None rather than falsey.
Correct read_pdf documentation for Owner/User password.

Issue #162

* Correct API documentation changes for consistency

Issue #162

* Move error tests from test_common to test_errors

Issue #162

* Add qpdf example

* Remove password is not None check

* Fix merge conflict

* Fix pages example
2018-10-28 22:01:10 +05:30
..
parsers Renames the keyword `table_area` to `table_areas` (#171) 2018-10-24 23:06:53 +05:30
__init__.py [MRG + 1] Add __main__ (#159) 2018-10-23 15:01:20 +05:30
__main__.py [MRG + 1] Add __main__ (#159) 2018-10-23 15:01:20 +05:30
__version__.py Bump version 2018-10-08 03:54:21 +05:30
cli.py [MRG + 1] Add basic support for encrypted PDF files (#180) 2018-10-28 22:01:10 +05:30
core.py [MRG + 1] Add tests for repr (#128) 2018-10-05 20:19:24 +05:30
handlers.py [MRG + 1] Add basic support for encrypted PDF files (#180) 2018-10-28 22:01:10 +05:30
image_processing.py [MRG + 1] Make pep8 (#125) 2018-10-05 16:55:43 +05:30
io.py [MRG + 1] Add basic support for encrypted PDF files (#180) 2018-10-28 22:01:10 +05:30
plotting.py [MRG + 1] Make pep8 (#125) 2018-10-05 16:55:43 +05:30
utils.py [MRG + 1] Make pep8 (#125) 2018-10-05 16:55:43 +05:30