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
↓ 393 callers
Method
ptr
tests/test_class.cpp:521
↓ 306 callers
Method
attr
include/pybind11/pytypes.h:2611
↓ 302 callers
Function
move
include/pybind11/cast.h:1754
↓ 183 callers
Method
append
tests/test_custom_type_setup.cpp:23
↓ 169 callers
Method
array
include/pybind11/numpy.h:1035
↓ 167 callers
Function
doc
Sanitize docstrings and add custom failure explanation
tests/conftest.py:188
↓ 156 callers
Function
print
include/pybind11/pybind11.h:3670
↓ 136 callers
Function
import
Import and return a module or throws `error_already_set`.
include/pybind11/pybind11.h:1666
↓ 135 callers
Method
alive
tests/constructor_stats.h:131
↓ 129 callers
Function
const_name
include/pybind11/detail/descr.h:60
↓ 103 callers
Method
value
tests/pybind11_tests.h:33
↓ 93 callers
Method
size
Total number of elements
include/pybind11/numpy.h:1131
↓ 92 callers
Method
release
include/pybind11/pybind11.h:669
↓ 88 callers
Function
init
include/pybind11/pybind11.h:2898
↓ 80 callers
Method
size
tests/test_sequences_and_iterators.cpp:259
↓ 76 callers
Method
get
tests/test_cross_module_rtti/lib.cpp:7
↓ 71 callers
Function
isinstance
include/pybind11/pytypes.h:857
↓ 67 callers
Function
len
Get the length of a Python object.
include/pybind11/pytypes.h:2551
↓ 67 callers
Function
msg
Sanitize messages and add custom failure explanation
tests/conftest.py:200
↓ 66 callers
Function
handle
The default constructor creates a handle with a ``nullptr``-valued pointer
include/pybind11/pytypes.h:247
↓ 63 callers
Function
hasattr
\addtogroup python_builtins @{
include/pybind11/pytypes.h:886
↓ 61 callers
Function
f
(*args, **kwargs)
tests/test_callbacks.py:52
↓ 61 callers
Function
getattr
include/pybind11/pytypes.h:906
↓ 60 callers
Function
make_tuple
include/pybind11/cast.h:1931
↓ 52 callers
Method
push_back
include/pybind11/detail/argument_vector.h:168
↓ 49 callers
Method
values
Move out stored values
tests/constructor_stats.h:153
↓ 45 callers
Method
__init__
(self, i, j)
tests/test_multiple_inheritance.py:59
↓ 45 callers
Method
dtype
include/pybind11/numpy.h:840
↓ 45 callers
Function
print_created
tests/constructor_stats.h:309
↓ 44 callers
Method
emplace_back
include/pybind11/detail/argument_vector.h:173
↓ 43 callers
Function
print_destroyed
tests/constructor_stats.h:314
↓ 42 callers
Method
join
(self)
tests/test_thread.py:25
↓ 39 callers
Function
get
include/pybind11/detail/internals.h:116
↓ 37 callers
Function
cast
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 callers
Method
format
include/pybind11/pytypes.h:1721
↓ 34 callers
Function
object
include/pybind11/pytypes.h:383
↓ 33 callers
Method
begin
tests/test_sequences_and_iterators.cpp:261
↓ 33 callers
Method
shape
Dimensions of the array
include/pybind11/numpy.h:1148
↓ 32 callers
Method
name
include/pybind11/attr.h:54
↓ 31 callers
Method
items
(self)
tests/test_stl.py:559
↓ 30 callers
Method
find
include/pybind11/detail/type_caster_base.h:409
↓ 28 callers
Method
end
include/pybind11/pytypes.h:2595
↓ 28 callers
Method
inc_ref
include/pybind11/gil.h:105
↓ 26 callers
Method
begin
include/pybind11/pytypes.h:2591
↓ 26 callers
Method
reserve
include/pybind11/detail/argument_vector.h:187
↓ 25 callers
Method
bar
(self)
tests/test_multiple_inheritance.py:42
↓ 24 callers
Function
assert_equal
(actual, expected_data, expected_dtype)
tests/test_numpy_dtypes.py:84
↓ 24 callers
Method
end
tests/test_sequences_and_iterators.cpp:262
↓ 24 callers
Function
repr
include/pybind11/pytypes.h:2572
↓ 23 callers
Method
cols
tests/test_buffers.cpp:122
↓ 23 callers
Function
func
()
tests/test_class.py:564
↓ 23 callers
Method
use_count
tests/test_class_sh_trampoline_shared_from_this.cpp:65
↓ 22 callers
Method
insert
include/pybind11/pytypes.h:2288
↓ 22 callers
Method
rows
tests/test_buffers.cpp:121
↓ 21 callers
Method
ndim
Number of dimensions
include/pybind11/numpy.h:1142
↓ 21 callers
Function
print_copy_created
tests/constructor_stats.h:282
↓ 21 callers
Function
print_move_created
tests/constructor_stats.h:288
↓ 21 callers
Function
set_error
include/pybind11/pytypes.h:363
↓ 21 callers
Function
setattr
include/pybind11/pytypes.h:938
↓ 21 callers
Method
toString
tests/test_smart_ptr.cpp:90
↓ 20 callers
Method
append
include/pybind11/pytypes.h:2280
↓ 20 callers
Method
data
include/pybind11/numpy.h:1199
↓ 20 callers
Method
empty
include/pybind11/pytypes.h:2215
↓ 20 callers
Function
set_error
tests/test_exceptions.h:12
↓ 19 callers
Function
assert_equal_tensor_ref
(mat, writeable=True, modified=None)
tests/test_eigen_tensor.py:54
↓ 19 callers
Method
data
tests/test_buffers.cpp:119
↓ 19 callers
Method
finalize
include/pybind11/detail/native_enum_data.h:185
↓ 19 callers
Method
overloaded
tests/test_methods_and_attributes.cpp:73
↓ 18 callers
Method
get
tests/pure_cpp/smart_holder_poc_test.cpp:55
↓ 17 callers
Method
__init__
(self, i, j)
tests/test_class_sh_disowning_mi.py:73
↓ 17 callers
Function
capsule
include/pybind11/pytypes.h:2047
↓ 17 callers
Method
contains
include/pybind11/pytypes.h:2628
↓ 16 callers
Function
cast_impl
include/pybind11/eigen/tensor.h:272
↓ 16 callers
Method
empty
tests/test_copy_move.cpp:24
↓ 16 callers
Method
end
include/pybind11/detail/type_caster_base.h:407
↓ 16 callers
Function
initialize_interpreter
include/pybind11/embed.h:139
↓ 16 callers
Method
mutable_data
include/pybind11/numpy.h:1207
↓ 16 callers
Method
request
include/pybind11/pytypes.h:2379
↓ 16 callers
Method
run
(self)
tests/test_thread.py:18
↓ 16 callers
Method
what
tests/test_exceptions.cpp:24
↓ 16 callers
Function
with_internals
include/pybind11/detail/internals.h:951
↓ 15 callers
Method
IntPairs
tests/test_sequences_and_iterators.cpp:378
↓ 15 callers
Method
get
include/pybind11/pytypes.h:1141
↓ 15 callers
Method
has_alias
tests/test_factory_constructors.cpp:110
↓ 15 callers
Function
is_inline
include/pybind11/detail/argument_vector.h:111
↓ 14 callers
Method
at
tests/test_custom_type_setup.cpp:24
↓ 14 callers
Function
finalize_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 callers
Method
get
include/pybind11/detail/type_caster_base.h:1593
↓ 14 callers
Function
is_disowned
(callable_method)
tests/test_class_sh_disowning_mi.py:21
↓ 14 callers
Method
load
include/pybind11/cast.h:360
↓ 14 callers
Function
print_default_created
tests/constructor_stats.h:304
↓ 14 callers
Method
reshape
Optional `order` parameter omitted, to be added as needed.
include/pybind11/numpy.h:1291
↓ 14 callers
Method
strides
Strides of the array
include/pybind11/numpy.h:1166
↓ 14 callers
Function
vectorize
include/pybind11/numpy.h:2291
↓ 13 callers
Method
add
tests/test_numpy_scalars.cpp:24
↓ 13 callers
Function
array_proxy
include/pybind11/numpy.h:534
↓ 13 callers
Function
assert_equal_ref
(mat)
tests/test_eigen_matrix.py:23
↓ 13 callers
Function
cast
include/pybind11/cast.h:1677
↓ 13 callers
Function
cast
include/pybind11/stl.h:205
↓ 13 callers
Function
clean_type_id
include/pybind11/detail/typeid.h:35
next →
1–100 of 3,362, ranked by callers