Generate stubs for python modules
OTHER License
Bot releases are hidden (Show)
Changes:
🐛 Fixed: Missed numpy unsigned int types (#219) by @Yc7521
Published by sizmailov 8 months ago
🐛 Fixed: Don't render pybind11 KeysView, ValuesView, ItemsView class definitions (#211)
🐛 Fixed: Escape backslashes in stub output (#208)
Published by sizmailov 11 months ago
Changes:
Published by sizmailov 11 months ago
Changes:
self
parameter annotation when types do not match (#195) contributed by @ringohoffmanPublished by sizmailov 11 months ago
Changes:
--numpy-array-use-type-var
flag which reformats the pybind11-generated numpy.ndarray[numpy.float32[m, 1]]
numpy.ndarray[tuple[M, Literal[1]], numpy.dtype[numpy.float32]]
contributed by @ringohoffman (#188)Published by sizmailov 11 months ago
Changes:
Published by sizmailov 12 months ago
Changes:
py::dtype
translation (#179)Published by sizmailov 12 months ago
Changes:
buffer
(#175), issue (#173)Published by sizmailov 12 months ago
Changes:
Published by sizmailov 12 months ago
Changes:
typing.Annotated
does not exist in python < 3.9, use typing_extensions
(#168)Published by sizmailov about 1 year ago
Changes:
--enum-class-locations
behaviour (#158)Published by sizmailov about 1 year ago
Changes:
--print-invalid-expressions-as-is
descriptionPublished by sizmailov about 1 year ago
Changes:
...
(#147)--print-safe-value-reprs=REGEX
CLI option to override the print-safe flagpybind11::arg_v()
) (#147)--enum-class-locations=REGEX:LOC
CLI option to rewrite enum values as valid⚠️ This release detects more invalid expressions in bindings code. Previously, Enum-like representations (e.g., <MyEnum.Zero: 0>
) were always treated as non-printable values and were rendered as ...
. The invalid expressions should be acknowledged by --enum-class-locations
or --ignore-invalid-expressions
.
Published by sizmailov about 1 year ago
Changes:
Published by sizmailov about 1 year ago
Changes:
isinstance
check (#138)Published by sizmailov about 1 year ago
Changes:
Published by sizmailov about 1 year ago
Changes:
numpy.ndarray.flags
(#128)scipy.sparse.*
types the same as numpy.ndarray
with --numpy-array-wrap-with-annotated
(#128)--numpy-array-wrap-with-annotated
(#128)--numpy-array-wrap-with-annotated-fixed-size
to --numpy-array-wrap-with-annotated
(#128)Published by sizmailov about 1 year ago
Changes:
numpy.ndarray.flags
(#128)scipy.sparse.*
types the same as numpy.ndarray
with --numpy-array-wrap-with-annotated
(#128)--numpy-array-wrap-with-annotated
(#128)--numpy-array-wrap-with-annotated-fixed-size
to --numpy-array-wrap-with-annotated
(#128)Published by sizmailov about 1 year ago
Changes:
typing
collections with builtin types (e.g. typing.List
-> list
) accordingfunction
-> Callable
, object
/handle
-> typing.Any
(#121)