Pybind11-stubgen

Latest version: v2.5.1

Safety actively analyzes 622315 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

2.5.1

Changes:
🐛 Fixed: Missed numpy unsigned int types (219) by Yc7521


v.2.5
🐛 Fixed: Don't render pybind11 KeysView, ValuesView, ItemsView class definitions (211)
🐛 Fixed: Escape backslashes in stub output (208)

2.4.2

Changes:
- 🔁 Revert 196 due to poor review

v.2.4.1

2.4.1

--------------------------
Changes:
- ✨ Automatically replace invalid enum expressions with corresponding valid expression & import (196) contributed by ringohoffman
- 🐛 Fixed: do not remove `self` parameter annotation when types do not match (195) contributed by ringohoffman

2.4

Changes:
- ✨ Added `--numpy-array-use-type-var` flag which reformats the pybind11-generated `numpy.ndarray[numpy.float32[m, 1]]`
annotation as `numpy.ndarray[tuple[M, Literal[1]], numpy.dtype[numpy.float32]]` contributed by ringohoffman (188)

2.3.7

Changes:
- 🐛 fix: Handle top-level list-like annotations as types (183)

2.3.6

Changes:
- 🐛 fix: Missing `py::dtype` translation (179)

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.