Skip to content

Commit

Permalink
Add py.typed marker for PEP 561 compatibility (#657)
Browse files Browse the repository at this point in the history
Via PR by @jhonatan-lopes.
  • Loading branch information
jhonatan-lopes authored May 24, 2022
1 parent b39fc46 commit ca795d1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file. The format
- Add `pdfplumber.ctm` submodule with class `CTM`, to calculate scale, skew, and translation of a current transformation matrix obtained from a `char`'s `"matrix"` property.
- Add `page.search(...)`, an *experimental feature* that allows you to search a page's text via regular expressions and non-regex strings, returning the text, any regex matches, the bounding box coordinates, and the char objects themselves. ([#201](https://github.com/jsvine/pdfplumber/issues/201))
- Add `--include-attrs`/`--exclude-attrs` to CLI (and corresponding params to `.to_json(...)`, `.to_csv(...)`, and `Serializer`.
- Add `py.typed` for PEP561 compatibility and detection of typing hints by mypy.

### Removed

Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
include LICENSE.txt
include README.md
include pdfplumber/py.typed
Empty file added pdfplumber/py.typed
Empty file.

0 comments on commit ca795d1

Please sign in to comment.