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
↓ 1 callers
Method
__init__
(self, *args)
tests/test_stl.py:697
↓ 1 callers
Method
__init__
(self)
tests/test_class.py:385
↓ 1 callers
Method
_add_ldflags
(self, flags: list[str])
pybind11/setup_helpers.py:119
↓ 1 callers
Function
_check_property
(foo_typ, prop_typ, policy)
tests/test_class_sh_shared_ptr_copy_move.py:26
↓ 1 callers
Function
_is_musl
()
tests/env.py:20
↓ 1 callers
Function
_test_flaky_exception_failure_point_init_before_py_3_12
()
tests/test_exceptions.py:338
↓ 1 callers
Function
_test_flaky_exception_failure_point_init_py_3_12
()
tests/test_exceptions.py:357
↓ 1 callers
Function
_to_int
(s: str)
pybind11/_version.py:27
↓ 1 callers
Method
activate_life_support
include/pybind11/trampoline_self_life_support.h:27
↓ 1 callers
Method
add
tests/test_smart_ptr.cpp:322
↓ 1 callers
Method
add
include/pybind11/pytypes.h:2346
↓ 1 callers
Method
add10
passing by pointer
tests/test_methods_and_attributes.cpp:57
↓ 1 callers
Method
add4
passing by const reference
tests/test_methods_and_attributes.cpp:49
↓ 1 callers
Method
add5
passing by pointer
tests/test_methods_and_attributes.cpp:50
↓ 1 callers
Method
add6
tests/test_methods_and_attributes.cpp:52
↓ 1 callers
Method
add7
passing by value
tests/test_methods_and_attributes.cpp:53
↓ 1 callers
Method
add8
passing by reference
tests/test_methods_and_attributes.cpp:54
↓ 1 callers
Method
add9
passing by const reference NOLINTNEXTLINE(readability-non-const-parameter) Deliberately non-const for testing
tests/test_methods_and_attributes.cpp:56
↓ 1 callers
Method
addChild
tests/test_call_policies.cpp:50
↓ 1 callers
Method
add_base
include/pybind11/attr.h:354
↓ 1 callers
Function
add_bindings
tests/test_methods_and_attributes.cpp:320
↓ 1 callers
Function
add_class_method
include/pybind11/pybind11.h:1951
↓ 1 callers
Function
add_object
\rst Adds an object to the module using the given name. Throws if an object with the given name already exists. ``overwrite`
include/pybind11/pybind11.h:1690
↓ 1 callers
Function
add_ostream_redirect
include/pybind11/iostream.h:293
↓ 1 callers
Method
advance
include/pybind11/pytypes.h:1596
↓ 1 callers
Method
alignment
Alignment of the data type
include/pybind11/numpy.h:952
↓ 1 callers
Function
all_type_info_add_base_most_derived_first
Band-aid workaround to fix a subtle but serious bug in a minimalistic fashion. See PR #4762.
include/pybind11/detail/type_caster_base.h:111
↓ 1 callers
Function
all_type_info_get_cache
include/pybind11/pybind11.h:3279
↓ 1 callers
Function
all_type_info_populate
Populates a just-created cache entry.
include/pybind11/detail/type_caster_base.h:124
↓ 1 callers
Method
allocate_layout
include/pybind11/detail/type_caster_base.h:471
↓ 1 callers
Function
arg_descr
include/pybind11/detail/descr.h:216
↓ 1 callers
Function
auto_cpp_level
Return the max supported C++ std level (17, 14, or 11). Returns latest on Windows.
pybind11/setup_helpers.py:253
↓ 1 callers
Function
bind_ConstructorStats
tests/pybind11_tests.cpp:44
↓ 1 callers
Function
bind_empty0
tests/test_class.cpp:50
↓ 1 callers
Method
byteorder
Single character for byteorder
include/pybind11/numpy.h:949
↓ 1 callers
Function
c_str
include/pybind11/detail/internals.h:1036
↓ 1 callers
Method
call_name
tests/test_smart_ptr.cpp:269
↓ 1 callers
Function
call_operator_delete
include/pybind11/pybind11.h:1921
↓ 1 callers
Function
cast
include/pybind11/eigen/tensor.h:221
↓ 1 callers
Method
char_
Single-character for dtype's type. For example, ``float`` is 'f', ``double`` 'd', ``int`` 'i', and ``long`` 'l'.
include/pybind11/numpy.h:920
↓ 1 callers
Method
check_holder_compat
include/pybind11/detail/type_caster_base.h:1174
↓ 1 callers
Function
clear_instance
Clears all internal data from the instance and removes it from registered instances in preparation for deallocation.
include/pybind11/detail/class.h:455
↓ 1 callers
Function
clear_patients
include/pybind11/detail/class.h:428
↓ 1 callers
Method
clone
(self)
tests/test_class_sh_trampoline_unique_ptr.py:10
↓ 1 callers
Method
constRefQualified
tests/test_methods_and_attributes.cpp:292
↓ 1 callers
Function
convert_anyset
include/pybind11/stl.h:181
↓ 1 callers
Method
copy_created
tests/constructor_stats.h:88
↓ 1 callers
Method
corners
tests/test_eigen_matrix.cpp:257
↓ 1 callers
Method
cpp_function
include/pybind11/pytypes.h:2360
↓ 1 callers
Function
cpp_std
tests/pybind11_tests.cpp:65
↓ 1 callers
Method
created
tests/constructor_stats.h:103
↓ 1 callers
Method
data_size
tests/test_vector_unique_ptr_member.cpp:19
↓ 1 callers
Method
deactivate_life_support
include/pybind11/trampoline_self_life_support.h:32
↓ 1 callers
Method
deallocate_layout
NOLINTNEXTLINE(readability-make-member-function-const)
include/pybind11/detail/type_caster_base.h:520
↓ 1 callers
Function
default_constructed
tests/test_pytypes.cpp:42
↓ 1 callers
Method
default_created
tests/constructor_stats.h:98
↓ 1 callers
Function
deregister_instance_impl
include/pybind11/detail/class.h:355
↓ 1 callers
Method
destroyed
tests/constructor_stats.h:105
↓ 1 callers
Method
dispatch
tests/test_virtual_functions.cpp:164
↓ 1 callers
Method
dispatch
(self)
tests/test_virtual_functions.py:249
↓ 1 callers
Method
distance_to
include/pybind11/pytypes.h:1328
↓ 1 callers
Method
do_nothing
tests/test_methods_and_attributes.cpp:153
↓ 1 callers
Function
enable_buffer_protocol
Give this type a buffer interface.
include/pybind11/detail/class.h:733
↓ 1 callers
Function
enable_try_inc_ref
include/pybind11/detail/class.h:325
↓ 1 callers
Method
ensure_can_release_ownership
include/pybind11/detail/struct_smart_holder.h:327
↓ 1 callers
Function
ensure_object
include/pybind11/pytypes.h:1122
↓ 1 callers
Function
equal
Equivalent to obj == other in Python
include/pybind11/pytypes.h:167
↓ 1 callers
Method
execute_cast
include/pybind11/operators.h:97
↓ 1 callers
Method
f
tests/test_custom_type_casters.cpp:157
↓ 1 callers
Function
f_strides
F-style strides; default when constructing an array_t with `ExtraFlags & f_style`
include/pybind11/buffer_info.h:31
↓ 1 callers
Function
first
include/pybind11/detail/common.h:935
↓ 1 callers
Method
foo
tests/test_class_sh_trampoline_unique_ptr.cpp:45
↓ 1 callers
Method
foo
(self)
tests/test_class_sh_trampoline_unique_ptr.py:7
↓ 1 callers
Method
foo
tests/test_class.cpp:402
↓ 1 callers
Method
foo
tests/test_class.cpp:422
↓ 1 callers
Function
format_message_key_error_key_object
include/pybind11/stl_bind.h:697
↓ 1 callers
Method
from_buffer
include/pybind11/pytypes.h:2449
↓ 1 callers
Function
func
()
tests/test_virtual_functions.py:453
↓ 1 callers
Method
func
tests/test_virtual_functions.cpp:212
↓ 1 callers
Method
func
(self, x, *args)
tests/test_pytypes.py:399
↓ 1 callers
Method
func1
tests/test_methods_and_attributes.cpp:297
↓ 1 callers
Function
func2
()
tests/test_virtual_functions.py:460
↓ 1 callers
Method
func2
tests/test_methods_and_attributes.cpp:298
↓ 1 callers
Method
func3
tests/test_methods_and_attributes.cpp:299
↓ 1 callers
Method
func4
tests/test_methods_and_attributes.cpp:300
↓ 1 callers
Function
func_handle
This triggers a syntax error under very special conditions (very weird indeed).
include/pybind11/functional.h:25
↓ 1 callers
Method
function
Builds a function object usable as distutils.ccompiler.CCompiler.compile.
pybind11/setup_helpers.py:423
↓ 1 callers
Function
function_record_PyObject_New
include/pybind11/detail/function_record_pyobject.h:134
↓ 1 callers
Function
gen_f
()
tests/test_callbacks.py:175
↓ 1 callers
Method
get
tests/test_sequences_and_iterators.cpp:339
↓ 1 callers
Method
get
(self)
tests/test_class_sh_virtual_py_cpp_mix.py:12
↓ 1 callers
Method
get_buffer
Exercises def_buffer(Return (Class::*)(Args...) noexcept)
tests/test_buffers.cpp:453
↓ 1 callers
Function
get_cached_module
Return a borrowed reference to the named module if it has been successfully initialized within this interpreter before. nullptr if it has not been suc
include/pybind11/pybind11.h:1506
↓ 1 callers
Function
get_cmake_dir
Return the path to the pybind11 CMake module directory.
pybind11/commands.py:18
↓ 1 callers
Method
get_code
tests/test_potentially_slicing_weak_ptr.cpp:85
↓ 1 callers
Function
get_elem
Returns element 2,1 from a matrix (used to test copy/nocopy)
tests/test_eigen_matrix.cpp:58
↓ 1 callers
Method
get_f_b
tests/test_multiple_inheritance.cpp:296
↓ 1 callers
Method
get_f_c
tests/test_multiple_inheritance.cpp:297
↓ 1 callers
Method
get_f_d0
tests/test_multiple_inheritance.cpp:298
↓ 1 callers
Method
get_f_d1
tests/test_multiple_inheritance.cpp:299
← previous
next →
601–700 of 3,362, ranked by callers