Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/wjakob/nanobind
/ functions
Functions
1,594 in github.com/wjakob/nanobind
⨍
Functions
1,594
◇
Types & classes
580
↳
Endpoints
1
↓ 315 callers
Method
ptr
include/nanobind/nb_accessor.h:44
↓ 120 callers
Method
attr
include/nanobind/nb_accessor.h:228
↓ 95 callers
Function
raise_python_error
src/common.cpp:104
↓ 92 callers
Function
collect
()
tests/common.py:9
↓ 86 callers
Function
len
include/nanobind/nb_types.h:720
↓ 66 callers
Function
isinstance
include/nanobind/nb_misc.h:114
↓ 65 callers
Method
size
include/nanobind/nb_types.h:617
↓ 63 callers
Method
release
src/common.cpp:119
↓ 62 callers
Method
append
include/nanobind/nb_cast.h:707
↓ 59 callers
Method
is_valid
include/nanobind/nb_types.h:109
↓ 58 callers
Method
value
tests/test_intrusive.cpp:19
↓ 54 callers
Method
put
(self, value: object, name: Optional[str] = None, parent: Optional[object] = None)
src/stubgen.py:890
↓ 53 callers
Function
type
include/nanobind/nb_types.h:701
↓ 52 callers
Function
const_name
include/nanobind/nb_descr.h:49
↓ 52 callers
Function
repr
include/nanobind/nb_types.h:719
↓ 48 callers
Function
fail
tests/test_stl.cpp:101
↓ 46 callers
Function
print
src/common.cpp:928
↓ 40 callers
Function
assert_stats
(**kwargs)
tests/test_stl.py:29
↓ 39 callers
Method
reset
Clear the currently stored reference
include/nanobind/intrusive/ref.h:77
↓ 36 callers
Function
nb_type_data
Fetch the nanobind type record from a 'nb_type' instance
src/nb_internals.h:632
↓ 35 callers
Function
cast
include/nanobind/nb_cast.h:627
↓ 34 callers
Method
shape
include/nanobind/ndarray.h:437
↓ 32 callers
Method
__dlpack__
(self)
tests/test_ndarray.py:291
↓ 31 callers
Method
end
include/nanobind/nb_types.h:888
↓ 31 callers
Function
make_tuple
include/nanobind/nb_cast.h:676
↓ 30 callers
Function
issubclass
src/common.cpp:1277
↓ 29 callers
Function
assert_stats
(**kwargs)
tests/test_classes.py:21
↓ 29 callers
Method
items
include/nanobind/nb_types.h:590
↓ 28 callers
Function
from_cpp
include/nanobind/stl/chrono.h:83
↓ 26 callers
Method
get
tests/test_classes.cpp:112
↓ 24 callers
Function
getattr
src/common.cpp:333
↓ 23 callers
Method
data
include/nanobind/nb_types.h:486
↓ 22 callers
Method
c_str
include/nanobind/nb_types.h:469
↓ 22 callers
Function
inst_ptr
src/nb_internals.h:646
↓ 22 callers
Function
nb_func_data
Fetch the nanobind function record from a 'nb_func' instance
src/nb_internals.h:627
↓ 21 callers
Method
end
tests/test_make_iterator.cpp:11
↓ 21 callers
Method
write
Append raw characters to the output
src/stubgen.py:305
↓ 21 callers
Method
write_ln
Append an indented line
src/stubgen.py:309
↓ 20 callers
Method
Movable
tests/test_stl.cpp:31
↓ 20 callers
Method
import_object
Import a type (e.g. typing.Optional) used within the stub, ensuring that this does not cause conflicts. Specify ``as_name`` to ensure
src/stubgen.py:1008
↓ 19 callers
Method
get
Generate the final stub output
src/stubgen.py:1289
↓ 18 callers
Method
Struct
tests/test_classes.cpp:34
↓ 18 callers
Method
clear
include/nanobind/nb_types.h:620
↓ 18 callers
Function
fail
src/common.cpp:69
↓ 18 callers
Method
insert
include/nanobind/nb_cast.h:713
↓ 18 callers
Function
none
include/nanobind/nb_types.h:735
↓ 17 callers
Method
begin
include/nanobind/nb_types.h:884
↓ 17 callers
Function
set_from_int_attr
Set *dest to the integer value of getattr(o, name). Returns true on success, false and sets the Python error indicator on failure. The attribute value
include/nanobind/stl/detail/chrono.h:109
↓ 15 callers
Method
data
tests/test_ndarray.cpp:659
↓ 14 callers
Method
Example
tests/test_holders.cpp:21
↓ 14 callers
Function
count_op
(ops, expected)
tests/test_specialization.py:26
↓ 14 callers
Method
what
src/error.cpp:123
↓ 13 callers
Method
ndim
include/nanobind/ndarray.h:436
↓ 13 callers
Method
restore
src/error.cpp:63
↓ 13 callers
Function
strdup_check
src/nb_func.cpp:192
↓ 13 callers
Method
view
include/nanobind/ndarray.h:469
↓ 12 callers
Method
Copyable
tests/test_stl.cpp:43
↓ 12 callers
Method
from_python
include/nanobind/nb_cast.h:482
↓ 12 callers
Method
inc_ref
include/nanobind/nb_types.h:871
↓ 12 callers
Method
is
include/nanobind/nb_types.h:880
↓ 12 callers
Function
nb_type_c2p
src/nb_type.cpp:534
↓ 11 callers
Method
begin
tests/test_make_iterator.cpp:10
↓ 11 callers
Function
cpp_function
include/nanobind/nb_func.h:358
↓ 11 callers
Function
from_cpp
include/nanobind/nb_cast.h:177
↓ 11 callers
Function
raise
src/common.cpp:40
↓ 11 callers
Method
value
tests/test_classes.cpp:42
↓ 10 callers
Method
contains
include/nanobind/nb_cast.h:719
↓ 10 callers
Function
inst_ready
include/nanobind/nb_class.h:357
↓ 10 callers
Function
none_ref
include/nanobind/nb_lib.h:580
↓ 10 callers
Function
parallelize
(func, n_threads)
tests/common.py:26
↓ 10 callers
Method
type
include/nanobind/nb_types.h:867
↓ 10 callers
Method
values
include/nanobind/nb_types.h:589
↓ 9 callers
Function
case
(arg1, arg2, expect_ret)
tests/test_functions.py:741
↓ 9 callers
Function
concat
include/nanobind/nb_descr.h:115
↓ 9 callers
Method
lookups
tests/test_classes.cpp:207
↓ 9 callers
Function
setattr
src/common.cpp:426
↓ 9 callers
Function
type_name
Return a readable string representation of a C++ type
src/nb_func.cpp:1797
↓ 8 callers
Method
UniqueInt
tests/test_classes.cpp:210
↓ 8 callers
Method
add
include/nanobind/nb_cast.h:735
↓ 8 callers
Method
dtype
include/nanobind/ndarray.h:435
↓ 8 callers
Method
extend
include/nanobind/nb_types.h:560
↓ 8 callers
Method
from_python
include/nanobind/eigen/tensor.h:280
↓ 8 callers
Method
is_none
include/nanobind/nb_types.h:107
↓ 8 callers
Function
load_int
src/common.cpp:1073
↓ 8 callers
Method
name
tests/test_classes.cpp:439
↓ 8 callers
Function
nb_inst_name
src/nb_type.cpp:2562
↓ 8 callers
Function
p
(a)
tests/test_ndarray.py:775
↓ 8 callers
Method
store_release
src/nb_internals.h:338
↓ 8 callers
Method
type_str
Attempt to convert a type into a Python expression which reproduces it
src/stubgen.py:1225
↓ 8 callers
Function
union
(*args: str)
tests/test_stl.py:16
↓ 7 callers
Method
Cnt
tests/test_stl_bind_vector.cpp:12
↓ 7 callers
Method
get
Return a pointer to the referenced object
include/nanobind/intrusive/ref.h:113
↓ 7 callers
Method
keys
include/nanobind/nb_types.h:588
↓ 7 callers
Function
nb_type_check
src/nb_type.cpp:2350
↓ 7 callers
Function
ndarray_dec_ref
src/nb_ndarray.cpp:1041
↓ 7 callers
Function
ndarray_inc_ref
src/nb_ndarray.cpp:1005
↓ 7 callers
Function
optional
(arg: str, /)
tests/test_stl.py:9
↓ 7 callers
Method
stride
include/nanobind/ndarray.h:438
↓ 6 callers
Method
El
tests/test_stl_bind_vector.cpp:34
↓ 6 callers
Function
assert_sparse_equal_ref
(sparse_mat)
tests/test_eigen.py:296
next →
1–100 of 1,594, ranked by callers