MCPcopy Create free account

hub / github.com/PyO3/pyo3 / functions

Functions4,885 in github.com/PyO3/pyo3

↓ 1 callersFunctionrun_code
()
pyo3-ffi/examples/sequential/tests/test.rs:122
↓ 1 callersMethodrun_python_script_with_envs
Run a python script using the [`InterpreterConfig::executable`] with additional environment variables (e.g. PYTHONPATH) set. # Panics This function
pyo3-build-config/src/impl_.rs:884
↓ 1 callersFunctionsanitize_stable_abi_version
( stable_abi_version: Option<PythonVersion>, version: PythonVersion, )
pyo3-build-config/src/impl_.rs:77
↓ 1 callersFunctionsay_hello
()
examples/decorator/tests/example.py:5
↓ 1 callersFunctionsearch_lib_dir
recursive search for _sysconfigdata, returns all possibilities of sysconfigdata paths
pyo3-build-config/src/impl_.rs:2249
↓ 1 callersFunctionsearch_sequential
(contents: &str, needle: &str)
examples/word-count/src/lib.rs:15
↓ 1 callersMethodself_conversion_policy
(mut self, policy: SelfConversionPolicy)
pyo3-macros-backend/src/pymethod.rs:1786
↓ 1 callersFunctionsequential_clear
(module: *mut PyObject)
pyo3-ffi/examples/sequential/src/module.rs:99
↓ 1 callersMethodserialize
(self, pyo3_crate_path: &PyO3CratePath)
pyo3-macros-backend/src/introspection.rs:388
↓ 1 callersMethodserialize_elts
(&self, elts: &[Expr], buffer: &mut String)
pyo3-introspection/src/stubs.rs:623
↓ 1 callersFunctionserialize_type_hint
(hint: TokenStream, pyo3_crate_path: &PyO3CratePath)
pyo3-macros-backend/src/introspection.rs:508
↓ 1 callersFunctionserialized_container_len_for_introspection
(elts: &[PyStaticExpr])
src/inspect.rs:410
↓ 1 callersFunctionserialized_len_for_introspection
(expr: &PyStaticExpr)
src/inspect.rs:225
↓ 1 callersMethodset_ascii
(&mut self, val: c_uint)
pyo3-ffi/src/cpython/unicodeobject.rs:210
↓ 1 callersMethodset_bit
(&mut self, index: usize, val: bool)
pyo3-ffi/src/cpython/unicodeobject.rs:58
↓ 1 callersMethodset_compact
(&mut self, val: c_uint)
pyo3-ffi/src/cpython/unicodeobject.rs:198
↓ 1 callersMethodset_context
Set the context associated with the exception, pass `None` to clear it.
src/err/mod.rs:625
↓ 1 callersMethodset_crate
(&mut self, path: CrateAttribute)
pyo3-macros-backend/src/pyimpl.rs:71
↓ 1 callersFunctionset_data
(data: &Mutex<Py<PyByteArray>>, new: Bound<'_, PyByteArray>)
src/types/bytearray.rs:519
↓ 1 callersMethodset_default
(&self, key: K, default_value: V)
src/types/dict.rs:361
↓ 1 callersMethodset_default_with_result
( &self, key: K, default_value: V, )
src/types/dict.rs:382
↓ 1 callersMethodset_interned
(&mut self, val: c_uint)
pyo3-ffi/src/cpython/unicodeobject.rs:174
↓ 1 callersMethodset_is_basetype
(mut self, is_basetype: bool)
src/pyclass/create_type_object.rs:309
↓ 1 callersMethodset_item
(&self, key: K, value: V)
src/types/mapping.rs:149
↓ 1 callersMethodset_kind
(&mut self, val: c_uint)
pyo3-ffi/src/cpython/unicodeobject.rs:186
↓ 1 callersFunctionset_module_attribute
(attrs: &mut Vec<syn::Attribute>, module_name: &str)
pyo3-macros-backend/src/module.rs:722
↓ 1 callersMethodset_name
(&mut self, name: NameAttribute)
pyo3-macros-backend/src/konst.rs:93
↓ 1 callersMethodset_option
(&mut self, option: ContainerAttribute)
pyo3-macros-backend/src/derive_attributes.rs:75
↓ 1 callersMethodset_ptraceback
(&self, py: Python<'py>, tb: Option<Bound<'py, PyTraceback>>)
src/err/err_state.rs:191
↓ 1 callersMethodset_ready
(&mut self, val: c_uint)
pyo3-ffi/src/cpython/unicodeobject.rs:244
↓ 1 callersMethodset_result
(&self, py: Python<'_>)
src/coroutine/waker.rs:71
↓ 1 callersMethodset_slice
(&self, i1: usize, i2: usize, v: &Bound<'_, PyAny>)
src/types/sequence.rs:252
↓ 1 callersMethodset_slice
(&self, low: usize, high: usize, seq: &Bound<'_, PyAny>)
src/types/list.rs:358
↓ 1 callersFunctionset_span_recursively
(tokens: TokenStream, span: Span)
pyo3-macros-backend/src/utils.rs:349
↓ 1 callersMethodset_statically_allocated
(&mut self, val: c_uint)
pyo3-ffi/src/cpython/unicodeobject.rs:227
↓ 1 callersFunctionshould_use_raw_dylib_linking
Whether to use raw-dylib linking. Currently, this only applies if all of the following are true: - The target OS is Windows. - The Python library nam
pyo3-ffi/build.rs:236
↓ 1 callersFunctionsimple_args_kwargs_py
(a, b=None, *args, c=None, **kwargs)
pytests/tests/test_pyfunctions.py:62
↓ 1 callersFunctionsimple_args_py
(a, b=None, *args, c=None)
pytests/tests/test_pyfunctions.py:34
↓ 1 callersFunctionsimple_enum_default_methods
( cls: &'a syn::Ident, unit_variant_names: impl IntoIterator< Item = (&'a syn::Ident, Cow<'a,
pyo3-macros-backend/src/pyclass.rs:1865
↓ 1 callersFunctionsimple_kwargs_py
(a, b=None, c=None, **kwargs)
pytests/tests/test_pyfunctions.py:48
↓ 1 callersFunctionsimple_py
(a, b=None, *, c=None)
pytests/tests/test_pyfunctions.py:20
↓ 1 callersMethodsize_hint
(&self)
src/types/frozenset.rs:225
↓ 1 callersMethodsize_hint
(&self)
src/types/iterator.rs:121
↓ 1 callersMethodsize_hint
(&self)
src/types/list.rs:617
↓ 1 callersMethodsize_hint
(&self)
src/types/set.rs:256
↓ 1 callersFunctionslugify
Convert a term to a URL-friendly anchor slug.
guide/glossary_linker.py:25
↓ 1 callersFunctionsome_wrap
(obj: TokenStream, ctx: &Ctx)
pyo3-macros-backend/src/quotes.rs:5
↓ 1 callersFunctionspawn_dropper
A detached thread trickling drops into the pool, as a real workload would.
pyo3-benches/benches/bench_attach_scaling.rs:72
↓ 1 callersFunctionspin_freelist
(py: Python<'_>, data: usize)
tests/test_gc.rs:57
↓ 1 callersFunctionstandard_element_type_from_type_char
(type_char: u8)
src/buffer.rs:182
↓ 1 callersFunctionstarts_with
(entry: &DirEntry, pat: &str)
pyo3-build-config/src/impl_.rs:2114
↓ 1 callersMethodstatic_method
()
pytests/src/pyclasses.rs:268
↓ 1 callersMethodstep
(&self)
src/types/range.rs:83
↓ 1 callersMethodstop
(&self)
src/types/range.rs:79
↓ 1 callersMethodstrides
(&self)
src/buffer.rs:706
↓ 1 callersFunctionsubmit_methods_inventory
( ty: &syn::Type, methods: Vec<TokenStream>, proto_impls: Vec<TokenStream>, ctx: &Ctx, )
pyo3-macros-backend/src/pyimpl.rs:373
↓ 1 callersFunctionsubmodule
(module: &Bound<'_, PyModule>)
tests/test_module.rs:349
↓ 1 callersFunctionsubmodule_with_init_fn
(module: &Bound<'_, PyModule>)
tests/test_module.rs:355
↓ 1 callersMethodsuboffsets
(&self)
src/buffer.rs:716
↓ 1 callersMethodtake
(py: Python<'_>)
src/err/err_state.rs:205
↓ 1 callersFunctiontake_ident
(read: &mut &str, tracker: &mut usize)
pyo3-macros-backend/src/attributes.rs:78
↓ 1 callersFunctiontake_int
(read: &mut &str, tracker: &mut usize)
pyo3-macros-backend/src/attributes.rs:61
↓ 1 callersFunctiontest
(session: nox.Session)
noxfile.py:104
↓ 1 callersFunctiontest_not_send_detach
(py: Python<'_>)
tests/ui/not_send.rs:4
↓ 1 callersFunctiontest_py
(session: nox.Session)
noxfile.py:194
↓ 1 callersFunctiontest_rust
(session: nox.Session)
noxfile.py:110
↓ 1 callersMethodtext_signature
(&self, self_argument: Option<&str>)
pyo3-macros-backend/src/pyfunction/signature.rs:609
↓ 1 callersMethodthrow
(&mut self, py: Python<'_>, exc: Py<PyAny>)
src/coroutine.rs:152
↓ 1 callersMethodtimezone
Equivalent to `zoneinfo.ZoneInfo` constructor
src/types/datetime.rs:873
↓ 1 callersMethodto_array
(&self)
src/conversions/std/num.rs:316
↓ 1 callersMethodto_kwargs_mut
(&mut self)
pyo3-macros-backend/src/method.rs:130
↓ 1 callersMethodto_tuple
Return a new tuple containing the contents of the list; equivalent to the Python expression `tuple(list)`. This method is equivalent to `self.as_sequ
src/types/list.rs:453
↓ 1 callersMethodto_varargs_mut
(&mut self)
pyo3-macros-backend/src/method.rs:108
↓ 1 callersFunctiontp_dealloc
Implementation of tp_dealloc. # Safety - `slf` must be a valid pointer to an instance of the type at `type_obj` or a subclass. - `slf` must not be use
src/pycell/impl_.rs:283
↓ 1 callersMethodtraverse_dict
(&self, visit: ffi::visitproc, arg: *mut c_void)
src/impl_/pyclass.rs:141
↓ 1 callersFunctiontraverse_eq
(f: Option<ffi::traverseproc>, g: ffi::traverseproc)
src/impl_/pymethods.rs:510
↓ 1 callersMethodtry_borrow
(&self)
src/pycell/impl_.rs:128
↓ 1 callersMethodtry_borrow_mut
(obj: &'a Py<T>)
src/pyclass/guard.rs:629
↓ 1 callersFunctiontry_date
(year: i16, month: i8, day: i8)
src/conversions/jiff.rs:1077
↓ 1 callersMethodtry_fold
(&mut self, init: B, mut f: F)
src/types/dict.rs:583
↓ 1 callersMethodtry_init
(&self, py: Python<'py>)
src/impl_/pyclass/lazy_type_object.rs:70
↓ 1 callersFunctiontry_init_once_cell_py_attached
( cell: &'a once_cell::sync::OnceCell<T>, _py: Python<'_>, f: F, )
src/sync/once_lock.rs:195
↓ 1 callersFunctiontry_install_binary
(package: str, constraint: str)
pytests/noxfile.py:24
↓ 1 callersFunctiontry_new_from_iter
( py: Python<'py>, mut elements: impl ExactSizeIterator<Item = PyResult<Bound<'py, PyAny>>>, )
src/types/tuple.rs:36
↓ 1 callersMethodtry_rfold
(&mut self, init: B, mut f: F)
src/types/list.rs:820
↓ 1 callersFunctiontry_time
(hour: i8, min: i8, sec: i8, micro: i32)
src/conversions/jiff.rs:1084
↓ 1 callersMethodty
(&self)
pyo3-macros-backend/src/method.rs:86
↓ 1 callersMethodtype_doc
(mut self, type_doc: &'static CStr)
src/pyclass/create_type_object.rs:330
↓ 1 callersFunctiontype_object_init_failed
(py: Python<'_>, err: PyErr, type_name: &str)
src/impl_/pyclass/lazy_type_object.rs:269
↓ 1 callersFunctiontyping_or_extensions_if_not_3_15
The module to import `typing` features new in Python 3.15 from: `typing` itself when targeting 3.15 or newer, `typing_extensions` otherwise.
src/impl_/introspection.rs:60
↓ 1 callersMethodtzname
(self, dt)
pytests/tests/test_datetime.py:22
↓ 1 callersMethodunexpected_keyword_argument
(&self, argument: PyArg<'_>)
src/impl_/extract_argument.rs:877
↓ 1 callersFunctionunhex
(hex: u8)
pyo3-build-config/src/impl_.rs:2757
↓ 1 callersMethoduninstall
(&self, py: Python<'_>)
tests/test_utils/mod.rs:217
↓ 1 callersFunctionunique_element_id
()
pyo3-macros-backend/src/introspection.rs:646
↓ 1 callersMethodunpack
(self)
src/types/dict.rs:836
↓ 1 callersFunctionunwrap_ty_group
(mut ty: &syn::Type)
pyo3-macros-backend/src/utils.rs:186
↓ 1 callersMethodupdate_if_missing
(&self, other: &Bound<'_, PyMapping>)
src/types/dict.rs:355
↓ 1 callersMethodutcoffset
(self, dt)
pytests/tests/test_datetime.py:16
↓ 1 callersMethodvalue
(&self)
tests/test_coroutine.rs:426
← previousnext →1,301–1,400 of 4,885, ranked by callers