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
↓ 13 callers
Function
create
()
tests/test_multiple_interpreters.py:36
↓ 13 callers
Method
dec_ref
include/pybind11/gil.h:107
↓ 13 callers
Method
has_pointee
include/pybind11/detail/struct_smart_holder.h:176
↓ 13 callers
Function
iter
include/pybind11/pytypes.h:2580
↓ 13 callers
Function
make_iterator
NOLINTNEXTLINE(performance-unnecessary-value-param)
include/pybind11/pybind11.h:3436
↓ 13 callers
Method
name
tests/test_class.cpp:132
↓ 13 callers
Function
raise_from
Replaces the current Python error indicator with the chosen error, performing a 'raise from' to indicate that the chosen error was caused by the origi
include/pybind11/pytypes.h:812
↓ 13 callers
Function
ssize_t_cast
include/pybind11/detail/common.h:550
↓ 12 callers
Method
get_code
(self)
tests/test_potentially_slicing_weak_ptr.py:44
↓ 12 callers
Function
io_name
include/pybind11/detail/descr.h:104
↓ 12 callers
Method
say_something
(self, times)
tests/test_virtual_functions.py:429
↓ 12 callers
Method
size
include/pybind11/detail/argument_vector.h:138
↓ 12 callers
Method
unlucky_number
(self)
tests/test_virtual_functions.py:432
↓ 11 callers
Function
cb
(value)
tests/test_type_caster_pyobject_ptr.py:46
↓ 11 callers
Function
constexpr_sum
include/pybind11/detail/common.h:922
↓ 11 callers
Function
handle_nested_exception
include/pybind11/detail/internals.h:480
↓ 11 callers
Function
requires_conversion
(v)
tests/test_builtin_casters.py:295
↓ 11 callers
Method
use_count
tests/test_local_bindings.cpp:29
↓ 11 callers
Method
v
(self)
tests/test_class_sh_disowning_mi.py:79
↓ 10 callers
Method
Add
tests/test_class_sh_trampoline_shared_from_this.cpp:46
↓ 10 callers
Method
data
include/pybind11/eigen/matrix.h:564
↓ 10 callers
Method
holder_constructed
include/pybind11/detail/value_and_holder.h:45
↓ 10 callers
Method
init_instance
include/pybind11/pybind11.h:2765
↓ 10 callers
Method
itemsize
Size of the data type in bytes.
include/pybind11/numpy.h:895
↓ 10 callers
Method
load
include/pybind11/stl.h:252
↓ 10 callers
Method
lucky_number
(self)
tests/test_virtual_functions.py:435
↓ 10 callers
Function
print_copy_assigned
tests/constructor_stats.h:294
↓ 10 callers
Function
print_move_assigned
tests/constructor_stats.h:299
↓ 10 callers
Function
raise_err
include/pybind11/detail/internals.h:498
↓ 9 callers
Method
Parent
tests/test_call_policies.cpp:47
↓ 9 callers
Method
Traveler
tests/test_cpp_conduit_traveler_types.h:11
↓ 9 callers
Method
__init__
(self, *args)
tests/test_factory_constructors.py:194
↓ 9 callers
Method
atyp
tests/test_class_sh_basic.cpp:12
↓ 9 callers
Function
cast
include/pybind11/eigen/matrix.h:700
↓ 9 callers
Method
clear
tests/test_custom_type_setup.cpp:31
↓ 9 callers
Method
clear
include/pybind11/pytypes.h:2349
↓ 9 callers
Function
error_string
include/pybind11/pytypes.h:744
↓ 9 callers
Function
exec
include/pybind11/eval.h:88
↓ 9 callers
Method
get
tests/test_smart_ptr.cpp:29
↓ 9 callers
Function
globals
\ingroup python_builtins Return a dictionary representing the global variables in the current execution frame, or ``__main__.__dict__`` if there is no
include/pybind11/pybind11.h:1759
↓ 9 callers
Method
has_python_instance
tests/test_class_sh_trampoline_shared_ptr_cpp_arg.cpp:41
↓ 9 callers
Function
has_state_dict_internals_obj
tests/test_with_catch/test_interpreter.cpp:25
↓ 9 callers
Function
hash
include/pybind11/pytypes.h:950
↓ 9 callers
Method
history
tests/test_class_sh_trampoline_shared_from_this.cpp:59
↓ 9 callers
Method
none
include/pybind11/pytypes.h:1878
↓ 9 callers
Method
size
include/pybind11/pytypes.h:2214
↓ 9 callers
Method
test_function
tests/test_enum.cpp:44
↓ 9 callers
Function
unsafe_reset_internals_for_single_interpreter
tests/test_with_catch/test_subinterpreter.cpp:25
↓ 9 callers
Method
what
include/pybind11/pybind11.h:3716
↓ 8 callers
Method
SftSharedPtrStash
tests/test_class_sh_trampoline_shared_from_this.cpp:44
↓ 8 callers
Method
TestFactory3
tests/test_factory_constructors.cpp:57
↓ 8 callers
Method
begin
include/pybind11/detail/type_caster_base.h:406
↓ 8 callers
Method
block
tests/test_eigen_matrix.cpp:251
↓ 8 callers
Function
cant_convert
(v)
tests/test_builtin_casters.py:298
↓ 8 callers
Function
concat
include/pybind11/detail/descr.h:159
↓ 8 callers
Method
create
tests/test_smart_ptr.cpp:255
↓ 8 callers
Method
foo
(self)
tests/test_multiple_inheritance.py:23
↓ 8 callers
Method
foo
(self)
tests/test_class.py:388
↓ 8 callers
Method
get_pp
Get the current pointer-to-pointer, allocating it if it does not already exist. May acquire the GIL. Will never return nullptr.
include/pybind11/detail/internals.h:686
↓ 8 callers
Function
get_thread_state_unchecked
include/pybind11/detail/internals.h:144
↓ 8 callers
Method
install
Installs the compile function into distutils.ccompiler.CCompiler.compile.
pybind11/setup_helpers.py:488
↓ 8 callers
Function
itemsize
include/pybind11/numpy.h:1433
↓ 8 callers
Function
make_key_iterator
include/pybind11/pybind11.h:3454
↓ 8 callers
Function
print_constr_details
tests/constructor_stats.h:271
↓ 8 callers
Method
size
include/pybind11/detail/type_caster_base.h:417
↓ 8 callers
Method
unref
Drop all the references we're currently holding.
include/pybind11/detail/internals.h:712
↓ 8 callers
Method
v
(self)
tests/test_multiple_inheritance.py:64
↓ 8 callers
Method
view
Create a view of an array in a different data type. This function may fundamentally reinterpret the data in the array. It is the responsibility of the
include/pybind11/numpy.h:1307
↓ 7 callers
Method
Child
tests/test_call_policies.cpp:38
↓ 7 callers
Method
ExampleMandA
tests/test_methods_and_attributes.cpp:27
↓ 7 callers
Function
abs
Not a good abs function, but easy to test.
tests/test_operator_overloading.cpp:133
↓ 7 callers
Function
assert_references
(a, b, base=None)
tests/test_numpy_array.py:231
↓ 7 callers
Function
backport_typehints
()
tests/conftest.py:295
↓ 7 callers
Method
contains
tests/test_sequences_and_iterators.cpp:242
↓ 7 callers
Function
create_and_destroy
(*args)
tests/test_factory_constructors.py:348
↓ 7 callers
Method
equal
include/pybind11/pytypes.h:1375
↓ 7 callers
Method
get
tests/test_factory_constructors.cpp:156
↓ 7 callers
Method
get_value_and_holder
* Extracts C++ value and holder pointer references from an instance (which may contain multiple * values/holders for python-side multiple inheritance
include/pybind11/detail/type_caster_base.h:440
↓ 7 callers
Method
has_alias
tests/test_factory_constructors.cpp:157
↓ 7 callers
Method
id
tests/test_class_sh_inheritance.cpp:25
↓ 7 callers
Function
is_disowned
(obj)
tests/test_class_sh_disowning.py:8
↓ 7 callers
Method
make
tests/test_class.cpp:262
↓ 7 callers
Function
make_value_iterator
include/pybind11/pybind11.h:3472
↓ 7 callers
Function
no_nullptr
include/pybind11/detail/init.h:40
↓ 7 callers
Function
object_or_cast
include/pybind11/pytypes.h:1062
↓ 7 callers
Method
ref
Create a nullptr reference
tests/object.h:70
↓ 7 callers
Method
restore
include/pybind11/pytypes.h:720
↓ 7 callers
Method
shape_span
Dimensions of the array as a span
include/pybind11/numpy.h:1152
↓ 6 callers
Method
Outer
tests/test_class_sh_shared_ptr_copy_move.cpp:35
↓ 6 callers
Function
PYBIND11_OVERRIDE
tests/test_virtual_functions.cpp:92
↓ 6 callers
Method
TestFactory2
tests/test_factory_constructors.cpp:37
↓ 6 callers
Method
TestFactory6
tests/test_factory_constructors.cpp:93
↓ 6 callers
Method
add2
passing by value
tests/test_methods_and_attributes.cpp:47
↓ 6 callers
Function
assert_sparse_equal_ref
(sparse_mat)
tests/test_eigen_matrix.py:27
↓ 6 callers
Function
cast_error_unable_to_convert_call_arg
include/pybind11/cast.h:1910
↓ 6 callers
Function
check_
include/pybind11/numpy.h:1503
↓ 6 callers
Method
compute
include/pybind11/pytypes.h:2019
↓ 6 callers
Method
get
tests/test_class_sh_disowning.cpp:12
↓ 6 callers
Method
get
(self)
tests/test_factory_constructors.py:197
↓ 6 callers
Method
get
(self)
tests/test_factory_constructors.py:237
← previous
next →
101–200 of 3,362, ranked by callers