Frh
58823e57e9
More refactoring / linting
2020-04-19 15:41:45 -07:00
Frh
c27a8026d6
More linting, refactor
2020-04-19 14:42:18 -07:00
Frh
50f11867af
Lint, refactor
2020-04-19 14:30:32 -07:00
Frh
cff7a9698b
Further refactor
...
Move common parse error stats computation to base parser
Move copy_spanning_text logic to the table
2020-04-19 13:28:17 -07:00
Frh
583868756a
Prep work for new hybrid parser introduction
...
Refactor parsers by moving common code to the base class
Maintain Python 3.5 compatibility by removing f"{}"
2020-04-19 11:32:22 -07:00
Frh
697289e409
Refactor base classes and improve plotting
...
Move common code to base class to reduce duplication
Stream plots display pdf background for better context
2020-04-18 23:03:27 -07:00
Frh
816471e426
Fix unit tests, lint, drop Python 2 support
...
Drop EOL Python 2 support. Resolve unit test discrepancies.
Update unit tests to pass in Travis across all supported Py.
Linting.
2020-04-18 17:25:47 -07:00
Vinayak Mehta
2115a0e177
Blacken code
2019-07-03 23:47:42 +05:30
Vinayak Mehta
215e5ea2a5
Move ghostscript import
2019-01-06 01:50:54 +05:30
Vinayak Mehta
ab5391c76f
Merge branch 'master' of github.com:socialcopsdev/camelot into replace-gs-c-api
2019-01-05 11:22:38 +05:30
Vinayak Mehta
eaca147b9d
Apply mask at threshold level
2019-01-04 20:15:41 +05:30
Vinayak Mehta
03f301b25c
Add table regions support
2019-01-04 19:17:54 +05:30
Vinayak Mehta
605ffdd444
Add test
2019-01-03 16:13:41 +05:30
Vinayak Mehta
f605bd8f94
Fix #239
2019-01-03 14:55:47 +05:30
Vinayak Mehta
27fa226c71
Fix merge conflict
2018-12-22 11:07:24 +05:30
Vinayak Mehta
50b4468aff
Rename kwargs and add tests
2018-12-21 15:09:37 +05:30
Vinayak Mehta
f6aa21c31f
Add strip_text
2018-12-20 16:32:16 +05:30
Vinayak Mehta
3f5af18738
Add resolution
2018-12-20 15:01:29 +05:30
Vinayak Mehta
48b2dce633
Update advanced docs
2018-12-19 18:19:39 +05:30
Vinayak Mehta
736fb25b56
Change gs resolution
2018-12-18 20:47:09 +05:30
Vinayak Mehta
4938c48853
Remove _errors and ghostscript test
2018-12-18 07:43:52 +05:30
Vinayak Mehta
9879a87c6f
Add ghostscript
2018-12-17 19:09:57 +05:30
Vinayak Mehta
9aa219695f
Fix merge conflict
2018-12-17 15:33:38 +05:30
Vinayak Mehta
ca6cefa362
Add extra_kwargs
2018-12-17 11:49:05 +05:30
Vinayak Mehta
69136431b6
Fix #215
2018-12-13 14:36:50 +05:30
Vinayak Mehta
5e71f0b0e6
Fix #192
2018-12-13 12:50:30 +05:30
Vinayak Mehta
33cea45346
Fix #105
2018-12-13 00:45:22 +05:30
Vinayak Mehta
591cfd5291
Change kwarg name
2018-12-12 10:15:04 +05:30
Vinayak Mehta
e50f9c8847
Change suppress_warnings to verbose
2018-12-12 09:58:34 +05:30
Vinayak Mehta
87a2f4fdc9
Add textedge plot type
2018-12-12 07:36:07 +05:30
Vinayak Mehta
defaead679
Add table bbox attribute ( #193 )
2018-11-04 01:33:41 +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
a78ef7f841
[MRG] Use find_executable for gs and raise error if not found ( #166 )
...
* Use find_executable for gs and raise error if not found
* Remove unused variable
* Add test
* Use pytest monkeypatch
2018-10-23 21:12:43 +05:30
Vinayak Mehta
2527512f63
Replace gs subprocess call (Wand experiment)
...
Replace gs subprocess call
Update requirements.txt
2018-10-07 13:39:44 +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
c5bde5e2ad
[MRG] Add error/warning tests ( #113 )
...
* Add unknown flavor test
* Add input kwargs test
* Remove unused utils
* Add unsupported format test
* Add stream unequal tables-columns length test
* Add python3 compat
* Add no tables found test
* Convert util info log to warning
2018-10-02 19:28:42 +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
be2733ebd2
Add utf8 header
2018-09-24 16:27:26 +05:30
Vinayak Mehta
a70befe528
Update docs
2018-09-23 14:04:21 +05:30
Vinayak Mehta
959a252aa3
Fix CLI
2018-09-23 12:45:01 +05:30
Vinayak Mehta
7aaa7b2460
Deprecate debug and add plot docstrings
2018-09-23 11:56:40 +05:30
Vinayak Mehta
3170a9689f
Add flavors
2018-09-23 10:53:32 +05:30
Vinayak Mehta
17ea5f335e
Fix docstrings and interlinks
2018-09-11 08:31:37 +05:30
Vinayak Mehta
9878de4dfc
Add docstrings and update docs
2018-09-09 10:00:22 +05:30
Vinayak Mehta
7c3e531b07
Port tests
2018-09-09 05:29:24 +05:30
Vinayak Mehta
04383920b4
Rename parser keyword arguments
2018-09-08 05:38:43 +05:30
Vinayak Mehta
e615580e55
Fix plot_geometry
2018-09-07 06:25:13 +05:30
Vinayak Mehta
b3f840bba9
Change utils function names
2018-09-07 06:04:45 +05:30
Vinayak Mehta
20acda2259
Fix current logging
2018-09-07 05:53:19 +05:30