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
↓ 2 callers
Method
__int__
(self)
tests/test_builtin_casters.py:252
↓ 2 callers
Method
__setattr__
(self, *args, **kwargs)
tests/test_class_sh_property.py:120
↓ 2 callers
Method
_add_cflags
(self, flags: list[str])
pybind11/setup_helpers.py:116
↓ 2 callers
Function
_sanitize_general
(s)
tests/conftest.py:176
↓ 2 callers
Function
_split_and_sort
For output which does not require specific line order
tests/conftest.py:59
↓ 2 callers
Method
add3
passing by reference
tests/test_methods_and_attributes.cpp:48
↓ 2 callers
Function
apply_exception_translators
include/pybind11/detail/exception_translation.h:22
↓ 2 callers
Function
assert_keeps_alive
(cl, method, *args)
tests/test_eigen_matrix.py:400
↓ 2 callers
Method
bar
tests/test_multiple_inheritance.cpp:100
↓ 2 callers
Method
bark
tests/test_class.cpp:143
↓ 2 callers
Function
broadcast
include/pybind11/numpy.h:1985
↓ 2 callers
Function
build_global
Build global SDist and wheel.
tests/extra_python_package/test_files.py:160
↓ 2 callers
Function
byte_offset_unsafe
include/pybind11/numpy.h:632
↓ 2 callers
Method
capped_value
Exercises cpp_function(Return (Class::*)(Args...) const & noexcept, ...)
tests/test_methods_and_attributes.cpp:182
↓ 2 callers
Function
check
include/pybind11/pytypes.h:320
↓ 2 callers
Function
check_kw_only_arg
include/pybind11/attr.h:485
↓ 2 callers
Method
clone
tests/test_class_sh_trampoline_unique_ptr.cpp:41
↓ 2 callers
Method
col_factor
tests/test_buffers.cpp:252
↓ 2 callers
Function
convert_dsizes_to_vector
include/pybind11/eigen/tensor.h:147
↓ 2 callers
Function
convert_iterable
include/pybind11/stl.h:170
↓ 2 callers
Function
create_extension_module
\rst Create a new top-level module that can be used as the main module of a C extension. ``def`` should point to a statically allocat
include/pybind11/pybind11.h:1708
↓ 2 callers
Method
create_pp_content_once
include/pybind11/detail/internals.h:748
↓ 2 callers
Method
creates_smart_holder
Returns true if the cast will use a pybind11 type that uses a smart holder.
include/pybind11/detail/type_caster_base.h:595
↓ 2 callers
Function
delattr
include/pybind11/pytypes.h:894
↓ 2 callers
Function
determine_trampoline_state
tests/test_potentially_slicing_weak_ptr.cpp:42
↓ 2 callers
Function
dict_getitem
include/pybind11/pytypes.h:991
↓ 2 callers
Function
dict_setdefaultstring
include/pybind11/pytypes.h:1018
↓ 2 callers
Method
disarm
abandon cleanup of this subinterpreter (leak it). this might be needed during finalization...
include/pybind11/subinterpreter.h:221
↓ 2 callers
Method
doc
include/pybind11/pytypes.h:2638
↓ 2 callers
Function
dt_fmt
()
tests/test_numpy_dtypes.py:30
↓ 2 callers
Function
enable_dynamic_attributes
Give instances of this type a `__dict__` and opt into garbage collection.
include/pybind11/detail/class.h:608
↓ 2 callers
Function
ensure_builtins_in_globals
include/pybind11/eval.h:21
↓ 2 callers
Method
ensure_has_pointee
include/pybind11/detail/struct_smart_holder.h:232
↓ 2 callers
Method
ensure_is_populated
include/pybind11/detail/struct_smart_holder.h:186
↓ 2 callers
Method
ensure_use_count_1
include/pybind11/detail/struct_smart_holder.h:238
↓ 2 callers
Function
enum_name
include/pybind11/pybind11.h:2931
↓ 2 callers
Method
f
tests/test_virtual_functions.cpp:270
↓ 2 callers
Method
f
(self)
tests/test_virtual_functions.py:109
↓ 2 callers
Method
flag
include/pybind11/pybind11.h:1438
↓ 2 callers
Function
format_message_key_error
include/pybind11/stl_bind.h:720
↓ 2 callers
Function
format_ptrs
Don't cast pointers to Python, print them as strings
tests/constructor_stats.h:260
↓ 2 callers
Method
func
tests/test_with_catch/test_interpreter.cpp:57
↓ 2 callers
Function
gc_tester
Tests that an object is garbage collected. Assumes that any unreferenced objects are fully collected after calling `gc.collect()`. That is t
tests/test_custom_type_setup.py:15
↓ 2 callers
Function
gen_invalid
()
tests/test_stl.py:493
↓ 2 callers
Function
generate_function_signature
Generate a proper function signature */
include/pybind11/pybind11.h:111
↓ 2 callers
Method
get
tests/test_class_sh_virtual_py_cpp_mix.cpp:11
↓ 2 callers
Function
get_await_result
(x)
tests/test_async.py:21
↓ 2 callers
Method
get_drvd_value
tests/test_python_multiple_inheritance.cpp:19
↓ 2 callers
Method
get_e_b
tests/test_multiple_inheritance.cpp:288
↓ 2 callers
Method
get_e_c
tests/test_multiple_inheritance.cpp:289
↓ 2 callers
Method
get_e_d0
tests/test_multiple_inheritance.cpp:290
↓ 2 callers
Method
get_e_d1
tests/test_multiple_inheritance.cpp:291
↓ 2 callers
Method
get_e_e
tests/test_multiple_inheritance.cpp:292
↓ 2 callers
Function
get_function
include/pybind11/pytypes.h:961
↓ 2 callers
Function
get_function_record_PyTypeObject
include/pybind11/detail/function_record_pyobject.h:93
↓ 2 callers
Function
get_global
()
tools/make_global.py:16
↓ 2 callers
Function
get_global_type_info_lock_held
include/pybind11/detail/type_caster_base.h:223
↓ 2 callers
Function
get_internals_capsule
Return the PyObject* for the internals capsule (borrowed reference). Returns nullptr if the capsule doesn't exist yet.
include/pybind11/detail/internals.h:891
↓ 2 callers
Function
get_interpreters
(*, modern: bool)
tests/test_multiple_interpreters.py:32
↓ 2 callers
Function
get_local_internals_capsule
Return the PyObject* for the local_internals capsule (borrowed reference). Returns nullptr if the capsule doesn't exist yet.
include/pybind11/detail/internals.h:908
↓ 2 callers
Function
get_local_type_info
include/pybind11/detail/type_caster_base.h:217
↓ 2 callers
Function
get_local_type_info_lock_held
include/pybind11/detail/type_caster_base.h:208
↓ 2 callers
Function
get_module_name_if_available
Meant to return a Python str, but this is not checked.
include/pybind11/pytypes.h:2723
↓ 2 callers
Function
get_object_handle
include/pybind11/detail/type_caster_base.h:534
↓ 2 callers
Method
get_ptr
Return a const pointer to the referenced object
tests/object.h:196
↓ 2 callers
Function
get_sample_argument_vector_contents
tests/test_with_catch/test_argument_vector.cpp:21
↓ 2 callers
Function
get_scope_module
include/pybind11/pytypes.h:1448
↓ 2 callers
Function
get_type_handle
include/pybind11/detail/type_caster_base.h:287
↓ 2 callers
Function
get_type_override
include/pybind11/pybind11.h:3724
↓ 2 callers
Function
get_utc_timestamp
tests/test_with_catch/catch.cpp:108
↓ 2 callers
Method
get_value
tests/test_virtual_functions.cpp:127
↓ 2 callers
Method
get_void_ptr_or_nullptr
include/pybind11/detail/type_caster_base.h:663
↓ 2 callers
Method
has_fields
Returns true for structured data types.
include/pybind11/numpy.h:903
↓ 2 callers
Function
import_numpy_core_submodule
include/pybind11/numpy.h:177
↓ 2 callers
Function
inc_ref_counter
include/pybind11/pytypes.h:352
↓ 2 callers
Method
increase_value
tests/test_methods_and_attributes.cpp:154
↓ 2 callers
Function
init_smart_holder_from_unique_ptr
include/pybind11/detail/init.h:207
↓ 2 callers
Function
initialize_with_void_ptr_destructor
include/pybind11/pytypes.h:2142
↓ 2 callers
Function
instance_simple_holder_in_ptrs
* The space to allocate for simple layout instance holders (see below) in multiple of the size of * a pointer (e.g. 2 means 16 bytes on 64-bit archi
include/pybind11/detail/common.h:620
↓ 2 callers
Method
is_base_used
(self)
tests/test_class_sh_trampoline_shared_ptr_cpp_arg.py:14
↓ 2 callers
Function
is_holder_constructed
This is a semi-public API to check if the corresponding instance has been constructed with a holder. That is, if the instance has been constructed wit
include/pybind11/detail/value_and_holder.h:86
↓ 2 callers
Method
is_owner
tests/test_class_sh_unique_ptr_member.cpp:28
↓ 2 callers
Function
is_tensor_aligned
include/pybind11/eigen/tensor.h:39
↓ 2 callers
Method
kind
Single-character code for dtype's kind. For example, floating point types are 'f' and integral types are 'i'.
include/pybind11/numpy.h:916
↓ 2 callers
Function
len_hint
Get the length hint of a Python object. Returns 0 when this cannot be determined.
include/pybind11/pytypes.h:2561
↓ 2 callers
Function
log2
include/pybind11/detail/common.h:609
↓ 2 callers
Method
lucky_number
(self)
tests/test_virtual_functions.py:348
↓ 2 callers
Function
main
()
pybind11/__main__.py:52
↓ 2 callers
Method
maybe_set_python_instance_is_alias
include/pybind11/detail/type_caster_base.h:858
↓ 2 callers
Function
metaclass
Override pybind11's default metaclass
include/pybind11/attr.h:97
↓ 2 callers
Method
method_const_lref
Exercises vectorize(Return (Class::*)(Args...) const &)
tests/test_numpy_vectorize.cpp:85
↓ 2 callers
Method
method_const_lref_noexcept
Exercises vectorize(Return (Class::*)(Args...) const & noexcept)
tests/test_numpy_vectorize.cpp:98
↓ 2 callers
Method
method_lref
Exercises vectorize(Return (Class::*)(Args...) &) NOLINTNEXTLINE(readability-make-member-function-const)
tests/test_numpy_vectorize.cpp:83
↓ 2 callers
Method
method_lref_noexcept
Exercises vectorize(Return (Class::*)(Args...) & noexcept) NOLINTNEXTLINE(readability-make-member-function-const)
tests/test_numpy_vectorize.cpp:96
↓ 2 callers
Method
name
tests/test_smart_ptr.cpp:256
↓ 2 callers
Function
nameless_argument_error
include/pybind11/cast.h:2367
↓ 2 callers
Function
native_enum_missing_finalize_error_message
include/pybind11/detail/native_enum_data.h:20
↓ 2 callers
Function
new_warning_type
include/pybind11/warnings.h:36
↓ 2 callers
Function
object_is_convertible_to_std_vector
include/pybind11/stl.h:91
↓ 2 callers
Function
object_is_instance_with_one_of_tp_names
include/pybind11/stl.h:77
← previous
next →
401–500 of 3,362, ranked by callers