Jeremy Singer-Vine
4b61c38d3c
Upgrade pdfminer.six from 20200517 to 20211012
...
See pdfminer.six's changelog for details:
https://github.com/pdfminer/pdfminer.six/blob/develop/CHANGELOG.md
... but a key difference is an improvement in how it assigns `line`,
`rect`, and `curve` objects. (Diagonal two-point lines, for instance,
are now `line` objects instead of `curve` objects.)
As a result, this commit also adjusts some of the tests, where the
pre-20211012 versions had been incorrectly assigning lines as `LTCurve`
objects.
2021-10-15 08:53:39 -04:00
Jeremy Singer-Vine
f8d5e70a50
Fix slowdown in extract_words on long words ( #483 )
...
This commit fixes the slowdown in `.extract_words(...)` and
`WordExtractor.iter_chars_to_words(...)` which occurred for very long
"words", and which was caused by repeatedly re-calculating bounding box.
See #483 for discussion and example.
It also adds `utils.merge_bboxes(bboxes)`, which returns the smallest
bounding box that contains all bounding boxes in the `bboxes` argument,
and which we use in the fix.
2021-09-01 22:20:03 -04:00
Jeremy Singer-Vine
901985407b
Tweak #467 code slightly, update CHANGELOG/thanks
...
h/t @bobluda + @samkit-jain
2021-07-15 10:01:17 -04:00
Jeremy Singer-Vine
e98180ed1b
Add first draft of CONTRIBUTING.md ( #387 )
2021-05-09 17:55:53 -04:00
Jeremy Singer-Vine
1328a00e13
Bump to v0.5.28
2021-05-08 17:45:47 -04:00
Jeremy Singer-Vine
7bd9d2624e
Update CHANGELOG and add @trifling to contribs
2021-05-08 17:44:14 -04:00
Jeremy Singer-Vine
94442d118d
Update CHANGELOG.md
2021-04-08 09:54:19 -04:00
Jeremy Singer-Vine
62f447e984
Update CHANGELOG.md
2021-03-19 19:23:12 -04:00
Jeremy Singer-Vine
694f9193cc
Update CHANGELOG.md and thank @alexreg
2021-03-19 19:08:32 -04:00
Jeremy Singer-Vine
3b6fee409b
Bump to v0.5.27
2021-02-28 14:34:17 -05:00
Jeremy Singer-Vine
5bf32987b8
Update CHANGELOG and fix double-space in README
2021-02-28 14:15:45 -05:00
Jeremy Singer-Vine
7e2dc7cf75
Re-add textboxhorizontal/etc. when laparams ( #359 )
...
This commit reinstates access to higher-level layout objects (such as
`textboxhorizontal`) when `laparams` is passed to
`pdfplumber.open(...)`. Had been removed in `0.5.24` via 1f87898 .
Also adds a test for this behavior.
2021-02-26 18:53:11 -05:00
Jeremy Singer-Vine
ac46e52e07
Fix regression in closing files opened by PDF.open
2021-02-13 15:26:30 -05:00
Jeremy Singer-Vine
002727803c
Fix release date in CHANGELOG.md
2021-02-10 22:40:06 -05:00
Jeremy Singer-Vine
2e4cf105f7
Update CHANGELOG.md
2021-02-10 21:25:51 -05:00
Jeremy Singer-Vine
333dac4469
Add PR 340 to CHANGELOG
2021-02-10 10:01:50 -05:00
Jeremy Singer-Vine
b1849f4193
Move __enter__/__exit__/.close to Container class
...
So that they apply not only to the PDF class, but to the Page class as
well. Enables things such as:
```
for page in pdf.pages:
do_something()
page.close()
```
... and:
```
for page in pdf.pages:
with page:
do_something()
```
2021-02-10 09:48:44 -05:00
Samkit Jain
a17c5a72b6
Sort tables extracted on a page by their top position
...
Fixes #336
h/t @gqh1995 for reporting
2021-01-21 20:05:29 +05:30
Jeremy Singer-Vine
f4b046c7c0
Update CHANGELOG.md
2020-12-09 09:18:27 -05:00
Samkit Jain
e849cbb784
Update changelog
2020-12-08 23:40:32 +05:30
Jeremy Singer-Vine
d3b84da33c
Update CHANGELOG.md with latest fixes
2020-11-12 23:04:54 -05:00
Samkit Jain
cb324789fe
Fix metadata extraction to correctly handle integer/floating-point values
...
Fixes #297
2020-10-30 12:47:06 +05:30
Jeremy Singer-Vine
954dc94563
Bump to v0.5.24 and update CHANGELOG.md
2020-10-20 09:44:01 -04:00
Jeremy Singer-Vine
04fd56ac40
Add utils/page.dedupe_chars(...) ( #71 + #280 )
...
h/t @xv44586 for the initial inspiration 👍
These new methods return a version of the chars/page with duplicate
chars — those sharing the same text, fontname, size, and positioning
(within `tolerance` x/y) as other characters — removed.
2020-10-03 12:06:48 -04:00
Samkit Jain
cb924346bb
[changelog] Fix commit hash hyperlinks
...
Added hyperlinks for issues and pull request references as well
2020-08-31 14:44:54 +05:30
Jeremy Singer-Vine
5d51940bbb
[changelog] Hyperlink & standardize commit hashes
...
h/t @samkit-jain for the suggestion
2020-08-30 13:29:33 -04:00
Jeremy Singer-Vine
0eaaf91ebd
Update CHANGELOG.md
2020-08-29 16:21:28 -04:00
Jeremy Singer-Vine
fb45890bc5
Update changelog
2020-08-15 12:55:12 -04:00
Jeremy Singer-Vine
ddafd627f4
Update changelog
2020-08-13 22:29:30 -04:00
Jeremy Singer-Vine
fb0c607985
Update changelog
2020-08-13 08:42:40 -04:00
Jeremy Singer-Vine
5271244d76
Update changelog
2020-08-05 23:11:03 -04:00
Jeremy Singer-Vine
249754eb91
Update changelog
2020-07-29 23:00:56 -04:00
Jeremy Singer-Vine
c2fa431d64
Add branch note to changelog and fix subhed
2020-07-27 09:58:39 -04:00
Jeremy Singer-Vine
525352713b
Update changelog for currently-unreleased version
2020-07-26 15:33:23 -04:00
Jeremy Singer-Vine
9eb5c4b825
Bump to v0.5.22
2020-07-18 12:52:51 -04:00
Jeremy Singer-Vine
7c84090f59
Bump to v0.5.21
2020-05-27 22:25:12 -04:00
Jeremy Singer-Vine
81104301cb
Bump to v0.5.20
2020-04-29 09:31:07 -04:00
Jeremy Singer-Vine
ab957deda7
Fix .get_page_image to prefer paths over streams
...
See discussion in https://github.com/jsvine/pdfplumber/issues/124
for details. h/t @ubmarco
2020-04-28 11:48:45 -04:00
Jeremy Singer-Vine
9c4329d116
Bump to v0.5.19
2020-04-16 14:37:41 -04:00
Jeremy Singer-Vine
dead89c86d
Bump to v0.5.18
2020-04-01 23:36:21 -04:00
Jeremy Singer-Vine
8f12776f99
Update CHANGELOG.md for v0.5.17
2020-04-01 09:28:59 -04:00
Jeremy Singer-Vine
76bd81815b
Bump to v0.5.16 and update CHANGELOG
2020-01-12 23:09:07 -05:00
Jeremy Singer-Vine
6c2e474490
Update pdfminer.six/pillow reqs & bump to v0.5.15
2020-01-05 21:33:49 -05:00
Jeremy Singer-Vine
e8159355ba
Bump to version 0.5.14
2019-10-06 18:07:52 -04:00
Jeremy Singer-Vine
4d015fe4f0
Bump to v0.5.12
2019-04-14 23:22:33 -04:00
Jeremy Singer-Vine
b2fbb9dd24
Bump to v0.5.11
2018-11-13 23:14:53 -05:00
Jeremy Singer-Vine
eb8aef5eb1
Bump to v0.5.10 and update changelog
2018-08-03 09:54:58 -04:00
Jeremy Singer-Vine
9905bb6221
Bump version to v0.5.8
2018-03-06 08:58:29 -05:00
Jeremy Singer-Vine
03706f4565
Fix issue #30 by pinning pdfminer.six version
2017-04-27 09:40:46 -04:00
Jeremy Singer-Vine
5da9d47374
Tiny edit to CHANGELOG
2017-02-27 22:41:02 -05:00