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
getattr_doesnt_override_member
()
tests/test_proto_methods.rs:645
Function
getattr_intern
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_intern.rs:17
Function
getattribute_overrides_member
()
tests/test_proto_methods.rs:683
Method
getbuffer_must_be_unsafe
(&self, _view: *mut pyo3::ffi::Py_buffer, _flags: std::ffi::c_int)
tests/ui/invalid_pymethods_buffer.rs:9
Method
getset_getter
( slf: *mut ffi::PyObject, closure: *mut c_void,
src/pyclass/create_type_object.rs:700
Method
getset_setter
( slf: *mut ffi::PyObject, value: *mut ffi::PyObject,
src/pyclass/create_type_object.rs:710
Method
getter
( slf: *mut ffi::PyObject, closure: *mut c_void,
src/pyclass/create_type_object.rs:667
Function
getter_setter_autogen
()
tests/test_getter_setter.rs:111
Method
getter_with_arg
(&self, _py: Python<'_>, _index: u32)
tests/ui/invalid_property_args.rs:15
Method
getter_without_receiver
()
tests/ui/invalid_pymethods.rs:48
Function
gil_disabled_config_file_corner_cases
()
pyo3-build-config/src/impl_.rs:2959
Function
hammer_attaching_in_thread
()
pytests/src/misc.rs:23
Method
handle_kwargs
( &self, kwargs: I, varkeywords: &mut K::Varkeywords, num_positional_parameter
src/impl_/extract_argument.rs:719
Function
handle_result_in_new
()
tests/test_inheritance.rs:217
Method
handle_varargs_fastcall
( _py: Python<'py>, varargs: &[Option<PyArg<'py>>], function_description: &FunctionDes
src/impl_/extract_argument.rs:984
Method
handle_varargs_tuple
( args: &Bound<'py, PyTuple>, function_description: &FunctionDescription, )
src/impl_/extract_argument.rs:999
Method
handle_varkeyword
( _varkeywords: &mut Self::Varkeywords, name: PyArg<'py>, _value: PyArg<'py>,
src/impl_/extract_argument.rs:1064
Function
handle_zero
()
src/conversions/num_bigint.rs:624
Function
has_pyo3_module_declared
( attrs: &[syn::Attribute], root_attribute_name: &str, is_module_option: impl Fn(&T) -> bool + Cop
pyo3-macros-backend/src/module.rs:726
Method
hook
(&self, unraisable: Bound<'_, PyAny>)
tests/test_utils/mod.rs:194
Function
id_int
(slf: *mut PyObject)
pyo3-ffi/examples/sequential/src/id.rs:61
Function
id_new
( subtype: *mut PyTypeObject, args: *mut PyObject, kwds: *mut PyObject, )
pyo3-ffi/examples/sequential/src/id.rs:25
Function
id_repr
(slf: *mut PyObject)
pyo3-ffi/examples/sequential/src/id.rs:52
Function
id_richcompare
( slf: *mut PyObject, other: *mut PyObject, op: c_int, )
pyo3-ffi/examples/sequential/src/id.rs:67
Method
imag
(&self)
src/types/complex.rs:251
Function
immutable_type_object
()
tests/test_class_attributes.rs:96
Function
impl_trait_function
(_impl_trait: impl AsRef<PyAny>)
tests/ui/invalid_pyfunctions.rs:9
Method
impl_trait_method_first_arg
(_impl_trait: impl AsRef<PyAny>)
tests/ui/invalid_pymethods.rs:163
Method
impl_trait_method_second_arg
(&self, _impl_trait: impl AsRef<PyAny>)
tests/ui/invalid_pymethods.rs:166
Method
import
Imports an existing capsule. The `name` should match the path to the module attribute exactly in the form of `"module.attribute"`, which should be th
src/types/capsule.rs:395
Method
import
This is a shorthand method for `get_or_init` which imports the type from Python on init. # Example: Using `PyOnceLock` to store a class in a static v
src/sync/once_lock.rs:158
Method
import_pointer
Imports an existing capsule as a pointer. The `name` should match the path to the module attribute exactly in the form of `"module.attribute"`, which
src/types/capsule.rs:419
Method
incr
(&mut self, resolve: bool)
tests/test_coroutine.rs:289
Method
incref_failed
()
src/instance.rs:2146
Method
index
(&self, index: I)
src/types/bytes.rs:248
Method
index
(&self, value: V)
src/types/tuple.rs:328
Method
index
(&self, value: V)
src/types/sequence.rs:299
Function
indexable
()
tests/test_arithmetics.rs:99
Function
inherit_dict
()
tests/test_inheritance.rs:303
Function
inherit_dict_drop
()
tests/test_inheritance.rs:316
Function
inherit_list
()
tests/test_inheritance.rs:462
Function
inherit_set
()
tests/test_inheritance.rs:273
Function
inherit_tzinfo
()
tests/test_inheritance.rs:407
Function
inheritance_with_new_methods
()
tests/test_inheritance.rs:134
Function
inheritance_with_new_methods_with_drop
()
tests/test_gc.rs:256
Function
inherited_dict
()
tests/test_class_basics.rs:565
Function
inherited_weakref
()
tests/test_class_basics.rs:637
Function
init
()
pytests/src/othermod.rs:43
Function
init
~^ ERROR: `#[pyfunction]` cannot be used alongside `#[pymodule_init]`
tests/ui/invalid_pymodule_init_pyfunction.rs:10
Function
init
()
tests/ui/invalid_pymodule_init_return.rs:6
Function
init
(_m: &Bound<'_, PyModule>)
tests/ui/invalid_pymodule_two_pymodule_init.rs:8
Function
init
(_m: &Bound<'_, PyModule>, _extra: usize)
tests/ui/invalid_pymodule_init_args.rs:8
Function
init2
(_m: &Bound<'_, PyModule>)
tests/ui/invalid_pymodule_two_pymodule_init.rs:13
Function
init_module
(m: &Bound<'_, PyModule>)
tests/test_module.rs:49
Method
init_multi_phase
(&'static self)
src/impl_/pymodule.rs:121
Method
initialize
()
src/marker.rs:475
Function
initialize_tss
()
src/platform/thread/thread_local.rs:103
Function
inner
Inner function to convert the field value at the given offset # Safety - mutable aliasing is prevented by the caller - value of type `FieldT` must ex
src/impl_/pyclass.rs:1412
Method
inner
( any: &'a Bound<'py, PyAny>, )
src/instance.rs:167
Method
inner
(&'a self)
src/sync.rs:822
Method
inner
( module: &Bound<'_, PyModule>, name: Borrowed<'_, '_, PyString>, value: B
src/types/module.rs:504
Method
inner
( py: Python<'_>, type_ptr: *mut PyTypeObject, subtype: *mut PyTypeObject,
src/internal/pyclass_init.rs:39
Method
inplace_add
(&self, other: &mut MethodWithPyClassArg)
tests/test_methods.rs:861
Method
inplace_add_pyref
(&self, mut other: PyRefMut<'_, MethodWithPyClassArg>)
tests/test_methods.rs:864
Function
inplace_arith
()
tests/test_arithmetics.rs:793
Function
inplace_bitwise
()
tests/test_arithmetics.rs:784
Function
inplace_operations
()
tests/test_arithmetics.rs:164
Method
instance
(py: Python<'_>)
tests/test_gc.rs:1112
Function
instance_dict_slot_is_not_clobbered
()
tests/test_class_basics.rs:513
Function
instance_method
()
tests/test_methods.rs:36
Method
instance_method
(&self, #[pyo3(from_py_with = get_length)] argument: usize)
tests/test_class_basics.rs:363
Function
instance_method_with_args
()
tests/test_methods.rs:76
Function
int_from_le_bytes
( py: Python<'py>, bytes: &[u8], )
src/conversions/std/num.rs:694
Function
int_from_ne_bytes
( py: Python<'py>, bytes: &[u8], )
src/conversions/std/num.rs:706
Function
int_not_iterable
()
src/types/iterator.rs:330
Function
int_to_u32_vec
(long: &Bound<'_, PyInt>)
src/conversions/num_bigint.rs:421
Function
int_wrapper_from_py
(v: &Bound<'_, PyAny>)
tests/test_frompy_intopy_roundtrip.rs:207
Function
int_wrapper_into_py
( v: std::borrow::Cow<'_, IntWrapper>, py: Python<'py>, )
tests/test_frompy_intopy_roundtrip.rs:200
Method
intern
Intern the given string This will return a reference to the same Python string object if called repeatedly with the same string. Note that while thi
src/types/string.rs:214
Method
interned
(&self)
pyo3-ffi/src/cpython/unicodeobject.rs:166
Function
into
(_a: String, _py: pyo3::Python<'_>)
tests/ui/invalid_intopy_with.rs:11
Method
into_inner
Consumes this mutex, returning the underlying data.
src/sync/nonpoison.rs:94
Method
into_inner
Consumes the cell, returning the wrapped value. Returns None if the cell has not yet been written.
src/sync/once_lock.rs:107
Method
into_iter
Returns an iterator over the `(key, value)` pairs in this frozendict.
src/types/frozendict.rs:327
Method
into_iter
Returns an iterator of values in this set.
src/types/frozenset.rs:191
Method
into_iter
(self)
src/types/iterator.rs:156
Method
into_mapping
(self)
src/types/frozendict.rs:251
Method
into_new_object
( self, py: Python<'_>, subtype: *mut PyTypeObject, )
src/internal/pyclass_init.rs:34
Method
into_ptr
(self)
src/instance.rs:864
Method
into_pyobject
(self, _py: Python<'py>)
src/pycell.rs:491
Method
into_pyobject
(self, py: Python<'py>)
src/types/slice.rs:159
Method
into_pyobject
(self, py: Python<'py>)
src/types/float.rs:105
Method
into_pyobject
(self, py: Python<'py>)
src/types/boolobject.rs:167
Method
into_pyobject
(self, _py: Python<'py>)
src/types/bytes/writer.rs:153
Method
into_pyobject
(self, py: Python<'py>)
src/conversions/rust_decimal.rs:102
Method
into_pyobject
(self, py: Python<'py>)
src/conversions/std/option.rs:22
Method
into_pyobject
(self, py: Python<'py>)
src/conversions/std/cell.rs:16
Method
into_result
(self)
src/impl_/pymodule.rs:497
Function
intopytuple_primitive
()
tests/test_various.rs:64
Function
intopytuple_pyclass
()
tests/test_various.rs:78
← previous
next →
2,701–2,800 of 4,885, ranked by callers