Commit Graph

10 Commits

Author SHA1 Message Date
Jeremy Singer-Vine b904dd6a7c Tweak/rerun example notebooks, to match 0.6.0
Just a few small changes required, after five years of not being
updated. Each notebook also now prints the pdfplumber version it uses.
2021-12-24 13:29:47 -05:00
Jeremy Singer-Vine 0108777028 Add San Jose PD firearm search report example 2017-02-27 22:40:04 -05: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 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 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 e8fd841c6b Change get_text -> extract_text, for symmetry 2016-03-06 20:24:02 -05:00
Jeremy Singer-Vine 1b861b9f1c Rename collate_chars -> get_text
collate_chars still available, to avoid breaking scripts that use it.
2016-03-06 19:07:38 -05:00
Jeremy Singer-Vine f47fee85be Update NICS example to use extract_table
... instead of `utils` methods.
2016-03-06 18:30:41 -05:00
Jeremy Singer-Vine 8a9191bcae Add utils section to README and example notebook 2016-02-20 19:42:37 -05:00
Jeremy Singer-Vine 52529d4ee7 Add CLI, add pandas req, change object type names 2015-12-17 22:15:26 -05:00