Commit Graph

16 Commits

Author SHA1 Message Date
Han cf17ad1c42 Update README.md and example re. pts/points (#856)
Update ag-energy-roundup-curves.ipynb

Update the key name 'point' to 'pts' in the example to the latest version

* 💄

* Update ag-energy-roundup-curves.ipynb

💄
2023-04-07 19:27:47 -04:00
Jeremy Singer-Vine f6741d3097 Rerun examples with v0.7.6 2022-11-22 12:48:19 -05:00
Jeremy Singer-Vine 5aca57c313 Rerun examples with v0.7.5 2022-10-01 09:42:45 -04:00
Jeremy Singer-Vine f9c1f6172b Rerun examples using latest version 2022-07-18 10:48:11 -04:00
Jeremy Singer-Vine 64afaf9559 Rerun examples using latest version 2022-07-17 22:52:29 -04:00
Jeremy Singer-Vine ef065a72e5 Add Makefile target and reqs for examples 2022-05-31 15:50:50 -04:00
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