Commit Graph

117 Commits (c019e582bfb4daf01cfb908c0d0e0bd6fb75259a)

Author SHA1 Message Date
Vinayak Mehta 1125952661 Update HISTORY.md 2019-01-05 12:14:50 +05:30
Vinayak Mehta 506cec7f6b Add sqlite support 2019-01-05 01:50:27 +05:30
Vinayak Mehta 302a506e1c Update advanced docs 2019-01-04 21:27:51 +05:30
Vinayak Mehta 03f301b25c Add table regions support 2019-01-04 19:17:54 +05:30
Kasper Socha 417db134fc Remove mention of old mesh kwarg 2019-01-03 15:07:44 +01:00
Vinayak Mehta be1f0a2884 Update advanced docs 2018-12-21 16:32:44 +05:30
Vinayak Mehta 50b4468aff Rename kwargs and add tests 2018-12-21 15:09:37 +05:30
Vinayak Mehta e0cb935130 Fix docs 2018-12-19 18:45:17 +05:30
Vinayak Mehta 48b2dce633 Update advanced docs 2018-12-19 18:19:39 +05:30
Vinayak Mehta eb7be9c8e6 Add equivalent CLI examples 2018-12-14 13:39:05 +05:30
Vinayak Mehta 3ef50f6f8d Fix cli.rst 2018-12-14 12:57:32 +05:30
Vinayak Mehta e50f9c8847 Change suppress_warnings to verbose 2018-12-12 09:58:34 +05:30
Vinayak Mehta 656c4e09bc Update docs 2018-12-12 08:18:49 +05:30
Vinayak Mehta 451fac9e53 Add updated stream benchmark 2018-12-11 21:28:42 +05:30
Vinayak Mehta 649fd67c44 Rename file 2018-12-11 21:17:50 +05:30
Vinayak Mehta e45e7478bf Add updated stream benchmark 2018-12-11 21:16:16 +05:30
Vinayak Mehta d6ffe0f1a9 Add pdfplumber benchmark 2018-12-11 20:34:43 +05:30
Vinayak Mehta 7bdd9a3156 Update docs 2018-12-01 06:29:35 +05:30
Vinayak Mehta 23ec6b55f7 Add docstrings and update docs 2018-11-23 21:04:10 +05:30
Vinayak Mehta cd3aa38f7e
Change table to grid (#196) 2018-11-06 19:18:45 +05:30
Palash Chatterjee a60ce38d4d [MRG + 1] Fix the order of coordinates in docs (#191) 2018-11-03 01:06:44 +05:30
Vinayak Mehta db3f8c6897
[MRG] Make matplotlib optional (#190)
* Rename png files

* Convert plot to PlotMethods class and update docs

* Update test

* Update setup.py and docs

* Refactor PlotMethods

* Make matplotlib optional

* Raise ImportError in cli
2018-11-02 23:16:03 +05:30
Suyash Behera c0e9235164 [MRG + 1] Create a new figure and test each plot type #127 (#179)
* [MRG] Create a new figure and test each plot type #127

 - move `plot()` to `plotting.py` as `plot_pdf()`
 - modify plotting functions to return matplotlib figures
 - add `test_plotting.py` and baseline images
 - import `plot_pdf()` in `__init__`
 - update `cli.py` to use `plot_pdf()`
 - update advanced usage docs to reflect changes

* Change matplotlib backend for image comparison tests

* Update plotting and tests
 - use matplotlib rectangle instead of `cv2.rectangle` in
`plot_contour()`
 - set matplotlib backend in `tests/__init__`
 - update contour plot baseline image
 - update `test_plotting` with more checks

* Update plot tests and config
 - remove unnecessary asserts
 - update setup.cfg and makefile with `--mpl`

* Add  to

* Add tolerance

* remove text from baseline plots
update plot tests with `remove_text`

* Change method name, update docs and add pep8

* Update docs
2018-11-02 20:57:02 +05:30
Vinayak Mehta 79db6e3d1b Add gitter badge 2018-10-31 17:33:40 +05:30
Vinayak Mehta 29f22ad1a6 Update conda definition 2018-10-30 23:48:56 +05:30
Vinayak Mehta e8af4c2c1c Update conda install instructions 2018-10-30 23:36:31 +05:30
Vinayak Mehta 220d6ad29c Fix cli doc 2018-10-29 01:03:36 +05:30
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
Parth P Panchal 32df09ad1c Renames the keyword `table_area` to `table_areas` (#171)
`table_areas` sounds more apt since it is a list and there can be
multiple table areas on a page.

Closes #165
2018-10-24 23:06:53 +05:30
Vinayak Mehta 72481bc1b5 Replace table_areas with table_area 2018-10-23 04:00:17 +05:30
Vinayak Mehta c5c85a2dc8 Fix index.rst 2018-10-22 21:58:51 +05:30
Vinayak Mehta 9c6ec49652 Update index.rst 2018-10-22 21:53:38 +05:30
Krishna Sumanth 7a3b76cb76
Update conf.py 2018-10-12 21:39:38 +05:30
Krishna Sumanth 970f906435
Update conf.py 2018-10-12 21:37:53 +05:30
Krishna Sumanth 297888b18c
Update conf.py 2018-10-12 20:22:02 +05:30
Vinayak Mehta 9362175a82
Update advanced.rst 2018-10-12 16:46:09 +05:30
Vinayak Mehta 8d38907832 Update conda installation instructions
Update conda installation instructions again
2018-10-11 13:00:41 +05:30
Vinayak Mehta c33bf9c168 Add docs badge 2018-10-09 21:33:51 +05:30
Vinayak Mehta 750f955f9c Add requirements.txt for rtd 2018-10-09 21:21:50 +05:30
Vinayak Mehta 898646b73b Add conda installation instructions 2018-10-09 20:22:07 +05:30
Vinayak Mehta fe68328ef2
Move opencv-python to extra_requires (#134) 2018-10-08 01:10:48 +05:30
Oshawk 90aaba6eec [MRG + 1] Make pep8 (#125)
* Make setup.py pep8

Add new line at end of file, fix bare except, remove unused import.

* Make tests/*.py pep8

Add some newlines at and of files and a visual indent.

* Make docs/*.py pep8

Fix block comments and add new lines at end of files.

* Make camelot/*.py pep8

Fixed unused import, a few weirdly ordered imports, a docstring typo and  many new lines at the end of lines.

* Fix imports

Fix import order and remove a couple more unused imports.

* Fix indents

Fix indentation (no opening delimiter alignment).

* Add newlines
2018-10-05 16:55:43 +05:30
Vinayak Mehta cf7823f33c
[MRG] Add ghostscript fix for windows (#124)
* Add ghostscript fix for windows

* Add python2 fix

* Update install.rst
2018-10-05 02:06:37 +05:30
Vinayak Mehta 9d00937ec7 Fix GH issues link 2018-10-03 19:36:29 +05:30
Vinayak Mehta 9ff61c70d3 Update README
Update docs
2018-10-03 13:12:32 +05:30
Johnny Metz 2b8ae5fa4d [MRG + 1] Update contributor's guide with new labels (#116)
* Update contributor's guide with new labels

* Update labels in docs
2018-10-03 00:48:13 +05:30
christinegarcia ea79cf2fb7 [MRG + 1] Copyedit all documentation for Camelot (#112)
* Copyedit index.rst

* Copyedit intro.rst

* Copyedit install.rst

* Copyedit how-it-works.rst

* Fix subheading capitalization on install.rst

* Copyedit quickstart.rst

* Copyedit advanced.rst

* Copyedit cli.rst

* Copyedit contributing.rst

* Make more heading & sub-heading capitalization fixes (for consistency)

* Fix README and docs
2018-10-02 23:37:49 +05:30
Vinayak Mehta 09ed772b6a Fix doc typo 2018-09-30 14:09:22 +05:30
Vinayak Mehta fc0542bd3c
Add Python 3 compatibility (#109)
* Add python3 compat

* Update .gitignore

* Update .gitignore again

* Remove debugging return

* Add unicode_literals import

* Bump version

* Add python3-tk note
2018-09-28 21:58:29 +05:30
Vinayak Mehta 82463e10b4 Fix link 2018-09-28 14:58:11 +05:30