Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyO3/pyo3
/ functions
Functions
4,885 in github.com/PyO3/pyo3
⨍
Functions
4,885
◇
Types & classes
1,305
↳
Endpoints
2
Function
invalid_attr
()
src/instance.rs:2534
Function
invalid_attribute
(#[pyo3(get)] _param: String)
tests/ui/invalid_argument_attributes.rs:4
Function
invalid_error_type
()
src/err/mod.rs:813
Function
invalid_pyfunction_argument
(arg: AtomicPtr<()>)
tests/ui/invalid_pyfunction_argument.rs:9
Method
invalid_text_signature
~^ ERROR: expected a string literal or `None`
tests/ui/invalid_pymethods.rs:82
Function
invoke_wrap_pyfunction
()
src/tests/hygiene/pyfunction.rs:28
Function
io_err
()
tests/test_exceptions.rs:93
Function
io_errors
()
src/err/impls.rs:214
Method
is_callable
(&self)
src/types/any.rs:1070
Method
is_cross_compiling_from_to
Checks if compiling on `host` for `target` required "real" cross compilation. Returns `false` if the target Python interpreter can run on the host.
pyo3-build-config/src/impl_.rs:1743
Function
is_disjoint_base
Whether `T` is laid out differently from its base class, making it a [disjoint base](https://peps.python.org/pep-0800/) at runtime.
src/impl_/introspection.rs:54
Function
is_disjoint_base_matches_runtime_layout
()
src/impl_/introspection.rs:211
Method
is_empty
(&self)
src/types/dict.rs:235
Method
is_empty
(&self)
src/types/frozendict.rs:184
Method
is_empty
(&self)
src/types/bytearray.rs:275
Method
is_empty
Checks if set is empty.
src/types/frozenset.rs:139
Method
is_empty
(&self)
src/types/mappingproxy.rs:86
Method
is_empty
(&self)
src/types/any.rs:1157
Method
is_empty
(&self)
src/types/tuple.rs:275
Method
is_empty
(&self)
src/types/sequence.rs:175
Method
is_empty
Checks if the list is empty.
src/types/list.rs:266
Method
is_empty
(&self)
src/types/mapping.rs:129
Method
is_empty
Checks if set is empty.
src/types/set.rs:109
Function
is_even
(obj: &Bound<'_, PyAny>)
tests/test_class_basics.rs:354
Method
is_exact_instance
(&self, ty: &Bound<'py, PyAny>)
src/types/any.rs:1264
Method
is_exact_instance_of
(&self)
src/types/any.rs:1274
Method
is_exact_type_of
(object: &Bound<'_, PyAny>)
src/type_object.rs:75
Method
is_exact_type_of
(object: &Bound<'_, PyAny>)
src/types/notimplemented.rs:45
Method
is_exact_type_of
(object: &Bound<'_, PyAny>)
src/types/none.rs:45
Method
is_exact_type_of
(object: &Bound<'_, PyAny>)
src/types/ellipsis.rs:45
Method
is_instance_of
(&self)
src/types/any.rs:1269
Method
is_instance_of
(&self, py: Python<'_>)
src/err/mod.rs:441
Method
is_locked
(&self)
src/sync/mutex.rs:188
Method
is_locked
(&self)
src/sync/nonpoison.rs:87
Function
is_matching_endian
(c: u8)
src/buffer.rs:202
Method
is_numeric_type
(t: &syn::Ident)
pyo3-macros-backend/src/pyclass.rs:609
Function
is_subclass_and_is_instance
()
tests/test_inheritance.rs:174
Method
is_subclass_of
Checks whether `self` is a subclass of type `T`. Equivalent to the Python expression `issubclass(self, T)`, if the type `T` is known at compile time.
src/types/typeobject.rs:210
Method
is_truthy
Returns whether the object is considered to be true. This applies truth value testing equivalent to the Python expression `bool(self)`.
src/instance.rs:1865
Method
is_type_of
(object: &Bound<'_, PyAny>)
src/type_object.rs:67
Method
is_type_of
(object: &Bound<'_, PyAny>)
src/types/notimplemented.rs:39
Method
is_type_of
(object: &Bound<'_, PyAny>)
src/types/sequence.rs:38
Method
is_type_of
(object: &Bound<'_, PyAny>)
src/types/none.rs:39
Method
is_type_of
(object: &Bound<'_, PyAny>)
src/types/mapping.rs:40
Method
is_type_of
(object: &Bound<'_, PyAny>)
src/types/ellipsis.rs:39
Method
is_valid_checked
(&self, name: Option<&CStr>)
src/types/capsule.rs:560
Function
issue_219
()
pytests/src/misc.rs:9
Method
item_name
these are anonymous fields and structs in CPython that we needed to invent names for. Bindgen seems to generate stable names, so we remap the automati
pyo3-ffi-check/definitions/build.rs:14
Function
iter_dict
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_dict.rs:9
Function
iter_item_refcnt
()
src/types/iterator.rs:217
Function
iter_list
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_list.rs:9
Function
iter_mappingproxy_nosegv
()
src/types/mappingproxy.rs:555
Function
iter_next_output_type
()
src/impl_/pymethods.rs:738
Function
iter_refcnt
()
src/types/iterator.rs:194
Function
iter_set
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_set.rs:20
Function
iter_tuple
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_tuple.rs:8
Function
iterator
()
tests/test_proto_methods.rs:438
Function
keyword_names
()
tests/test_class_basics.rs:143
Function
keyword_not_string
()
src/impl_/extract_argument.rs:1153
Function
keywords
(_kwargs: Option<&Bound<'_, types::PyDict>>)
tests/test_pyfunction.rs:824
Method
lazy
(f: Box<PyErrStateLazyFn>)
src/err/err_state.rs:37
Method
lazy_arguments
(ptype: Py<PyAny>, args: impl PyErrArguments + 'static)
src/err/err_state.rs:41
Method
le
(&self, other: O)
src/types/any.rs:991
Function
len_overflow
()
tests/test_proto_methods.rs:234
Function
length_hint_becomes_size_hint_lower_bound
()
src/types/iterator.rs:412
Function
length_hint_error
()
src/types/iterator.rs:423
Function
lets_go_fast
()
pyo3-ffi/examples/sequential/tests/test.rs:20
Function
lhs_fellback_to_rhs
()
tests/test_arithmetics.rs:496
Method
line_number
(&self)
src/types/frame.rs:93
Function
list_get_item
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_list.rs:30
Function
list_get_item_unchecked
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_list.rs:69
Function
list_new
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_list.rs:23
Function
list_nth
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_list.rs:43
Function
list_nth_back
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_list.rs:56
Function
list_via_cast
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_frompyobject.rs:26
Function
list_via_extract
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_frompyobject.rs:34
Function
local_binding_named_like_the_root_module_is_kept
()
pyo3-introspection/src/stubs.rs:1399
Method
lock
(&self)
src/platform/sync.rs:105
Method
locked_for_each
(&self, f: F)
src/types/dict.rs:322
Method
locked_for_each
Iterates over a list while holding a critical section, calling a closure on each item
src/types/list.rs:431
Method
lt
(&self, other: O)
src/types/any.rs:983
Function
m
(m: &Bound<'_, PyModule>)
tests/test_pyfunction.rs:693
Method
macro_doc
With mixed doc types.
tests/test_macro_docs.rs:19
Function
main
()
build.rs:70
Function
main
()
pyo3-macros-backend/build.rs:4
Function
main
()
pyo3-ffi-check/build.rs:1
Function
main
()
pyo3-ffi-check/definitions/build.rs:38
Function
main
()
pyo3-ffi-check/src/main.rs:14
Function
main
()
pytests/build.rs:4
Function
main
()
pyo3-ffi/build.rs:390
Function
main
()
pyo3-ffi/examples/sequential/build.rs:1
Function
main
()
pyo3-ffi/examples/string-sum/build.rs:1
Function
main
()
pyo3-introspection/src/main.rs:8
Function
main
()
pyo3-benches/build.rs:1
Function
main
()
tests/test_compile_error.rs:10
Function
main
()
tests/ui/invalid_async.rs:23
Function
main
()
tests/ui/invalid_proto_pymethods.rs:73
Function
main
()
tests/ui/abi3_inheritance.rs:12
Function
main
()
tests/ui/invalid_pyclass_init.rs:14
Function
main
()
tests/ui/immutable_type.rs:7
← previous
next →
2,801–2,900 of 4,885, ranked by callers