MCPcopy Create free account

hub / github.com/PyO3/pyo3 / functions

Functions4,885 in github.com/PyO3/pyo3

↓ 2 callersFunctionmodule_initialization
( full_name: &str, name: &syn::Ident, ctx: &Ctx, module_exec: TokenStream, is_submodule: b
pyo3-macros-backend/src/module.rs:537
↓ 2 callersFunctionmodule_introspection_code
( pyo3_crate_path: &PyO3CratePath, name: &str, members: impl IntoIterator<Item = &'a Ident>, m
pyo3-macros-backend/src/introspection.rs:28
↓ 2 callersFunctionmodule_stub_files
Generates the [type stubs](https://typing.readthedocs.io/en/latest/source/stubs.html) of a given module. It returns a map between the file name and th
pyo3-introspection/src/stubs.rs:17
↓ 2 callersMethodname
(&self)
pyo3-macros-backend/src/method.rs:76
↓ 2 callersFunctionname_ptr
(name: Option<&CStr>)
src/types/capsule.rs:685
↓ 2 callersMethodnext
(&mut self)
src/types/list.rs:600
↓ 2 callersMethodnext_back
(&mut self)
src/types/tuple.rs:473
↓ 2 callersMethodnext_back
(&mut self)
src/types/list.rs:786
↓ 2 callersFunctionnormalize_src_blocks
Strips line:col information from src file references in error messages. e.g. the following block: ``` --> src/impl_/extract_argument.rs:226:8 | 220
tests/test_compile_error.rs:271
↓ 2 callersMethodnth_back
(&mut self, n: usize)
src/types/list.rs:794
↓ 2 callersMethodnull_terminated_python_name
Null-terminated Python name
pyo3-macros-backend/src/konst.rs:37
↓ 2 callersFunctionopt_to_pyobj
(opt: Option<&Bound<'_, PyTzInfo>>)
src/types/datetime.rs:1019
↓ 2 callersFunctionparse_script_output
(output: &str)
pyo3-build-config/src/impl_.rs:2054
↓ 2 callersMethodposition
(&mut self, mut predicate: P)
src/types/dict.rs:668
↓ 2 callersFunctionpositional_only_py
(a, /, b)
pytests/tests/test_pyfunctions.py:90
↓ 2 callersFunctionprint_feature_cfgs
Detects features which `pyo3` and `pyo3-ffi` depend upon internally, and prints the appropriate `cargo:rustc-cfg` and `cargo:rustc-check-cfg` directiv
pyo3-build-config/src/lib.rs:275
↓ 2 callersFunctionprint_libpython_rpath_link_args
Emit libpython rpath link args if appropriate for the target and interpreter config. This form exists for pyo3-ffi where `get()` cannot be called.
pyo3-build-config/src/lib.rs:293
↓ 2 callersMethodptraceback
(&self, py: Python<'py>)
src/err/err_state.rs:174
↓ 2 callersMethodpush
(&mut self, v: usize)
examples/plugin/plugin_api/src/lib.rs:22
↓ 2 callersFunctionpy_date_to_naive_date
( py_date: impl core::ops::Deref<Target = impl PyDateAccess>, )
src/conversions/chrono.rs:613
↓ 2 callersMethodpy_super
(&self)
src/types/any.rs:1291
↓ 2 callersFunctionpy_time_to_naive_time
( py_time: impl core::ops::Deref<Target = impl PyTimeAccess>, )
src/conversions/chrono.rs:624
↓ 2 callersFunctionpyclass_richcmp
( options: &PyClassPyO3Options, cls: &syn::Type, ctx: &Ctx, )
pyo3-macros-backend/src/pyclass.rs:2461
↓ 2 callersFunctionpyclass_richcmp_arms
( options: &PyClassPyO3Options, ctx: &Ctx, )
pyo3-macros-backend/src/pyclass.rs:2313
↓ 2 callersFunctionpylong_visit_digits
( obj: Borrowed<'_, '_, PyAny>, f: impl FnOnce(bool, i64, Option<&[u32]>) -> PyResult<R>, )
src/conversions/std/num.rs:457
↓ 2 callersFunctionpython_fib
(py: Python<'_>)
src/conversions/num_bigint.rs:547
↓ 2 callersMethodpython_name
(&self)
pyo3-macros-backend/src/pyclass.rs:829
↓ 2 callersFunctionpython_zoneinfo
(py: Python<'py>, timezone: &str)
src/conversions/jiff.rs:1057
↓ 2 callersMethodread_py_attached
(&self, _py: Python<'_>)
src/sync.rs:547
↓ 2 callersMethodrelease
Releases the buffer object, freeing the reference to the Python object which owns the buffer. This will automatically be called on drop.
src/buffer.rs:591
↓ 2 callersMethodrequired_positional_parameters
(&self)
pyo3-macros-backend/src/pyfunction/signature.rs:294
↓ 2 callersMethodresize
(&self, len: usize)
src/types/bytearray.rs:302
↓ 2 callersMethodreturn_self
(mut self)
pyo3-macros-backend/src/pymethod.rs:1487
↓ 2 callersFunctionrun_python_script
Run a python script using the specified interpreter binary.
pyo3-build-config/src/impl_.rs:2560
↓ 2 callersMethodrun_python_script
Run a python script using the [`InterpreterConfig::executable`]. # Panics This function will panic if the [`executable`](InterpreterConfig::executab
pyo3-build-config/src/impl_.rs:870
↓ 2 callersFunctionrustc_minor_version
()
pyo3-build-config/src/lib.rs:315
↓ 2 callersFunctionsecondary_slots
(slots: &'static PrimaryModuleSlots)
src/impl_/pymodule.rs:283
↓ 2 callersMethodself_arg
( &self, cls: Option<&syn::Type>, error_mode: ExtractErrorMode, self_conversio
pyo3-macros-backend/src/method.rs:268
↓ 2 callersFunctionserialize_for_introspection
(expr: &PyStaticExpr, mut output: &mut [u8])
src/inspect.rs:124
↓ 2 callersMethodset
Set the contents of this config file to the given implementation and version.
noxfile.py:2060
↓ 2 callersMethodset_error
(&mut self)
src/fmt.rs:113
↓ 2 callersMethodset_item
Sets the item at the specified index. Raises `IndexError` if the index is out of range.
src/types/list.rs:335
↓ 2 callersMethodset_option
(&mut self, option: PyClassPyO3Option)
pyo3-macros-backend/src/pyclass.rs:207
↓ 2 callersMethodsetattr
(&self, attr_name: N, value: V)
src/types/any.rs:886
↓ 2 callersFunctionsetdefault_result_from_nonerror_return_code
(code: PyResult<core::ffi::c_int>)
src/types/dict.rs:411
↓ 2 callersMethodshape
(&self)
src/buffer.rs:697
↓ 2 callersMethodskip_first_rust_argument_in_python_signature
(&self)
pyo3-macros-backend/src/method.rs:245
↓ 2 callersFunctionslice_copy_from_slice
Replacement for `slice::copy_from_slice`, which is const from 1.87
src/impl_/concat.rs:40
↓ 2 callersMethodslice_pointer_internal
(&self, contiguous: bool)
src/buffer.rs:363
↓ 2 callersMethodspan
(&self)
pyo3-macros-backend/src/pyfunction.rs:161
↓ 2 callersMethodstart
(&self)
src/types/range.rs:75
↓ 2 callersMethodsuppress_build_script_link_lines
Whether to suppress emitting of `cargo:rustc-link-*` lines from the build script.
pyo3-build-config/src/impl_.rs:361
↓ 2 callersMethodtake_error
(&mut self)
src/fmt.rs:103
↓ 2 callersMethodtake_pyo3_options
(&mut self, attrs: &mut Vec<syn::Attribute>)
pyo3-macros-backend/src/module.rs:58
↓ 2 callersMethodtake_pyo3_options
(&mut self, attrs: &mut Vec<syn::Attribute>)
pyo3-macros-backend/src/pyclass.rs:201
↓ 2 callersMethodtext_signature_call_signature
Creates the parenthesised arguments list for `__text_signature__` snippet based on this spec's signature and/or attributes. Prepend the callable name
pyo3-macros-backend/src/method.rs:1124
↓ 2 callersFunctiontimedelta_class
(py: Python<'_>)
src/conversions/std/time.rs:410
↓ 2 callersMethodto_cargo_dep_env
Serialize the `InterpreterConfig` and print it to the environment for Cargo to pass along to dependent packages during build time. NB: writing to the
pyo3-build-config/src/impl_.rs:813
↓ 2 callersMethodto_list
(&self)
src/types/tuple.rs:343
↓ 2 callersMethodto_tokens
(&self, tokens: &mut TokenStream)
pyo3-macros-backend/src/pymethod.rs:2005
↓ 2 callersMethodtoo_many_positional_arguments
(&self, args_provided: usize)
src/impl_/extract_argument.rs:844
↓ 2 callersFunctiontrampoline_unraisable
(body: F, ctx: *mut ffi::PyObject)
src/impl_/trampoline.rs:367
↓ 2 callersMethodtry_borrow_mut
(&self)
src/instance.rs:612
↓ 2 callersMethodtry_borrow_mut
(&self)
src/pycell/impl_.rs:136
↓ 2 callersMethodtry_fold
(&mut self, init: B, mut f: F)
src/types/list.rs:657
↓ 2 callersFunctiontype_checker
(session: nox.Session, command: Iterable[str])
pytests/noxfile.py:76
↓ 2 callersFunctionunescape
(escaped: &str)
pyo3-build-config/src/impl_.rs:2751
↓ 2 callersFunctionunindent_bytes
This is a reimplementation of the `indoc` crate's unindent functionality: 1. Count the leading spaces of each line, ignoring the first line and any l
src/impl_/unindent.rs:12
↓ 2 callersFunctionunix_epoch_py
(py: Python<'_>)
src/conversions/std/time.rs:147
↓ 2 callersMethodupdate
(&self, other: &Bound<'_, PyMapping>)
src/types/dict.rs:349
↓ 2 callersMethodvalue
(&self)
src/types/float.rs:82
↓ 2 callersMethodwake_by_ref
(self: &Arc<Self>)
src/coroutine/waker.rs:43
↓ 2 callersMethodwalk_attribute
(&mut self, attribute: &Attribute)
pyo3-introspection/src/stubs.rs:686
↓ 2 callersMethodwalk_function
(&mut self, function: &Function)
pyo3-introspection/src/stubs.rs:695
↓ 2 callersMethodwith_abi_info
(self)
src/impl_/pymodule.rs:396
↓ 2 callersMethodwith_doc
(self, doc: &'static CStr)
src/impl_/pymodule.rs:412
↓ 2 callersMethodwith_gil_used
(self, gil_used: bool)
src/impl_/pymodule.rs:346
↓ 2 callersMethodwith_name
(self, name: &'static CStr)
src/impl_/pymodule.rs:379
↓ 2 callersFunctionwrap_in_runtime_error
(py: Python<'_>, err: PyErr, message: String)
src/impl_/pyclass/lazy_type_object.rs:286
↓ 2 callersFunctionwrap_into_pyobject
As `wrap_into_ptr`, but produces a `PyResult<Py<PyAny>>`. The Python token expression is supplied by the caller.
pyo3-macros-backend/src/quotes.rs:29
↓ 2 callersMethodwrite_bytes
(&mut self, bytes: &[u8])
src/types/bytes/writer.rs:104
↓ 2 callersFunctionwrite_expr_and_move_forward
( value: &PyStaticExpr, output: &'a mut [u8], )
src/inspect.rs:383
↓ 2 callersFunctionwrite_slice_and_move_forward
(value: &[u8], output: &'a mut [u8])
src/inspect.rs:365
↓ 1 callersMethodNotImplemented
(self)
src/marker.rs:682
↓ 1 callersFunctionPyAnySet_CheckExact
(ob: *mut PyObject)
pyo3-ffi/src/setobject.rs:71
↓ 1 callersFunctionPyDateTime_DATE_GET_TZINFO
Retrieve the tzinfo component of a `PyDateTime_DateTime`. Returns a pointer to a `PyObject` that should be either NULL or an instance of a `datetime.t
pyo3-ffi/src/datetime.rs:243
↓ 1 callersFunctionPyDateTime_TIME_GET_TZINFO
Retrieve the tzinfo component of a `PyDateTime_Time`. Returns a pointer to a `PyObject` that should be either NULL or an instance of a `datetime.tzinf
pyo3-ffi/src/datetime.rs:293
↓ 1 callersFunctionPyDateTime_TimeZone_UTC
()
pyo3-ffi/src/datetime.rs:638
↓ 1 callersFunctionPyDictItems_Check
(op: *mut PyObject)
pyo3-ffi/src/dictobject.rs:121
↓ 1 callersFunctionPyDictKeys_Check
(op: *mut PyObject)
pyo3-ffi/src/dictobject.rs:109
↓ 1 callersFunctionPyDict_Check
(op: *mut PyObject)
pyo3-ffi/src/dictobject.rs:13
↓ 1 callersFunctionPyDict_CheckExact
(op: *mut PyObject)
pyo3-ffi/src/dictobject.rs:19
↓ 1 callersFunctionPyExceptionClass_Check
(x: *mut PyObject)
pyo3-ffi/src/pyerrors.rs:89
↓ 1 callersFunctionPyFloat_AS_DOUBLE
(op: *mut PyObject)
pyo3-ffi/src/cpython/floatobject.rs:24
↓ 1 callersFunctionPyFrozenDict_Check
(op: *mut PyObject)
pyo3-ffi/src/cpython/dictobject.rs:65
↓ 1 callersFunctionPyFrozenDict_CheckExact
(op: *mut PyObject)
pyo3-ffi/src/cpython/dictobject.rs:59
↓ 1 callersFunctionPyGILState_Ensure
()
pyo3-ffi/src/pystate.rs:105
↓ 1 callersFunctionPyList_GET_ITEM
(op: *mut PyObject, i: Py_ssize_t)
pyo3-ffi/src/cpython/listobject.rs:46
↓ 1 callersFunctionPyList_GET_SIZE
(op: *mut PyObject)
pyo3-ffi/src/cpython/listobject.rs:31
↓ 1 callersFunctionPyList_SET_ITEM
(op: *mut PyObject, i: Py_ssize_t, v: *mut PyObject)
pyo3-ffi/src/cpython/listobject.rs:53
← previousnext →701–800 of 4,885, ranked by callers