MCPcopy Create free account

hub / github.com/PyO3/pyo3 / functions

Functions4,885 in github.com/PyO3/pyo3

↓ 3 callersFunction_get_feature_sets
Returns feature sets to use for Rust jobs
noxfile.py:1877
↓ 3 callersFunction_get_output
(*args: str, env: dict[str, str] | None = None)
noxfile.py:44
↓ 3 callersFunction_get_rust_info
()
noxfile.py:1848
↓ 3 callersFunction_is_no_std
()
noxfile.py:86
↓ 3 callersFunction_test_binary_dunder
(dunder: &str)
tests/test_arithmetics.rs:706
↓ 3 callersFunctionabc_dict
(py: Python<'_>)
src/types/dict.rs:1416
↓ 3 callersFunctionabc_mappingproxy
(py: Python<'_>)
src/types/mappingproxy.rs:449
↓ 3 callersMethodadd_attributes
( &mut self, attrs: impl IntoIterator<Item = PyFunctionOption>, )
pyo3-macros-backend/src/pyfunction.rs:298
↓ 3 callersMethodadd_attributes
( &mut self, attrs: impl IntoIterator<Item = PyModulePyO3Option>, )
pyo3-macros-backend/src/module.rs:62
↓ 3 callersFunctionadd_libpython_rpath_link_args
for more details.
pyo3-build-config/src/lib.rs:98
↓ 3 callersMethodadd_wrapped
(&self, wrapper: &impl Fn(Python<'py>) -> T)
src/types/module.rs:535
↓ 3 callersMethodany
(&mut self, mut f: F)
src/types/dict.rs:617
↓ 3 callersFunctionapplicable_stable_abi
Selects which stable ABI (kind and minimum version) from the `abi3-py3*` and `abi3t-py3*` features (if any) applies to the given interpreter. Interpr
pyo3-build-config/src/impl_.rs:102
↓ 3 callersMethodas_ptr
(&self)
src/pycell.rs:294
↓ 3 callersMethodas_ref
(&self)
src/pybacked.rs:76
↓ 3 callersFunctionbench_bytes_into_pyobject
(b: &mut Bencher<'_>, data: &[u8])
pyo3-benches/benches/bench_intopyobject.rs:29
↓ 3 callersFunctionbench_bytes_new
(b: &mut Bencher<'_>, data: &[u8])
pyo3-benches/benches/bench_intopyobject.rs:9
↓ 3 callersFunctionbench_vec_from_py_bytearray
(b: &mut Bencher<'_>, data: &[u8])
pyo3-benches/benches/bench_frompyobject.rs:98
↓ 3 callersFunctionbench_vec_from_py_bytes
(b: &mut Bencher<'_>, data: &[u8])
pyo3-benches/benches/bench_frompyobject.rs:76
↓ 3 callersMethodbuild
(self)
src/impl_/pymodule.rs:429
↓ 3 callersMethodcall
(&self, args: A, kwargs: Option<&Bound<'py, PyDict>>)
src/types/any.rs:1074
↓ 3 callersMethodclone_ref
(&self, py: Python<'_>)
src/pybacked.rs:42
↓ 3 callersFunctionconsume_eol
(bytes: &[u8], i: usize)
src/impl_/unindent.rs:135
↓ 3 callersMethodcontext
(&self)
src/types/capsule.rs:540
↓ 3 callersMethodcontext
Return the context (either an exception instance, or None, set by an implicit exception during handling of another exception) associated with the exce
src/err/mod.rs:616
↓ 3 callersMethodcreate_class_object_of_type
Creates a new class object and initializes it given a typeobject `subtype`. # Safety `subtype` must be a valid pointer to the type object of T or a s
src/pyclass_init.rs:146
↓ 3 callersFunctioncreate_py_c_function
Creates a `PyCFunction` object from a `PyMethodDef`. # Safety The `method_def` pointer must be valid for the lifetime of the returned `PyCFunction`
src/impl_/pyfunction.rs:108
↓ 3 callersMethodcreate_py_c_function
( &'static self, py: Python<'py>, module: Option<&Bound<'py, PyModule>>, )
src/impl_/pyfunction.rs:29
↓ 3 callersFunctiondeclarative_module
(py: Python<'_>)
tests/test_declarative_module.rs:164
↓ 3 callersFunctiondefault_lib_name_for_target
Generates the default library name for the target platform.
pyo3-build-config/src/impl_.rs:2464
↓ 3 callersFunctiondefault_lib_name_windows
(abi: PythonAbi, mingw: bool)
pyo3-build-config/src/impl_.rs:2477
↓ 3 callersFunctiondeserialize_chunk
( symbol_name: &str, content_with_chunk_at_the_beginning: &[u8], is_little_endian: bool, )
pyo3-introspection/src/introspection.rs:640
↓ 3 callersFunctiondict_len
(dict: &Bound<'_, PyDict>)
src/types/dict.rs:432
↓ 3 callersMethoddisarm
(self)
src/impl_/panic.rs:17
↓ 3 callersMethoddoc
(self, doc: PythonDoc)
pyo3-macros-backend/src/pyclass.rs:2736
↓ 3 callersFunctiondoc_bytes_as_cstr
Casts bytes to a CStr, ensuring they are valid.
src/impl_/pyclass/doc.rs:42
↓ 3 callersFunctiondoc_to_optional_cstr
(doc: Option<&PythonDoc>, ctx: &Ctx)
pyo3-macros-backend/src/pymethod.rs:2029
↓ 3 callersMethoddone
(&self, guard: &Guard)
src/sync/mutex.rs:53
↓ 3 callersMethoddrop_deferred_references
(&self, py: Python<'_>)
src/internal/state.rs:230
↓ 3 callersMethodencode_utf8
(&self)
src/types/string.rs:366
↓ 3 callersFunctionerror_on_negative_with_result
( py: Python<'_>, result: T, )
src/err/mod.rs:773
↓ 3 callersMethodextract
(obj: Borrowed<'_, '_, PyAny>)
src/conversions/rust_decimal.rs:74
↓ 3 callersMethodextract
(ob: Borrowed<'_, 'py, PyAny>)
src/conversions/num_bigint.rs:256
↓ 3 callersMethodextract
(ob: Borrowed<'_, '_, PyAny>)
src/conversions/std/osstr.rs:100
↓ 3 callersMethodextract
(ob: Borrowed<'a, '_, PyAny>)
src/conversions/std/string.rs:131
↓ 3 callersFunctionextract_py_delta_from_duration
( duration: Duration, py: Python<'_>, )
src/conversions/time.rs:489
↓ 3 callersFunctionf
()
src/impl_/pyfunction.rs:143
↓ 3 callersMethodffi_type
(self, ctx: &Ctx)
pyo3-macros-backend/src/pymethod.rs:1186
↓ 3 callersMethodfrom_py_with
(&self)
pyo3-macros-backend/src/method.rs:100
↓ 3 callersMethodgenerate
(self, ctx: &Ctx, cls: &syn::Type, slot: &SlotDef)
pyo3-macros-backend/src/pyclass.rs:1792
↓ 3 callersMethodgenerate
`Py<T>` fields have a potential optimization to use Python's "struct members" to read the field directly from the struct, rather than using a getter f
src/impl_/pyclass.rs:1294
↓ 3 callersMethodget
(&self)
src/pycell/impl_.rs:1013
↓ 3 callersMethodget_doc
Forwards to [utils::get_doc] with the text signature of this spec.
pyo3-macros-backend/src/method.rs:1115
↓ 3 callersFunctionget_macro_name_from_input
( proc_macro: &str, input: proc_macro::TokenStream, )
pyo3-ffi-check/macro/src/lib.rs:900
↓ 3 callersMethodget_ptr
Gets a pointer to the specified item. If `indices.len() < self.dimensions()`, returns the start address of the sub-array at the specified dimension.
src/buffer.rs:635
↓ 3 callersMethodget_wrapper_function
Return a C wrapper function for this signature.
pyo3-macros-backend/src/method.rs:823
↓ 3 callersFunctionhandle_windows
(test: &str)
tests/test_coroutine.rs:19
↓ 3 callersFunctionhas_attribute_with_namespace
( attrs: &[syn::Attribute], crate_path: Option<&PyO3CratePath>, idents: &[&str], )
pyo3-macros-backend/src/utils.rs:274
↓ 3 callersFunctionhave_python_interpreter
Checks if we should look for a Python interpreter installation to get the target interpreter configuration. Returns `false` if `PYO3_NO_PYTHON` envir
pyo3-build-config/src/impl_.rs:1600
↓ 3 callersFunctionident_to_type
(ident: &Ident)
pyo3-macros-backend/src/introspection.rs:655
↓ 3 callersMethodimpl_add_to_module
(&self, ctx: &Ctx)
pyo3-macros-backend/src/pyclass.rs:3109
↓ 3 callersMethodimpl_freelist
(&self, ctx: &Ctx)
pyo3-macros-backend/src/pyclass.rs:3120
↓ 3 callersMethodimpl_introspection
(&self, ctx: &Ctx, parent: Option<&Ident>)
pyo3-macros-backend/src/pyclass.rs:3164
↓ 3 callersFunctionimpl_py_class_attribute
( cls: &syn::Type, spec: &FnSpec<'_>, ctx: &Ctx, )
pyo3-macros-backend/src/pymethod.rs:588
↓ 3 callersFunctionimpl_py_getter_def
Used here for PropertyType::Function, used in pyclass for descriptors.
pyo3-macros-backend/src/pymethod.rs:875
↓ 3 callersMethodimpl_pyclass
(&self, ctx: &Ctx)
pyo3-macros-backend/src/pyclass.rs:2743
↓ 3 callersMethodimpl_pyclassimpl
(&self, ctx: &Ctx)
pyo3-macros-backend/src/pyclass.rs:2786
↓ 3 callersFunctionimpl_pytypeinfo
(cls: &Ident, attr: &PyClassArgs, ctx: &Ctx)
pyo3-macros-backend/src/pyclass.rs:2287
↓ 3 callersFunctionimplement_pyclass_str
( options: &PyClassPyO3Options, ty: &syn::Type, ctx: &Ctx, )
pyo3-macros-backend/src/pyclass.rs:980
↓ 3 callersMethodindices
(&self, length: isize)
src/types/slice.rs:122
↓ 3 callersFunctioninit
(m: &Bound<'_, PyModule>)
pytests/src/lib.rs:64
↓ 3 callersMethodinto_inner
Returns the error code.
src/pyclass/gc.rs:22
↓ 3 callersMethodinto_inner
Consumes this `CastIntoError` and returns the original object, allowing continued use of it after a failed conversion. See [`cast_into`][Bound::cast_
src/err/cast_error.rs:59
↓ 3 callersMethodinto_pyobject
(self, py: Python<'py>)
src/conversions/chrono_tz.rs:58
↓ 3 callersMethodinto_pyobject
(self, py: Python<'py>)
src/conversions/std/vec.rs:29
↓ 3 callersMethodinto_pyobject
(self, py: Python<'py>)
src/conversions/std/slice.rs:28
↓ 3 callersMethodinto_super
Gets a `PyRef<T::BaseType>`. While `as_ref()` returns a reference of type `&T::BaseType`, this cannot be used to get the base of `T::BaseType`. But
src/pycell.rs:373
↓ 3 callersMethodinto_token_stream
(self, pyo3_crate_path: &PyO3CratePath)
pyo3-macros-backend/src/introspection.rs:580
↓ 3 callersMethodis_c_contiguous
(&self)
src/buffer.rs:741
↓ 3 callersMethodis_debug
Whether this is targeting a debug build of the interpreter.
pyo3-build-config/src/impl_.rs:1174
↓ 3 callersMethodis_fortran_contiguous
(&self)
src/buffer.rs:747
↓ 3 callersMethodis_instance
(&self, py: Python<'_>, ty: &Bound<'_, PyAny>)
src/err/mod.rs:434
↓ 3 callersFunctionis_introspection_symbol
(name: &str)
pyo3-introspection/src/introspection.rs:674
↓ 3 callersMethoditer
(&self)
src/types/frozendict.rs:243
↓ 3 callersMethodlen
(&self)
src/types/dict.rs:231
↓ 3 callersMethodlock_py_attached
( &self, _py: Python<'_>, )
src/sync.rs:411
↓ 3 callersFunctionmake_traverse_result
(retval: c_int)
src/pyclass/gc.rs:77
↓ 3 callersFunctionmap_dict
Return a dict with `m = Mapping(['1', '2', '3'])`.
tests/test_mapping.rs:77
↓ 3 callersMethodmatches
Returns if a Rust [`core::cmp::Ordering`] matches this ordering query. Usage example: ```rust,no_run # use pyo3::prelude::*; # use pyo3::class::basi
src/pyclass.rs:84
↓ 3 callersMethodmaybe_free_threaded
(self, free_threaded: bool)
pyo3-build-config/src/impl_.rs:963
↓ 3 callersFunctionmodule_stubs
Generates the module stubs to a String, re-exporting the submodules but not their content
pyo3-introspection/src/stubs.rs:53
↓ 3 callersMethodname
(&self)
pyo3-macros-backend/src/frompyobject.rs:280
↓ 3 callersMethodnext
(&mut self)
src/conversions/std/num.rs:501
↓ 3 callersFunctionnone
()
pytests/src/pyfunctions.rs:5
↓ 3 callersMethodnth
(&mut self, n: usize)
src/types/list.rs:609
↓ 3 callersFunctionpanic_on_null
(py: Python<'_>)
src/instance.rs:2356
↓ 3 callersMethodpoll
(&mut self, py: Python<'_>, throw: Option<Py<PyAny>>)
src/coroutine.rs:69
↓ 3 callersMethodpow
Computes `self ** other % modulus` (`pow(self, other, modulus)`). `py.None()` may be passed for the `modulus`.
src/types/any.rs:1056
↓ 3 callersFunctionprint_expected_cfgs
()
pyo3-build-config/src/lib.rs:156
↓ 3 callersFunctionpyclass_hash
( options: &PyClassPyO3Options, cls: &syn::Type, ctx: &Ctx, )
pyo3-macros-backend/src/pyclass.rs:2523
← previousnext →401–500 of 4,885, ranked by callers