Jeremy Singer-Vine
416fda35d2
Resolve PR #77 (decimalize + PDFRefObj)
2018-11-08 22:59:39 -05:00
Jeremy Singer-Vine
f8fdd27d3d
Add test for PR 88 and thank @OisinMoran
2018-11-08 22:27:59 -05:00
Jeremy Singer-Vine
8ea688702d
Add test for issue #67 / PR #69
...
Thanks to @yiqiyu for the example PDF!
2018-07-10 22:57:14 -04:00
Jeremy Singer-Vine
b0f094c6f9
Don't decimalize (non_)stroking_color, fixing #53
2018-03-06 08:44:59 -05:00
Jeremy Singer-Vine
c9e45ce067
Fix issue #33 by checking decode_text arg type
2017-05-10 22:52:52 -04:00
Jeremy Singer-Vine
b44f2dc3bc
v0.5.2
...
@ Added
- Access to `curve` points. (E.g., `page.curves[0]["points"]`.)
- Ability for `.draw_line` to draw `curve` points.
@ Changed
- Disaggregated "min_words_vertical" (default: 3) and "min_words_horizontal" (default: 1), removing "text_word_threshold".
- Internally, made `utils.decimalize` a bit more robust; now throws errors on non-decimalizable items.
- Now explicitly ignoring some (obscure) `pdfminer` object attributes.
- Raw input for `.draw_line` from a bounding box to `((x, y), (x, y))`, for consistency with `curve["points"]` and with `Pillow`'s underlying method.
@ Fixed
- Fixed typo bug when `.rect_edges` is called before `.edges`
2017-02-27 00:11:09 -05:00
Jeremy Singer-Vine
ba9d7ab0c8
Add test for issue #13
...
Thanks to @jsfenfen: https://github.com/jsvine/pdfplumber/issues/13
2017-02-25 14:39:47 -05:00
Jeremy Singer-Vine
955b126b80
v0.5.0
...
- Completely overhauls the approach to table extraction.
- Adds visual debugging.
- See CHANGELOG.md for details.
2017-02-25 13:30:50 -05:00
Jeremy Singer-Vine
fcccd8e2d3
Merge branch 'master' into develop
2017-01-26 16:21:55 -05:00
Jeremy Singer-Vine
302b8a72ad
Fix resolution/decoding of list-type metadata
...
Big thanks to @jeffbarrera for flagging:
https://github.com/jsvine/pdfplumber/issues/14
2016-05-24 16:41:03 -04:00
Jeremy Singer-Vine
648354ac62
Switch core page ID from .pageid to .page_number
...
Also: Change "pageid" to "page_id". "pageid" was inherited from
pdfminer, but "page_id" is easier to read.
h/t @jsfenfen
2016-04-23 21:21:42 -04:00
Jeremy Singer-Vine
ee98c6d1e8
Add test for CA WARN report, h/t @dannguyen
2016-04-23 21:06:33 -04:00
Jeremy Singer-Vine
002bcf5f75
Change default x/y tolerances from 0 to 5
...
Five points seems like a sane default, and appears to fit common
use-cases more frequently than zero does.
2016-04-23 21:04:58 -04:00
Jeremy Singer-Vine
34197f7d6d
Rename .from_path->.open (keeping former as alias)
...
Enables idiomatic-ish treatment, e.g.:
with pdfplumber.open(path) as pdf:
[do things]
2016-03-09 07:25:46 -05:00
Jeremy Singer-Vine
e51118ccfa
Ensure that Page subclasses have necessary attrs
2016-03-08 10:15:26 -05:00
Jeremy Singer-Vine
381bc6ba02
Add utils.filter_objects(...) and Page.filter(...)
2016-03-08 09:47:23 -05:00
Jeremy Singer-Vine
5aa8d638ae
Remove empty test
2016-03-06 11:42:15 -05:00
Jeremy Singer-Vine
c0e6979a98
Add test for very basic things
2016-03-06 11:41:48 -05:00
Jeremy Singer-Vine
cd4aee8c49
Modularize find_gutters, and start removing pandas
2016-03-05 15:10:01 -05:00
Jeremy Singer-Vine
88b4cc2c94
Tweak tests to handle changes to .utils
2016-03-05 14:06:51 -05:00
Jeremy Singer-Vine
3a0fdad4c1
Add Los Angeles precinct bulletin test
2016-02-28 18:50:33 -05:00
Jeremy Singer-Vine
74bf8178f9
Add first test
2016-02-20 19:44:05 -05:00