MCPcopy Create free account

hub / github.com/pybind/pybind11 / functions

Functions3,362 in github.com/pybind/pybind11

↓ 393 callersMethodptr
tests/test_class.cpp:521
↓ 306 callersMethodattr
include/pybind11/pytypes.h:2611
↓ 302 callersFunctionmove
include/pybind11/cast.h:1754
↓ 183 callersMethodappend
tests/test_custom_type_setup.cpp:23
↓ 169 callersMethodarray
include/pybind11/numpy.h:1035
↓ 167 callersFunctiondoc
Sanitize docstrings and add custom failure explanation
tests/conftest.py:188
↓ 156 callersFunctionprint
include/pybind11/pybind11.h:3670
↓ 136 callersFunctionimport
Import and return a module or throws `error_already_set`.
include/pybind11/pybind11.h:1666
↓ 135 callersMethodalive
tests/constructor_stats.h:131
↓ 129 callersFunctionconst_name
include/pybind11/detail/descr.h:60
↓ 103 callersMethodvalue
tests/pybind11_tests.h:33
↓ 93 callersMethodsize
Total number of elements
include/pybind11/numpy.h:1131
↓ 92 callersMethodrelease
include/pybind11/pybind11.h:669
↓ 88 callersFunctioninit
include/pybind11/pybind11.h:2898
↓ 80 callersMethodsize
tests/test_sequences_and_iterators.cpp:259
↓ 76 callersMethodget
tests/test_cross_module_rtti/lib.cpp:7
↓ 71 callersFunctionisinstance
include/pybind11/pytypes.h:857
↓ 67 callersFunctionlen
Get the length of a Python object.
include/pybind11/pytypes.h:2551
↓ 67 callersFunctionmsg
Sanitize messages and add custom failure explanation
tests/conftest.py:200
↓ 66 callersFunctionhandle
The default constructor creates a handle with a ``nullptr``-valued pointer
include/pybind11/pytypes.h:247
↓ 63 callersFunctionhasattr
\addtogroup python_builtins @{
include/pybind11/pytypes.h:886
↓ 61 callersFunctionf
(*args, **kwargs)
tests/test_callbacks.py:52
↓ 61 callersFunctiongetattr
include/pybind11/pytypes.h:906
↓ 60 callersFunctionmake_tuple
include/pybind11/cast.h:1931
↓ 52 callersMethodpush_back
include/pybind11/detail/argument_vector.h:168
↓ 49 callersMethodvalues
Move out stored values
tests/constructor_stats.h:153
↓ 45 callersMethod__init__
(self, i, j)
tests/test_multiple_inheritance.py:59
↓ 45 callersMethoddtype
include/pybind11/numpy.h:840
↓ 45 callersFunctionprint_created
tests/constructor_stats.h:309
↓ 44 callersMethodemplace_back
include/pybind11/detail/argument_vector.h:173
↓ 43 callersFunctionprint_destroyed
tests/constructor_stats.h:314
↓ 42 callersMethodjoin
(self)
tests/test_thread.py:25
↓ 39 callersFunctionget
include/pybind11/detail/internals.h:116
↓ 37 callersFunctioncast
C++ -> Python: convert `Point2D` to `tuple[float, float]`. The second and third arguments are used to indicate the return value policy and parent obje
tests/test_docs_advanced_cast_custom.cpp:34
↓ 34 callersMethodformat
include/pybind11/pytypes.h:1721
↓ 34 callersFunctionobject
include/pybind11/pytypes.h:383
↓ 33 callersMethodbegin
tests/test_sequences_and_iterators.cpp:261
↓ 33 callersMethodshape
Dimensions of the array
include/pybind11/numpy.h:1148
↓ 32 callersMethodname
include/pybind11/attr.h:54
↓ 31 callersMethoditems
(self)
tests/test_stl.py:559
↓ 30 callersMethodfind
include/pybind11/detail/type_caster_base.h:409
↓ 28 callersMethodend
include/pybind11/pytypes.h:2595
↓ 28 callersMethodinc_ref
include/pybind11/gil.h:105
↓ 26 callersMethodbegin
include/pybind11/pytypes.h:2591
↓ 26 callersMethodreserve
include/pybind11/detail/argument_vector.h:187
↓ 25 callersMethodbar
(self)
tests/test_multiple_inheritance.py:42
↓ 24 callersFunctionassert_equal
(actual, expected_data, expected_dtype)
tests/test_numpy_dtypes.py:84
↓ 24 callersMethodend
tests/test_sequences_and_iterators.cpp:262
↓ 24 callersFunctionrepr
include/pybind11/pytypes.h:2572
↓ 23 callersMethodcols
tests/test_buffers.cpp:122
↓ 23 callersFunctionfunc
()
tests/test_class.py:564
↓ 23 callersMethoduse_count
tests/test_class_sh_trampoline_shared_from_this.cpp:65
↓ 22 callersMethodinsert
include/pybind11/pytypes.h:2288
↓ 22 callersMethodrows
tests/test_buffers.cpp:121
↓ 21 callersMethodndim
Number of dimensions
include/pybind11/numpy.h:1142
↓ 21 callersFunctionprint_copy_created
tests/constructor_stats.h:282
↓ 21 callersFunctionprint_move_created
tests/constructor_stats.h:288
↓ 21 callersFunctionset_error
include/pybind11/pytypes.h:363
↓ 21 callersFunctionsetattr
include/pybind11/pytypes.h:938
↓ 21 callersMethodtoString
tests/test_smart_ptr.cpp:90
↓ 20 callersMethodappend
include/pybind11/pytypes.h:2280
↓ 20 callersMethoddata
include/pybind11/numpy.h:1199
↓ 20 callersMethodempty
include/pybind11/pytypes.h:2215
↓ 20 callersFunctionset_error
tests/test_exceptions.h:12
↓ 19 callersFunctionassert_equal_tensor_ref
(mat, writeable=True, modified=None)
tests/test_eigen_tensor.py:54
↓ 19 callersMethoddata
tests/test_buffers.cpp:119
↓ 19 callersMethodfinalize
include/pybind11/detail/native_enum_data.h:185
↓ 19 callersMethodoverloaded
tests/test_methods_and_attributes.cpp:73
↓ 18 callersMethodget
tests/pure_cpp/smart_holder_poc_test.cpp:55
↓ 17 callersMethod__init__
(self, i, j)
tests/test_class_sh_disowning_mi.py:73
↓ 17 callersFunctioncapsule
include/pybind11/pytypes.h:2047
↓ 17 callersMethodcontains
include/pybind11/pytypes.h:2628
↓ 16 callersFunctioncast_impl
include/pybind11/eigen/tensor.h:272
↓ 16 callersMethodempty
tests/test_copy_move.cpp:24
↓ 16 callersMethodend
include/pybind11/detail/type_caster_base.h:407
↓ 16 callersFunctioninitialize_interpreter
include/pybind11/embed.h:139
↓ 16 callersMethodmutable_data
include/pybind11/numpy.h:1207
↓ 16 callersMethodrequest
include/pybind11/pytypes.h:2379
↓ 16 callersMethodrun
(self)
tests/test_thread.py:18
↓ 16 callersMethodwhat
tests/test_exceptions.cpp:24
↓ 16 callersFunctionwith_internals
include/pybind11/detail/internals.h:951
↓ 15 callersMethodIntPairs
tests/test_sequences_and_iterators.cpp:378
↓ 15 callersMethodget
include/pybind11/pytypes.h:1141
↓ 15 callersMethodhas_alias
tests/test_factory_constructors.cpp:110
↓ 15 callersFunctionis_inline
include/pybind11/detail/argument_vector.h:111
↓ 14 callersMethodat
tests/test_custom_type_setup.cpp:24
↓ 14 callersFunctionfinalize_interpreter
\rst Shut down the Python interpreter. No pybind11 or CPython API functions can be called after this. In addition, pybind11 objects must not o
include/pybind11/embed.h:243
↓ 14 callersMethodget
include/pybind11/detail/type_caster_base.h:1593
↓ 14 callersFunctionis_disowned
(callable_method)
tests/test_class_sh_disowning_mi.py:21
↓ 14 callersMethodload
include/pybind11/cast.h:360
↓ 14 callersFunctionprint_default_created
tests/constructor_stats.h:304
↓ 14 callersMethodreshape
Optional `order` parameter omitted, to be added as needed.
include/pybind11/numpy.h:1291
↓ 14 callersMethodstrides
Strides of the array
include/pybind11/numpy.h:1166
↓ 14 callersFunctionvectorize
include/pybind11/numpy.h:2291
↓ 13 callersMethodadd
tests/test_numpy_scalars.cpp:24
↓ 13 callersFunctionarray_proxy
include/pybind11/numpy.h:534
↓ 13 callersFunctionassert_equal_ref
(mat)
tests/test_eigen_matrix.py:23
↓ 13 callersFunctioncast
include/pybind11/cast.h:1677
↓ 13 callersFunctioncast
include/pybind11/stl.h:205
↓ 13 callersFunctionclean_type_id
include/pybind11/detail/typeid.h:35
next →1–100 of 3,362, ranked by callers