MCPcopy Create free account

hub / github.com/pybind/pybind11 / functions

Functions3,362 in github.com/pybind/pybind11

↓ 2 callersMethod__int__
(self)
tests/test_builtin_casters.py:252
↓ 2 callersMethod__setattr__
(self, *args, **kwargs)
tests/test_class_sh_property.py:120
↓ 2 callersMethod_add_cflags
(self, flags: list[str])
pybind11/setup_helpers.py:116
↓ 2 callersFunction_sanitize_general
(s)
tests/conftest.py:176
↓ 2 callersFunction_split_and_sort
For output which does not require specific line order
tests/conftest.py:59
↓ 2 callersMethodadd3
passing by reference
tests/test_methods_and_attributes.cpp:48
↓ 2 callersFunctionapply_exception_translators
include/pybind11/detail/exception_translation.h:22
↓ 2 callersFunctionassert_keeps_alive
(cl, method, *args)
tests/test_eigen_matrix.py:400
↓ 2 callersMethodbar
tests/test_multiple_inheritance.cpp:100
↓ 2 callersMethodbark
tests/test_class.cpp:143
↓ 2 callersFunctionbroadcast
include/pybind11/numpy.h:1985
↓ 2 callersFunctionbuild_global
Build global SDist and wheel.
tests/extra_python_package/test_files.py:160
↓ 2 callersFunctionbyte_offset_unsafe
include/pybind11/numpy.h:632
↓ 2 callersMethodcapped_value
Exercises cpp_function(Return (Class::*)(Args...) const & noexcept, ...)
tests/test_methods_and_attributes.cpp:182
↓ 2 callersFunctioncheck
include/pybind11/pytypes.h:320
↓ 2 callersFunctioncheck_kw_only_arg
include/pybind11/attr.h:485
↓ 2 callersMethodclone
tests/test_class_sh_trampoline_unique_ptr.cpp:41
↓ 2 callersMethodcol_factor
tests/test_buffers.cpp:252
↓ 2 callersFunctionconvert_dsizes_to_vector
include/pybind11/eigen/tensor.h:147
↓ 2 callersFunctionconvert_iterable
include/pybind11/stl.h:170
↓ 2 callersFunctioncreate_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 callersMethodcreate_pp_content_once
include/pybind11/detail/internals.h:748
↓ 2 callersMethodcreates_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 callersFunctiondelattr
include/pybind11/pytypes.h:894
↓ 2 callersFunctiondetermine_trampoline_state
tests/test_potentially_slicing_weak_ptr.cpp:42
↓ 2 callersFunctiondict_getitem
include/pybind11/pytypes.h:991
↓ 2 callersFunctiondict_setdefaultstring
include/pybind11/pytypes.h:1018
↓ 2 callersMethoddisarm
abandon cleanup of this subinterpreter (leak it). this might be needed during finalization...
include/pybind11/subinterpreter.h:221
↓ 2 callersMethoddoc
include/pybind11/pytypes.h:2638
↓ 2 callersFunctiondt_fmt
()
tests/test_numpy_dtypes.py:30
↓ 2 callersFunctionenable_dynamic_attributes
Give instances of this type a `__dict__` and opt into garbage collection.
include/pybind11/detail/class.h:608
↓ 2 callersFunctionensure_builtins_in_globals
include/pybind11/eval.h:21
↓ 2 callersMethodensure_has_pointee
include/pybind11/detail/struct_smart_holder.h:232
↓ 2 callersMethodensure_is_populated
include/pybind11/detail/struct_smart_holder.h:186
↓ 2 callersMethodensure_use_count_1
include/pybind11/detail/struct_smart_holder.h:238
↓ 2 callersFunctionenum_name
include/pybind11/pybind11.h:2931
↓ 2 callersMethodf
tests/test_virtual_functions.cpp:270
↓ 2 callersMethodf
(self)
tests/test_virtual_functions.py:109
↓ 2 callersMethodflag
include/pybind11/pybind11.h:1438
↓ 2 callersFunctionformat_message_key_error
include/pybind11/stl_bind.h:720
↓ 2 callersFunctionformat_ptrs
Don't cast pointers to Python, print them as strings
tests/constructor_stats.h:260
↓ 2 callersMethodfunc
tests/test_with_catch/test_interpreter.cpp:57
↓ 2 callersFunctiongc_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 callersFunctiongen_invalid
()
tests/test_stl.py:493
↓ 2 callersFunctiongenerate_function_signature
Generate a proper function signature */
include/pybind11/pybind11.h:111
↓ 2 callersMethodget
tests/test_class_sh_virtual_py_cpp_mix.cpp:11
↓ 2 callersFunctionget_await_result
(x)
tests/test_async.py:21
↓ 2 callersMethodget_drvd_value
tests/test_python_multiple_inheritance.cpp:19
↓ 2 callersMethodget_e_b
tests/test_multiple_inheritance.cpp:288
↓ 2 callersMethodget_e_c
tests/test_multiple_inheritance.cpp:289
↓ 2 callersMethodget_e_d0
tests/test_multiple_inheritance.cpp:290
↓ 2 callersMethodget_e_d1
tests/test_multiple_inheritance.cpp:291
↓ 2 callersMethodget_e_e
tests/test_multiple_inheritance.cpp:292
↓ 2 callersFunctionget_function
include/pybind11/pytypes.h:961
↓ 2 callersFunctionget_function_record_PyTypeObject
include/pybind11/detail/function_record_pyobject.h:93
↓ 2 callersFunctionget_global
()
tools/make_global.py:16
↓ 2 callersFunctionget_global_type_info_lock_held
include/pybind11/detail/type_caster_base.h:223
↓ 2 callersFunctionget_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 callersFunctionget_interpreters
(*, modern: bool)
tests/test_multiple_interpreters.py:32
↓ 2 callersFunctionget_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 callersFunctionget_local_type_info
include/pybind11/detail/type_caster_base.h:217
↓ 2 callersFunctionget_local_type_info_lock_held
include/pybind11/detail/type_caster_base.h:208
↓ 2 callersFunctionget_module_name_if_available
Meant to return a Python str, but this is not checked.
include/pybind11/pytypes.h:2723
↓ 2 callersFunctionget_object_handle
include/pybind11/detail/type_caster_base.h:534
↓ 2 callersMethodget_ptr
Return a const pointer to the referenced object
tests/object.h:196
↓ 2 callersFunctionget_sample_argument_vector_contents
tests/test_with_catch/test_argument_vector.cpp:21
↓ 2 callersFunctionget_scope_module
include/pybind11/pytypes.h:1448
↓ 2 callersFunctionget_type_handle
include/pybind11/detail/type_caster_base.h:287
↓ 2 callersFunctionget_type_override
include/pybind11/pybind11.h:3724
↓ 2 callersFunctionget_utc_timestamp
tests/test_with_catch/catch.cpp:108
↓ 2 callersMethodget_value
tests/test_virtual_functions.cpp:127
↓ 2 callersMethodget_void_ptr_or_nullptr
include/pybind11/detail/type_caster_base.h:663
↓ 2 callersMethodhas_fields
Returns true for structured data types.
include/pybind11/numpy.h:903
↓ 2 callersFunctionimport_numpy_core_submodule
include/pybind11/numpy.h:177
↓ 2 callersFunctioninc_ref_counter
include/pybind11/pytypes.h:352
↓ 2 callersMethodincrease_value
tests/test_methods_and_attributes.cpp:154
↓ 2 callersFunctioninit_smart_holder_from_unique_ptr
include/pybind11/detail/init.h:207
↓ 2 callersFunctioninitialize_with_void_ptr_destructor
include/pybind11/pytypes.h:2142
↓ 2 callersFunctioninstance_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 callersMethodis_base_used
(self)
tests/test_class_sh_trampoline_shared_ptr_cpp_arg.py:14
↓ 2 callersFunctionis_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 callersMethodis_owner
tests/test_class_sh_unique_ptr_member.cpp:28
↓ 2 callersFunctionis_tensor_aligned
include/pybind11/eigen/tensor.h:39
↓ 2 callersMethodkind
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 callersFunctionlen_hint
Get the length hint of a Python object. Returns 0 when this cannot be determined.
include/pybind11/pytypes.h:2561
↓ 2 callersFunctionlog2
include/pybind11/detail/common.h:609
↓ 2 callersMethodlucky_number
(self)
tests/test_virtual_functions.py:348
↓ 2 callersFunctionmain
()
pybind11/__main__.py:52
↓ 2 callersMethodmaybe_set_python_instance_is_alias
include/pybind11/detail/type_caster_base.h:858
↓ 2 callersFunctionmetaclass
Override pybind11's default metaclass
include/pybind11/attr.h:97
↓ 2 callersMethodmethod_const_lref
Exercises vectorize(Return (Class::*)(Args...) const &)
tests/test_numpy_vectorize.cpp:85
↓ 2 callersMethodmethod_const_lref_noexcept
Exercises vectorize(Return (Class::*)(Args...) const & noexcept)
tests/test_numpy_vectorize.cpp:98
↓ 2 callersMethodmethod_lref
Exercises vectorize(Return (Class::*)(Args...) &) NOLINTNEXTLINE(readability-make-member-function-const)
tests/test_numpy_vectorize.cpp:83
↓ 2 callersMethodmethod_lref_noexcept
Exercises vectorize(Return (Class::*)(Args...) & noexcept) NOLINTNEXTLINE(readability-make-member-function-const)
tests/test_numpy_vectorize.cpp:96
↓ 2 callersMethodname
tests/test_smart_ptr.cpp:256
↓ 2 callersFunctionnameless_argument_error
include/pybind11/cast.h:2367
↓ 2 callersFunctionnative_enum_missing_finalize_error_message
include/pybind11/detail/native_enum_data.h:20
↓ 2 callersFunctionnew_warning_type
include/pybind11/warnings.h:36
↓ 2 callersFunctionobject_is_convertible_to_std_vector
include/pybind11/stl.h:91
↓ 2 callersFunctionobject_is_instance_with_one_of_tp_names
include/pybind11/stl.h:77
← previousnext →401–500 of 3,362, ranked by callers