Jeremy Singer-Vine
cf67246825
Bump version to v0.11.2
v0.11.2
2024-07-06 17:53:08 -04:00
Jeremy Singer-Vine
1524f3efbe
Update CHANGELOG.md
2024-07-06 17:52:20 -04:00
Jeremy Singer-Vine
5c51b4bd29
Upgrade setuptools
2024-07-06 17:42:15 -04:00
Jeremy Singer-Vine
6ce91ba394
Add py=1.11.0 to dev requirements
2024-07-06 17:28:55 -04:00
Jeremy Singer-Vine
915c168c40
Tweak type hints for updated stubs
2024-07-06 17:16:41 -04:00
Jeremy Singer-Vine
caaf825d73
Update various dev requirements
2024-07-06 17:16:25 -04:00
Jeremy Singer-Vine
944eaedf2d
Remove testing for Python 3.8, add for 3.12
2024-07-06 16:18:51 -04:00
Jeremy Singer-Vine
923707a816
Merge pull request #1161 from QuentinAndre11/develop
...
Add `extra_attrs` paramater to `.dedupe_chars(...)`
2024-07-06 16:16:24 -04:00
Jeremy Singer-Vine
2bdbb5b793
Upgrade pandas to avoid failing tests on numpy>=2
2024-07-06 16:02:13 -04:00
Jeremy Singer-Vine
ecbb643bde
Tweak CHANGELOG.md
2024-07-06 16:01:54 -04:00
Jeremy Singer-Vine
acc9082138
Tweak dedupe_chars documentation slightly
2024-07-06 16:01:42 -04:00
QAN
1f57556201
use extra_attrs
2024-07-02 15:01:57 +02:00
QAN
76752c4a31
add ignore_char_properties arg in dedup_chars
2024-06-27 11:40:35 +02:00
Jeremy Singer-Vine
6c9ecb232c
Add 'build' to Makefile phonies
2024-06-11 16:33:52 -04:00
Jeremy Singer-Vine
5a0a8fde52
Bump version to v0.11.1
v0.11.1
2024-06-11 16:32:52 -04:00
Jeremy Singer-Vine
e43f6f900c
Update CHANGELOG.md
2024-06-11 16:32:27 -04:00
Jeremy Singer-Vine
469f15f7ff
Add README thanks to @aronweiler
2024-06-11 16:25:51 -04:00
Jeremy Singer-Vine
0a26f059e0
Add .get_textmap.cache_clear() to page.close()
...
h/t @aronweiler in #193
https://github.com/jsvine/pdfplumber/issues/193#issuecomment-2099747545
2024-06-11 16:21:54 -04:00
Jeremy Singer-Vine
4daf0aa1b9
Handle PDFDocEncoding failures in decode_text
...
Fixes issue #1147
2024-06-11 16:21:45 -04:00
Jeremy Singer-Vine
aaa35c9c6b
Fix coordinates of annots on rotated pages
...
PDFs represent annotation coordinates independently from page rotation,
so annot coordinates have to be adjusted.
2024-06-11 14:52:03 -04:00
Jeremy Singer-Vine
70534a7cc1
Fix repair=True proc args (stderr being captured)
2024-06-07 11:38:07 -04:00
Jeremy Singer-Vine
2e9819c96a
Update form-parsing code in README, per #1120
...
h/t @jeremybmerrill
2024-04-19 11:30:38 -04:00
Jeremy Singer-Vine
147f2c4c07
Merge branch 'develop' of github.com:jsvine/pdfplumber into develop
2024-03-07 07:52:19 -05:00
Jeremy Singer-Vine
53306dc8f4
Bump to v0.11.0
v0.11.0
2024-03-07 07:42:37 -05:00
Jeremy Singer-Vine
a983ec4422
Update CHANGELOG.md
2024-03-07 07:42:07 -05:00
Jeremy Singer-Vine
850fd45b02
Add {line,char}_dir{,rotated,render} params
...
... and in the process, deeply rewrite the text extraction code to be
more flexible with regards to reading/writing non top-to-bottom,
left-to-right text.
Major kudos and thanks to @afriedman412 for the initial idea, initial
prototype, and inspiration for these new features.
Breaking change: word["direction"] is no longer {1,-1} but instead
{"ltr","rtl","ttb","btt"}.
Deprecated: Text-extraction parameters `horizontal_ltr` and
`vertical_ttb`.
2024-03-06 20:53:03 -05:00
Jeremy Singer-Vine
1820247309
Add curve["path"] and curve["dash"]
...
... now that they're available in the latest pdfminer.six
2024-03-03 14:10:47 -05:00
Jeremy Singer-Vine
cd2f768330
Upgrade pdfminer.six from 20221105 to 20231228
2024-03-03 08:34:04 -05:00
David Huggins-Daines
207312eae7
Some utility methods for logical structure ( #1095 )
2024-03-02 19:44:40 -05:00
Jeremy Singer-Vine
efca277079
Fix layout-caching issue ( #1097 ) caused by 0bfffc2
...
Layout wasn't actually getting cached, now it is.
2024-03-02 19:18:32 -05:00
Jeremy Singer-Vine
8912931bf1
Merge pull request #1094 from dhdaines/structure_fixes
...
Handle missing ParentTree
2024-02-16 12:03:37 -05:00
David Huggins-Daines
3e74fb134f
fix: handle missing ParentTree
2024-02-14 08:52:56 -05:00
Jeremy Singer-Vine
1ad3905612
Merge branch 'stable' of github.com:jsvine/pdfplumber into stable
2024-02-10 18:36:41 -05:00
Jeremy Singer-Vine
3bb642bfa2
Bump version to v0.10.4
v0.10.4
2024-02-10 18:35:21 -05:00
Jeremy Singer-Vine
b1114e53fd
Update CHANGELOG.md
2024-02-10 18:34:44 -05:00
Jeremy Singer-Vine
4f39d0364d
Check self.cur_item._objs length before [-1]
...
In theory shouldn't happen, but came across a malformed PDF that threw
an error here; simple enough check that seemed worth adding.
2024-02-10 18:31:17 -05:00
Jeremy Singer-Vine
f73fbe1c6c
Add "Visually debugging the table-finder" note
2024-02-10 17:04:27 -05:00
Jeremy Singer-Vine
38150149e0
Remove "Troubleshooting ImageMagick", outdated
...
ImageMagick no longer used, phased out in favor of pypdfium2's image
rendering.
2024-02-10 17:00:28 -05:00
Jeremy Singer-Vine
94d9483410
Update CHANGELOG.md
2024-02-10 16:59:05 -05:00
Jeremy Singer-Vine
222595909b
Merge pull request #1082 from jsvine/dependabot/pip/jupyterlab-3.6.7
...
Bump jupyterlab from 3.4.2 to 3.6.7
2024-02-10 16:53:58 -05:00
Jeremy Singer-Vine
7b9101a30e
Merge pull request #1090 from dhdaines/issue-1089
...
Explicitly close `pypdfium2.PdfDocument` in `get_page_image`
2024-02-10 16:52:46 -05:00
David Huggins-Daines
7322077e0f
fix: placate flake8
2024-02-05 08:53:03 -05:00
David Huggins-Daines
f3d20fcf35
fix: prevent pypdfium2 file leak ( fixes : #1089 )
2024-02-05 08:52:51 -05:00
dependabot[bot]
00b867a5be
Bump jupyterlab from 3.4.2 to 3.6.7
...
Bumps [jupyterlab](https://github.com/jupyterlab/jupyterlab ) from 3.4.2 to 3.6.7.
- [Release notes](https://github.com/jupyterlab/jupyterlab/releases )
- [Changelog](https://github.com/jupyterlab/jupyterlab/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jupyterlab/jupyterlab/compare/@jupyterlab/vdom@3.4.2...@jupyterlab/vdom@3.6.7 )
---
updated-dependencies:
- dependency-name: jupyterlab
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-19 21:11:21 +00:00
Jeremy Singer-Vine
07d9997ee5
Standardize handling of cropbox
...
... fixing various issues with PageImage. Also adds
force_mediabox parameter to Page.to_image(...).
Thanks to @stefanw for flagging:
https://github.com/jsvine/pdfplumber/issues/1054
2024-01-05 10:14:44 -05:00
Jeremy Singer-Vine
f4f4473a17
Change pixels->points in docs
2023-11-10 09:11:51 -05:00
Jeremy Singer-Vine
584421bd8a
Fix Markdown rendering issue in docs
2023-11-10 09:09:33 -05:00
Jeremy Singer-Vine
401b82cf74
Fix docs re. keep_blank_chars in table extraction
...
(It is `text_keep_blank_chars`.)
h/t @Pk13055 via:
https://github.com/jsvine/pdfplumber/pull/1003#issuecomment-1805664102
2023-11-10 09:05:36 -05:00
Jeremy Singer-Vine
c134e73028
Add @afriedman412 to contributors
2023-11-09 15:24:10 -05:00
Jeremy Singer-Vine
506d007f9c
Update CHANGELOG.md
2023-11-09 15:23:13 -05:00