Generate stubs for python modules
Changes: 🐛 Fixed: Missed numpy unsigned int types (#219) by @Yc7521
🐛 Fixed: Don't render pybind11 KeysView, ValuesView, ItemsView class definitions (#211)
🐛 Fixed: Escape backslashes in stub output (#208)
Changes:
Changes:
--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)Changes:
Changes:
py::dtype
translation (#179)Changes:
buffer
(#175), issue (#173)Changes:
Changes:
typing.Annotated
does not exist in python < 3.9, use typing_extensions
(#168)