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
Method
__init__
( self_: &Bound<'_, Self>, args: &Bound<'_, PyTuple>, kwargs: Option<&Bound<'_, PyDict
pytests/src/pyclasses.rs:214
Method
__init__
(self, path)
pytests/tests/test_path.py:40
Method
__init__
(self, worker_id: int, iteration: int)
pytests/tests/test_misc.py:91
Method
__init__
(self, x: int)
pytests/tests/test_comparisons.py:19
Method
__init__
(self, x: int)
pytests/tests/test_comparisons.py:89
Method
__init__
(self, x: int)
pytests/tests/test_comparisons.py:136
Method
__init__
(self, x: int)
pytests/tests/test_comparisons.py:207
Method
__init__
(&mut self)
tests/test_class_init.rs:17
Method
__init__
(&self)
tests/ui/invalid_pyclass_init.rs:8
Method
__init__
(self, value: int)
examples/setuptools-rust-starter/setuptools_rust_starter/__init__.py:14
Method
__init__
(self, value: int)
examples/meson-starter/meson_starter/__init__.py:14
Method
__init__
(self, value: int)
examples/maturin-starter/maturin_starter/__init__.py:14
Method
__inplace_concat__
(mut slf: PyRefMut<'_, Self>, other: &Self)
tests/test_sequence.rs:78
Method
__inplace_repeat__
(mut slf: PyRefMut<'_, Self>, count: isize)
tests/test_sequence.rs:95
Method
__int__
(&self)
pytests/src/pyclasses.rs:408
Method
__int__
(&self)
src/tests/hygiene/pymethods.rs:300
Method
__int__
(&self)
tests/test_arithmetics.rs:85
Method
__invert__
(&self)
pytests/src/pyclasses.rs:404
Method
__invert__
(slf: crate::pycell::PyRef<'_, Self>)
src/tests/hygiene/pymethods.rs:289
Method
__invert__
(&self)
tests/test_arithmetics.rs:37
Method
__ior__
(&mut self, other: &Self)
src/tests/hygiene/pymethods.rs:275
Method
__ior__
(&mut self, other: u32)
tests/test_arithmetics.rs:154
Method
__ipow__
(&mut self, _other: &Self, modulo: ::core::option::Option<i32>)
src/tests/hygiene/pymethods.rs:265
Method
__ipow__
(&mut self, other: u32, _modulo: Option<u32>)
tests/test_arithmetics.rs:158
Method
__irshift__
(&mut self, other: &Self)
src/tests/hygiene/pymethods.rs:269
Method
__irshift__
(&mut self, other: u32)
tests/test_arithmetics.rs:142
Method
__irsub__
(&mut self, other: &Self)
src/tests/hygiene/pymethods.rs:255
Method
__isub__
(&mut self, other: u32)
tests/test_arithmetics.rs:130
Method
__iter__
(slf: PyRef<'_, Self>)
pytests/src/pyclasses.rs:69
Method
__iter__
(pyself: PyRef<'_, Self>)
pytests/src/awaitable.rs:34
Method
__iter__
(_: crate::pycell::PyRef<'_, Self>, py: crate::Python<'_>)
src/tests/hygiene/pymethods.rs:126
Method
__iter__
(slf: PyRef<'_, Self>)
tests/test_proto_methods.rs:428
Method
__iter__
(slf: PyRef<'_, Self>)
tests/test_pyself.rs:62
Method
__itruediv__
(&mut self, _other: &Self)
src/tests/hygiene/pymethods.rs:259
Method
__itruediv__
(&mut self, _other: PyRef<'_, Self>)
tests/test_arithmetics.rs:695
Method
__ixor__
(&mut self, other: &Self)
src/tests/hygiene/pymethods.rs:273
Method
__ixor__
(&mut self, other: u32)
tests/test_arithmetics.rs:150
Method
__le__
(&self, other: &Self)
pytests/src/comparisons.rs:65
Method
__le__
(self, other: Self)
pytests/tests/test_comparisons.py:213
Method
__le__
(&self, other: &Self)
pyo3-benches/benches/bench_comparisons.rs:14
Method
__le__
(&self, other: &Self)
src/tests/hygiene/pymethods.rs:35
Method
__len__
(&self)
pytests/src/pyclasses.rs:25
Method
__len__
(self)
pytests/tests/test_pyclasses.py:30
Method
__len__
(&self)
src/tests/hygiene/pymethods.rs:114
Method
__len__
(&self)
tests/test_proto_methods.rs:228
Method
__len__
(&self)
tests/test_mapping.rs:39
Method
__len__
(cls: &Bound<'_, PyType>)
tests/test_methods.rs:139
Method
__len__
(&self)
tests/test_sequence.rs:37
Method
__len__
()
tests/test_static_slots.rs:22
Method
__lshift__
(&self, other: &Self)
pytests/src/pyclasses.rs:372
Method
__lshift__
(&self, other: &Self)
src/tests/hygiene/pymethods.rs:181
Method
__lshift__
(&self, rhs: &Bound<'_, PyAny>)
tests/test_arithmetics.rs:240
Method
__lt__
(&self, other: &Self)
pytests/src/comparisons.rs:61
Method
__lt__
(self, other: Self)
pytests/tests/test_comparisons.py:210
Method
__lt__
(&self, other: &Self)
pyo3-benches/benches/bench_comparisons.rs:10
Method
__lt__
(&self, other: &Self)
src/tests/hygiene/pymethods.rs:31
Method
__matmul__
(&self, other: &Self)
pytests/src/pyclasses.rs:344
Method
__matmul__
(&self, rhs: &Bound<'_, PyAny>)
tests/test_arithmetics.rs:220
Method
__mod__
(&self, other: &Self)
pytests/src/pyclasses.rs:356
Method
__mod__
(&self, _other: &Self)
src/tests/hygiene/pymethods.rs:169
Method
__mod__
(&self, rhs: &Bound<'_, PyAny>)
tests/test_arithmetics.rs:232
Method
__mul__
(&self, other: &Self)
pytests/src/pyclasses.rs:340
Method
__mul__
(&self, other: &Self)
src/tests/hygiene/pymethods.rs:157
Method
__mul__
(&self, rhs: &Bound<'_, PyAny>)
tests/test_arithmetics.rs:216
Method
__name__
(&self, py: Python<'_>)
src/coroutine.rs:129
Method
__ne__
(&self, other: &Self)
pytests/src/comparisons.rs:19
Method
__ne__
(self, other: object)
pytests/tests/test_comparisons.py:150
Method
__ne__
(&self, other: &Self)
pyo3-benches/benches/bench_comparisons.rs:22
Method
__ne__
(&self, other: &Self)
src/tests/hygiene/pymethods.rs:41
Method
__neg__
(&self)
pytests/src/pyclasses.rs:392
Method
__neg__
(slf: crate::pycell::PyRef<'_, Self>)
src/tests/hygiene/pymethods.rs:277
Method
__neg__
(&self)
tests/test_arithmetics.rs:25
Method
__new__
(args: &Bound<'_, PyTuple>, kwargs: Option<&Bound<'_, PyDict>>)
pytests/src/pyclasses.rs:209
Method
__new__
()
pytests/src/buf_and_str.rs:20
Method
__new__
(cls)
pytests/tests/test_pyclasses.py:147
Method
__new__
(a: i32, b: Option<i32>, c: i32)
tests/test_text_signature.rs:47
Method
__new__
()
tests/test_class_init.rs:99
Method
__new__
(wraps: Py<PyAny>)
examples/decorator/src/lib.rs:27
Method
__new__
()
examples/setuptools-rust-starter/src/submodule.rs:9
Method
__new__
()
examples/meson-starter/src/submodule.rs:9
Method
__new__
()
examples/maturin-starter/src/submodule.rs:9
Method
__next__
(&mut self)
pytests/src/pyclasses.rs:45
Method
__next__
(&mut self, py: Python<'_>)
src/coroutine.rs:166
Method
__next__
(&mut self)
src/tests/hygiene/pymethods.rs:130
Method
__next__
(mut slf: PyRefMut<'_, Self>)
tests/test_proto_methods.rs:432
Method
__next__
(mut slf: PyRefMut<'_, Self>)
tests/test_pyself.rs:66
Method
__or__
(&self, other: &Self)
pytests/src/pyclasses.rs:380
Method
__or__
(&self, other: &Self)
src/tests/hygiene/pymethods.rs:197
Method
__or__
(&self, rhs: &Bound<'_, PyAny>)
tests/test_arithmetics.rs:256
Method
__pos__
(slf: PyRef<'_, Self>)
pytests/src/pyclasses.rs:388
Method
__pos__
(slf: crate::pycell::PyRef<'_, Self>)
src/tests/hygiene/pymethods.rs:281
Method
__pos__
(&self)
tests/test_arithmetics.rs:29
Method
__pow__
(&self, other: &Self, modulo: Option<&Self>)
pytests/src/pyclasses.rs:364
Method
__pow__
(&self, _other: &Self, modulo: ::core::option::Option<i32>)
src/tests/hygiene/pymethods.rs:177
Method
__pow__
(&self, rhs: &Bound<'_, PyAny>, mod_: Option<u32>)
tests/test_arithmetics.rs:260
Method
__qualname__
(&self, py: Python<'py>)
src/coroutine.rs:137
Method
__radd__
(&self, other: &Self)
src/tests/hygiene/pymethods.rs:201
Method
__radd__
(&self, other: &Bound<'_, PyAny>)
tests/test_arithmetics.rs:329
Method
__rand__
(&self, other: &Self)
src/tests/hygiene/pymethods.rs:241
Method
__rand__
(&self, other: &Bound<'_, PyAny>)
tests/test_arithmetics.rs:349
← previous
next →
1,701–1,800 of 4,885, ranked by callers