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
replace_explicit
(m)
noxfile.py:1061
Method
report
(&self)
pyo3-build-config/src/errors.rs:45
Function
require_feature_enabled
Generic function to configure a revision to require a given feature to be enabled or disabled (`custom_comments` requires function pointers).
tests/test_compile_error.rs:201
Function
required_optional_class
(arg: Option<&MyClass>)
tests/test_pyfunction.rs:101
Function
required_optional_str
(arg: Option<&str>)
tests/test_pyfunction.rs:80
Method
restore
(self, py: Python<'_>)
src/err/err_state.rs:60
Function
restore_error_callback
(py: Python<'_>, _event: ContextEvent<'_, '_>)
src/types/context.rs:573
Function
result_conversion_function
()
tests/test_various.rs:196
Function
return_custom_class
Checks that we can use return a custom class in arbitrary function and use those functions both in rust and python
tests/test_various.rs:52
Function
return_enum
()
tests/test_enum.rs:69
Function
return_my_value_error
(py: Python<'py>)
pytests/src/exception.rs:45
Function
return_pyerr
()
pytests/src/exception.rs:52
Function
return_tuple
()
tests/test_coroutine.rs:134
Function
return_value_borrows_from_arguments
( py: Python<'py>, key: &'py Key, value: &'py Value, )
tests/test_pyfunction.rs:614
Function
return_value_error
(py: Python<'py>)
pytests/src/exception.rs:38
Function
returns_unit
()
tests/test_coroutine.rs:44
Function
reverse_arith
()
tests/test_arithmetics.rs:771
Function
rhs_arithmetic
()
tests/test_arithmetics.rs:367
Function
rich_comparisons
()
tests/test_arithmetics.rs:572
Function
rich_comparisons_python_3_type_error
()
tests/test_arithmetics.rs:605
Function
ruff
(session: nox.Session)
noxfile.py:269
Function
rumdl
Run rumdl to check markdown formatting in the guide. Can also run with uv directly, e.g. `uv run rumdl check guide`.
noxfile.py:275
Function
run
()
pytests/tests/test_pyfunctions.py:105
Function
run_closure
( capsule_ptr: *mut ffi::PyObject, args: *mut ffi::PyObject, kwargs: *mut ffi::PyObject, )
src/types/function.rs:146
Function
run_rust_sequential_twice
( executor: ThreadPoolExecutor, contents: str, needle: str )
examples/word-count/tests/test_word_count.py:50
Function
runtime_is_disjoint_base
The condition `mypy.stubtest` checks, from the runtime type objects.
src/impl_/introspection.rs:201
Function
rust_backed_bytes_into_pyobject
()
src/pybacked.rs:537
Function
rust_fib
()
src/conversions/num_bigint.rs:534
Function
rust_name_of_renamed
()
pytests/src/pyfunctions.rs:14
Function
rustfmt
(session: nox.Session)
noxfile.py:262
Function
rustpython_default_abi_sets_free_threaded_flag
()
pyo3-build-config/src/impl_.rs:4730
Function
rustpython_default_config_roundtrip
()
pyo3-build-config/src/impl_.rs:4741
Function
search
(contents: &str, needle: &str)
examples/word-count/src/lib.rs:6
Function
search_py
(contents: str, needle: str)
examples/word-count/word_count/__init__.py:11
Function
search_sequential_detached
(py: Python<'_>, contents: &str, needle: &str)
examples/word-count/src/lib.rs:20
Method
send
(&mut self, py: Python<'_>, _value: &Bound<'_, PyAny>)
src/coroutine.rs:148
Function
send_generator
()
src/types/iterator.rs:265
Function
sequence
()
tests/test_proto_methods.rs:375
Method
sequence_extractor
( _obj: Borrowed<'_, 'py, PyAny>, _: private::Token, )
src/conversion.rs:412
Method
sequence_extractor
( obj: Borrowed<'_, 'py, PyAny>, _: crate::conversion::private::Token, )
src/conversions/std/num.rs:262
Function
sequence_from_list
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_list.rs:87
Function
sequence_from_tuple
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_tuple.rs:92
Function
sequence_is_not_mapping
()
tests/test_sequence.rs:376
Function
sequence_length
()
tests/test_sequence.rs:395
Function
sequence_operators_use_distinct_slots
()
tests/test_sequence.rs:279
Function
sequential_exec
(module: *mut PyObject)
pyo3-ffi/examples/sequential/src/module.rs:70
Function
sequential_free
(module: *mut c_void)
pyo3-ffi/examples/sequential/src/module.rs:105
Function
sequential_traverse
( module: *mut PyObject, visit: visitproc, arg: *mut c_void, )
pyo3-ffi/examples/sequential/src/module.rs:84
Method
serialize
(&self, serializer: S)
src/conversions/serde.rs:23
Method
set
(&mut self, _v: i32)
src/tests/hygiene/pymethods.rs:406
Function
set_attr
()
pytests/tests/test_pyclasses.py:203
Method
set_attr
(&mut self, value: usize)
pytests/src/pyclasses.rs:250
Function
set_coverage_env
For use in GitHub Actions to set coverage environment variables.
noxfile.py:222
Method
set_data
(&mut self, value: i32)
tests/test_getter_setter.rs:29
Method
set_field
(&mut self, field: Option<u32>)
tests/test_getter_setter.rs:300
Method
set_from_any
(&mut self, value: &Bound<'_, PyAny>)
tests/test_getter_setter.rs:50
Method
set_from_len
(&mut self, #[pyo3(from_py_with = extract_len)] value: i32)
tests/test_getter_setter.rs:45
Method
set_item
(&self, i: usize, item: I)
src/types/sequence.rs:233
Function
set_msrv_package_versions
(session: nox.Session)
noxfile.py:1314
Function
set_new
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_set.rs:10
Method
set_num
(mut slf: PyRefMut<'_, Self>, value: i32)
tests/test_getter_setter.rs:145
Method
set_other
(&self, mut other: PyRefMut<'_, MutRefArg>)
tests/test_various.rs:21
Method
set_to_list
(&self, set: &Bound<'py, PySet>)
tests/test_methods.rs:819
Method
set_traceback
Set the traceback associated with the exception, pass `None` to clear it.
src/err/mod.rs:268
Function
set_typeerror
()
src/err/mod.rs:829
Method
set_unwrapped
(&mut self, value: i32)
tests/test_getter_setter.rs:40
Method
set_value
(&mut self, value: i32)
src/tests/hygiene/pymethods.rs:512
Method
set_value
(&mut self, value: i32)
tests/test_methods.rs:1355
Method
set_value
(&mut self, new_value: i32)
tests/test_coroutine.rs:352
Function
set_valueerror
()
src/err/mod.rs:800
Function
setdelitem
()
tests/test_proto_methods.rs:561
Function
setitem
()
tests/test_proto_methods.rs:500
Method
setter
( slf: *mut ffi::PyObject, value: *mut ffi::PyObject,
src/pyclass/create_type_object.rs:679
Method
setter_with_no_arg
(&mut self, _py: Python<'_>)
tests/ui/invalid_property_args.rs:25
Method
setter_with_too_many_args
(&mut self, _py: Python<'_>, _foo: u32, _bar: u32)
tests/ui/invalid_property_args.rs:32
Method
setter_without_receiver
()
tests/ui/invalid_pymethods.rs:55
Function
sextuple
(x: usize)
tests/test_declarative_module.rs:367
Function
should_not_work
()
tests/ui/invalid_result_conversion.rs:26
Method
signature_attribute_allowed
(&self)
pyo3-macros-backend/src/method.rs:257
Function
signature_contains_py
~^ ERROR: arguments of type `Python` must not be part of the signature
tests/ui/invalid_pyfunction_signatures.rs:58
Method
signature_is_forbidden
~^ ERROR: `signature` cannot be used with magic method `__bool__`
tests/ui/invalid_proto_pymethods.rs:42
Method
signature_on_classattr
~^ ERROR: `signature` not allowed with `classattr`
tests/ui/invalid_pymethods.rs:105
Method
signature_on_getter
~^ ERROR: `signature` not allowed with `getter`
tests/ui/invalid_pymethods.rs:95
Method
signature_on_setter
~^ ERROR: `signature` not allowed with `setter`
tests/ui/invalid_pymethods.rs:100
Function
simple
( a: Any<'py>, b: Option<Any<'py>>, c: Option<Any<'py>>, )
pytests/src/pyfunctions.rs:23
Function
simple_args
( a: Any<'py>, b: Option<Any<'py>>, args: Tuple<'py>, c: Option<Any<'py>>, )
pytests/src/pyfunctions.rs:32
Function
simple_args_kwargs
( a: Any<'py>, b: Option<Any<'py>>, args: Tuple<'py>, c: Option<Any<'py>>, kwargs: Option<
pytests/src/pyfunctions.rs:57
Function
simple_kwargs
( a: Any<'py>, b: Option<Any<'py>>, c: Option<Any<'py>>, kwargs: Option<Dict<'py>>, )
pytests/src/pyfunctions.rs:42
Method
size_hint
(&self)
src/types/dict.rs:552
Method
size_hint
(&self)
src/types/frozendict.rs:302
Method
size_hint
(&self)
src/types/tuple.rs:415
Method
size_hint
(&self)
src/conversions/num_bigint.rs:114
Method
size_hint
(&self)
src/conversions/std/num.rs:512
Function
sleep_0
()
tests/test_coroutine.rs:95
Function
sleep_0_like_coroutine
()
tests/test_coroutine.rs:93
Function
sleep_coroutine
()
tests/test_coroutine.rs:125
Function
sleep_loop
(#[pyo3(cancel_handle)] cancel: CancelHandle)
tests/test_coroutine.rs:215
Method
some_field
(&self)
tests/test_frompyobject.rs:343
Function
some_name
(m: &Bound<'_, PyModule>)
tests/test_module.rs:227
Function
some_wrap_arguments
( a: Option<u8>, b: Option<u8>, c: Option<u8>, d: Option<u8>, )
tests/test_pyfunction.rs:646
← previous
next →
3,401–3,500 of 4,885, ranked by callers