Pybind11 Stubgen Versions Save

Generate stubs for python modules

v2.5.1

1 month ago

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

v.2.5

2 months ago
🐛 Fixed: Don't render pybind11 KeysView, ValuesView, ItemsView class definitions (#211)
🐛 Fixed: Escape backslashes in stub output (#208)

v2.4.2

5 months ago

Changes:

  • 🔁 Revert #196 due to poor review

v.2.4.1

5 months ago

Version 2.4.1 (Nov 25, 2023)

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

v2.4

5 months ago

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)

v2.3.7

5 months ago

Changes:

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

v2.3.6

6 months ago

Changes:

  • 🐛 fix: Missing py::dtype translation (#179)

v2.3.5

6 months ago

Changes:

  • 🐛 fix: Wrong import for lowercase buffer (#175), issue (#173)

v.2.3.4

6 months ago

Changes:

  • 🐛 fix: Misleading warning that referred to ignored errors (#171)

v2.3.3

6 months ago

Changes:

  • 🐛 fix: The typing.Annotated does not exist in python < 3.9, use typing_extensions (#168)