diff --git a/CHANGELOG.md b/CHANGELOG.md index 836c890..80f7022 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/MANIFEST.in b/MANIFEST.in index 6006776..1f404d1 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,3 @@ include LICENSE.txt include README.md +include pdfplumber/py.typed diff --git a/pdfplumber/py.typed b/pdfplumber/py.typed new file mode 100644 index 0000000..e69de29