Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ functions
Functions
3,362 in github.com/pybind/pybind11
⨍
Functions
3,362
◇
Types & classes
1,305
↳
Endpoints
11
Method
current
Get a non-owning wrapper of the currently active interpreter (if any)
include/pybind11/subinterpreter.h:200
Method
custom_deleter
tests/test_class_sh_basic.cpp:33
Method
custom_deleter
include/pybind11/detail/struct_smart_holder.h:133
Method
custom_deleter_nd
tests/test_class_sh_basic.cpp:61
Function
custom_transform_double
tests/test_callbacks.cpp:20
Function
custom_transform_int
tests/test_callbacks.cpp:21
Method
custom_type_setup
include/pybind11/attr.h:112
Method
custom_unique_ptr
tests/test_smart_ptr.cpp:38
Method
cxx_std
The CXX standard level. If set, will add the required flags. If left at 0, it will trigger an automatic search when pybind11's build_
pybind11/setup_helpers.py:161
Function
data
tests/test_numpy_array.cpp:83
Method
data
include/pybind11/numpy.h:701
Method
data
include/pybind11/numpy.h:1895
Method
data
include/pybind11/numpy.h:1934
Method
data
include/pybind11/detail/argument_vector.h:410
Function
data_t
tests/test_numpy_array.cpp:88
Method
dealloc_impl
Deallocates an instance; via holder, if constructed; otherwise via operator delete. NOTE: The Python error indicator needs to cleared BEFORE this func
include/pybind11/pybind11.h:2840
Method
dealloc_release_gil_before_calling_cpp_dtor
include/pybind11/pybind11.h:2856
Method
dealloc_without_manipulating_gil
include/pybind11/pybind11.h:2851
Method
decode_utfN
include/pybind11/cast.h:574
Method
decrement
include/pybind11/pytypes.h:1325
Method
decrement
include/pybind11/pytypes.h:1347
Method
def_property_static_impl
rec_func must be set for either fget or fset.
include/pybind11/pybind11.h:1881
Function
def_submodule
\rst Create and return a new Python submodule with the given name and docstring. This also works recursively, i.e. .. code-bl
include/pybind11/pybind11.h:1629
Function
delattr_and_ensure_destroyed
For each of the given *specs* (a tuple of the form ``(scope, name)``), perform ``delattr(scope, name)``, then do enough GC collections that the
tests/conftest.py:228
Method
dereference
NOLINTNEXTLINE(readability-const-return-type) // PR #3263
include/pybind11/pytypes.h:1323
Method
dereference
include/pybind11/pytypes.h:1345
Method
dereference
NOLINTNEXTLINE(readability-const-return-type) // PR #3263
include/pybind11/pytypes.h:1369
Method
descr
include/pybind11/detail/descr.h:28
Method
destruct
When a cpp_function is GCed, release any memory allocated by pybind11
include/pybind11/pybind11.h:894
Function
diamond_addrs
tests/test_class_sh_mi_thunks.cpp:92
Method
dict
include/pybind11/pytypes.h:2202
Function
dict_getitemstringref
PyDict_GetItemStringRef was added in Python 3.13.0a1. See also: https://github.com/python/pythoncapi-compat/blob/main/pythoncapi_compat.h
include/pybind11/pytypes.h:1001
Method
dict_readonly
include/pybind11/pytypes.h:1365
Function
dict_setdefaultstringref
PyDict_SetDefaultRef was added in Python 3.13.0a4. See also: https://github.com/python/pythoncapi-compat/blob/main/pythoncapi_compat.h
include/pybind11/pytypes.h:1034
Method
direct_converter
include/pybind11/numpy.h:1782
Method
disarm
This method will disable the PyThreadState_DeleteCurrent call and the GIL won't be released. This method should be used if the interpreter could be sh
include/pybind11/gil.h:141
Method
disarm
This method will disable the PyThreadState_DeleteCurrent call and the GIL won't be acquired. This method should be used if the interpreter could be sh
include/pybind11/gil.h:180
Method
disarm_finalize_check
include/pybind11/detail/native_enum_data.h:71
Function
discard_as_unraisable
If it is impossible to raise the currently-held error, such as in a destructor, we can write it out using Python's unraisable hook (`sys.unraisablehoo
include/pybind11/pytypes.h:778
Function
disown_b
tests/test_class_sh_disowning_mi.cpp:28
Function
disown_base1
tests/test_class_sh_disowning_mi.cpp:43
Function
disown_base2
tests/test_class_sh_disowning_mi.cpp:44
Method
dispatch
(self)
tests/test_virtual_functions.py:253
Function
dispatch_array_increment
tests/test_numpy_dtypes.cpp:304
Method
dispatcher
Main dispatch logic for calls to functions bound using pybind11
include/pybind11/pybind11.h:940
Method
distance_to
include/pybind11/pytypes.h:1350
Method
doc
include/pybind11/attr.h:48
Function
docs
Build the docs. Pass --non-interactive to avoid serving.
noxfile.py:65
Method
double
(self, val)
tests/test_callbacks.py:41
Method
dtype
Array descriptor (dtype)
include/pybind11/numpy.h:1126
Method
dtype
include/pybind11/numpy.h:1613
Method
dtype
include/pybind11/numpy.h:1626
Method
dtype
include/pybind11/numpy.h:1654
Method
dtype
include/pybind11/numpy.h:1669
Method
dtype
include/pybind11/numpy.h:1762
Method
dtype_ptr
include/pybind11/numpy.h:1777
Function
dummy_function
tests/test_callbacks.cpp:43
Function
dynamic_raw_ptr_cast_if_possible
include/pybind11/detail/dynamic_raw_ptr_cast_if_possible.h:27
Function
eigen_array_cast
include/pybind11/eigen/matrix.h:249
Function
eigen_encapsulate
include/pybind11/eigen/matrix.h:285
Function
eigen_ref_array
include/pybind11/eigen/matrix.h:274
Method
ellipsis
include/pybind11/pytypes.h:1884
Method
embedded_module
include/pybind11/embed.h:73
Method
empty
An empty wrapper cannot be activated
include/pybind11/subinterpreter.h:224
Method
empty
include/pybind11/pytypes.h:2181
Method
empty
include/pybind11/pytypes.h:2249
Method
empty
include/pybind11/pytypes.h:2271
Method
empty
include/pybind11/pytypes.h:2326
Method
end
tests/test_sequences_and_iterators.cpp:347
Method
end
.end() only required for py::make_iterator(self) overload
tests/test_sequences_and_iterators.cpp:381
Method
end
include/pybind11/pytypes.h:2188
Method
end
include/pybind11/pytypes.h:2217
Method
end
include/pybind11/pytypes.h:2256
Method
end
include/pybind11/pytypes.h:2278
Method
ensure_compatible_uqp_del
include/pybind11/detail/struct_smart_holder.h:214
Function
ensure_internals
include/pybind11/detail/internals.h:914
Method
ensure_pointee_is_destructible
include/pybind11/detail/struct_smart_holder.h:179
Method
ensure_vptr_is_using_std_default_delete
include/pybind11/detail/struct_smart_holder.h:198
Method
enter
include/pybind11/iostream.h:249
Method
enum_
include/pybind11/pybind11.h:3183
Function
enum_base
include/pybind11/pybind11.h:2942
Method
equal
include/pybind11/pytypes.h:1327
Method
equal
include/pybind11/pytypes.h:1349
Method
error_fetch_and_normalize
This comment only applies to Python <= 3.11: Immediate normalization is long-established behavior (starting with https://github.com/pybind/pybind11/co
include/pybind11/pytypes.h:531
Method
error_scope
include/pybind11/detail/common.h:1216
Function
event_loop
()
tests/test_async.py:15
Function
exception
include/pybind11/pybind11.h:3591
Function
execute
include/pybind11/detail/init.h:434
Method
execute
include/pybind11/detail/init.h:296
Method
execute
include/pybind11/detail/init.h:350
Function
expected_num_args
include/pybind11/attr.h:722
Function
export_values
include/pybind11/pybind11.h:3114
Method
extract_deleter
include/pybind11/detail/struct_smart_holder.h:264
Method
f
tests/test_virtual_functions.cpp:278
Method
f
tests/test_virtual_functions.cpp:296
Method
f
tests/test_virtual_functions.cpp:303
Method
f
(self)
tests/test_virtual_functions.py:150
Function
f1
tests/test_constants_and_functions.cpp:49
Function
f2
tests/test_constants_and_functions.cpp:53
Function
f3
tests/test_constants_and_functions.cpp:54
← previous
next →
1,401–1,500 of 3,362, ranked by callers