MCPcopy Create free account

hub / github.com/PyO3/pyo3 / functions

Functions4,885 in github.com/PyO3/pyo3

↓ 1 callersFunctionenv_var
Gets an external environment variable, and registers the build script to rerun if the variable changes.
pyo3-macros-backend/build.rs:22
↓ 1 callersFunctionenv_var
Gets an external environment variable, and registers the build script to rerun if the variable changes.
pytests/build.rs:24
↓ 1 callersMethodeq
(&self, other: &syn::Ident)
pyo3-macros-backend/src/module.rs:714
↓ 1 callersFunctionescape_json_string
(value: &str)
pyo3-macros-backend/src/introspection.rs:663
↓ 1 callersFunctionescape_json_string
Escapes a string to be valid JSON. Does not add quotes around it Returns the number of written bytes
src/impl_/introspection.rs:79
↓ 1 callersFunctionescaped_json_string_len
Number of bytes written by [`escape_json_string`]
src/impl_/introspection.rs:157
↓ 1 callersFunctionevent_from_raw
( py: Python<'py>, event: ffi::PyContextEvent, object: *mut ffi::PyObject, )
src/types/context.rs:339
↓ 1 callersFunctionexpr_to_python
(expr: &syn::Expr)
pyo3-macros-backend/src/utils.rs:301
↓ 1 callersMethodextract
(obj: Borrowed<'_, '_, PyAny>)
src/conversions/uuid.rs:92
↓ 1 callersMethodextract
(ob: Borrowed<'_, 'py, PyAny>)
src/conversions/hashbrown.rs:91
↓ 1 callersMethodextract
(obj: crate::Borrowed<'a, 'py, PyAny>)
src/conversions/std/slice.rs:39
↓ 1 callersFunctionextract_bigint
(bench: &mut Bencher<'_>, value: &BigInt)
pyo3-benches/benches/bench_bigint.rs:21
↓ 1 callersFunctionextract_biguint
(bench: &mut Bencher<'_>, value: &BigUint)
pyo3-benches/benches/bench_bigint.rs:28
↓ 1 callersFunctionextract_cls_receiver_trusted
( slf: &'a Bound<'py, PyAny>, holder: &'a mut Option<Bound<'py, PyType>>, )
src/impl_/extract_argument.rs:334
↓ 1 callersFunctionextract_date_time
(dt: &Bound<'_, PyDateTime>)
src/conversions/time.rs:110
↓ 1 callersFunctionextract_date_time_from_primitive_date_time
( dt: PrimitiveDateTime, py: Python<'_>, )
src/conversions/time.rs:590
↓ 1 callersFunctionextract_from_utc_date_time
( dt: UtcDateTime, py: Python<'_>, )
src/conversions/time.rs:668
↓ 1 callersFunctionextract_i128
(b: &mut Bencher<'_>, value: i128)
pyo3-benches/benches/bench_int128.rs:32
↓ 1 callersFunctionextract_object
( extract_error_mode: ExtractErrorMode, holders: &mut Holders, arg: &FnArg<'_>, ref_from_metho
pyo3-macros-backend/src/pymethod.rs:1276
↓ 1 callersFunctionextract_proto_arguments
( spec: &FnSpec<'_>, proto_args: &[Ty], extract_error_mode: ExtractErrorMode, holders: &mut Ho
pyo3-macros-backend/src/pymethod.rs:1970
↓ 1 callersFunctionextract_py_date_from_date
(date: Date, py: Python<'_>)
src/conversions/time.rs:512
↓ 1 callersFunctionextract_py_time_from_time
(time: Time, py: Python<'_>)
src/conversions/time.rs:565
↓ 1 callersFunctionextract_pyclass_ref
( obj: Borrowed<'a, '_, PyAny>, holder: &'holder mut Option<PyClassGuard<'a, T>>, )
src/impl_/extract_argument.rs:211
↓ 1 callersFunctionextract_pyclass_ref_mut
( obj: Borrowed<'a, '_, PyAny>, holder: &'holder mut Option<PyClassGuardMut<'a, T>>, )
src/impl_/extract_argument.rs:219
↓ 1 callersFunctionextract_sequence
(obj: Borrowed<'_, 'py, PyAny>)
src/conversions/smallvec.rs:91
↓ 1 callersFunctionextract_sequence
(obj: Borrowed<'_, 'py, PyAny>)
src/conversions/std/vec.rs:83
↓ 1 callersFunctionextract_total_seconds_from_utcoffset
( offset: UtcOffset, py: Python<'_>, )
src/conversions/time.rs:653
↓ 1 callersFunctionextract_u128
(b: &mut Bencher<'_>, value: u128)
pyo3-benches/benches/bench_int128.rs:22
↓ 1 callersFunctionextract_use_items
( source: &syn::UseTree, cfg_attrs: &[syn::Attribute], target_items: &mut Vec<syn::Ide
pyo3-macros-backend/src/module.rs:138
↓ 1 callersFunctionf
()
src/conversions/anyhow.rs:135
↓ 1 callersFunctionf
(#[pyo3(from_py_with = bytes_from_py)] _bytes: Vec<u8>)
tests/ui/forbid_unsafe.rs:43
↓ 1 callersFunctionfail_with_custom_error
()
tests/test_exceptions.rs:59
↓ 1 callersMethodfill_slice
(&self, out: &mut [MaybeUninit<u8>])
src/conversions/std/num.rs:282
↓ 1 callersFunctionfill_view_from_readonly_data
# Safety `view` must be a valid pointer to ffi::Py_buffer, or null `data` must outlive the Python lifetime of `owner` (i.e. data must be owned by own
tests/test_buffer_protocol.rs:145
↓ 1 callersMethodfinalize_methods_and_properties
(&mut self)
src/pyclass/create_type_object.rs:203
↓ 1 callersFunctionfind_and_remove_attribute
(attrs: &mut Vec<syn::Attribute>, ident: &str)
pyo3-macros-backend/src/module.rs:700
↓ 1 callersFunctionfind_glossary_content
Walk the book items to find and return the glossary chapter content.
guide/glossary_linker.py:188
↓ 1 callersFunctionfind_introspection_chunks_in_binary_object
(path: &Path)
pyo3-introspection/src/introspection.rs:533
↓ 1 callersFunctionfind_introspection_chunks_in_elf
(elf: &Elf<'_>, library_content: &[u8])
pyo3-introspection/src/introspection.rs:564
↓ 1 callersFunctionfind_introspection_chunks_in_macho
( macho: &MachO<'_>, library_content: &[u8], )
pyo3-introspection/src/introspection.rs:585
↓ 1 callersFunctionfind_introspection_chunks_in_pe
(pe: &PE<'_>, library_content: &[u8])
pyo3-introspection/src/introspection.rs:626
↓ 1 callersMethodfind_keyword_parameter_in_keyword_only
(&self, kwarg_name: &str)
src/impl_/extract_argument.rs:804
↓ 1 callersMethodfind_keyword_parameter_in_positional
(&self, kwarg_name: &str)
src/impl_/extract_argument.rs:797
↓ 1 callersFunctionfind_object_type
(obj: &Bound<'_, PyAny>)
pyo3-benches/benches/bench_any.rs:30
↓ 1 callersMethodfinish_pos_args
(&mut self, signature: &PythonSignature, span: Span)
pyo3-macros-backend/src/pyfunction/signature.rs:417
↓ 1 callersMethodfinish_pos_only_args
( &mut self, signature: &mut PythonSignature, span: Span, )
pyo3-macros-backend/src/pyfunction/signature.rs:394
↓ 1 callersFunctionflatten_union
Collects the operands of a `|` chain in source order, skipping repeats.
pyo3-introspection/src/stubs.rs:344
↓ 1 callersMethodflush
(&mut self)
src/types/bytes/writer.rs:194
↓ 1 callersMethodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/inspect.rs:256
↓ 1 callersFunctionfmt_elements
(elts: &[PyStaticExpr], f: &mut fmt::Formatter<'_>)
src/inspect.rs:423
↓ 1 callersMethodformat
(&self)
src/types/traceback.rs:108
↓ 1 callersMethodfreelist_slots
(&self, ctx: &Ctx)
pyo3-macros-backend/src/pyclass.rs:3139
↓ 1 callersMethodfrom_buffer
(buf: PyBuffer<u8>)
pytests/src/buf_and_str.rs:43
↓ 1 callersMethodfrom_bytes
(bytes: &Bound<'_, PyBytes>)
pytests/src/buf_and_str.rs:25
↓ 1 callersMethodfrom_str
(string: &Bound<'_, PyString>)
pytests/src/buf_and_str.rs:31
↓ 1 callersMethodfrom_str_lossy
(string: &Bound<'_, PyString>)
pytests/src/buf_and_str.rs:37
↓ 1 callersMethodfully_qualified_name
Gets the [fully qualified name](https://docs.python.org/3/glossary.html#term-qualified-name) of the `PyType`.
src/types/typeobject.rs:172
↓ 1 callersFunctiong
()
src/conversions/anyhow.rs:140
↓ 1 callersFunctiong
()
src/conversions/eyre.rs:146
↓ 1 callersFunctiongen_complex_enum_variant_attr
( cls: &syn::Ident, cls_type: &syn::Type, spec: &ConstSpec, ctx: &Ctx, )
pyo3-macros-backend/src/pyclass.rs:1947
↓ 1 callersFunctiongen_py_method
( cls: &syn::Type, method: PyMethod<'_>, meth_attrs: &[syn::Attribute], ctx: &Ctx, )
pyo3-macros-backend/src/pymethod.rs:285
↓ 1 callersFunctiongenerate_cfg_check
(variants: &[PyClassEnumUnitVariant<'_>], cls: &syn::Ident)
pyo3-macros-backend/src/pyclass.rs:3224
↓ 1 callersFunctiongenerate_coverage_report
(session: nox.Session)
noxfile.py:230
↓ 1 callersMethodgenerate_pyproto_fragment
( &self, cls: &syn::Type, spec: &FnSpec<'_>, ctx: &Ctx, )
pyo3-macros-backend/src/pymethod.rs:1801
↓ 1 callersMethodget
Gets the underlying buffer from the specified python object.
src/buffer.rs:239
↓ 1 callersMethodget_attrs
(&self)
pyo3-macros-backend/src/pyclass.rs:791
↓ 1 callersFunctionget_bindgen_names
(kind: &str)
pyo3-ffi-check/macro/src/lib.rs:91
↓ 1 callersMethodget_bit
(&self, index: usize)
pyo3-ffi/src/cpython/unicodeobject.rs:44
↓ 1 callersFunctionget_cfg_attributes
(attrs: &[syn::Attribute])
pyo3-macros-backend/src/module.rs:692
↓ 1 callersFunctionget_class_type_hint
(cls: &Ident, args: &PyClassArgs, ctx: &Ctx)
pyo3-macros-backend/src/pyclass.rs:431
↓ 1 callersFunctionget_data
( data: &Mutex<Py<PyByteArray>>, py: Python<'py>, )
src/types/bytearray.rs:512
↓ 1 callersFunctionget_decimal_cls
(py: Python<'_>)
src/conversions/rust_decimal.rs:90
↓ 1 callersMethodget_during_gc
(&self)
src/impl_/pyclass/lazy_type_object.rs:82
↓ 1 callersFunctionget_env_interpreter
()
pyo3-build-config/src/impl_.rs:2622
↓ 1 callersFunctionget_fields_from_file
(path: &Path)
pyo3-ffi-check/macro/src/lib.rs:326
↓ 1 callersFunctionget_function_info
( function_name: &str, path: &Path, )
pyo3-ffi-check/macro/src/lib.rs:820
↓ 1 callersFunctionget_invalid_operation_error_cls
(py: Python<'_>)
src/conversions/bigdecimal.rs:75
↓ 1 callersMethodget_item
(&self, key: K)
src/types/frozendict.rs:201
↓ 1 callersMethodget_item
(&self, key: K)
src/types/mapping.rs:141
↓ 1 callersFunctionget_minimum_leading_spaces
Counts the minimum leading spaces of all non-empty lines except the first line. Returns `None` if there are no non-empty lines except the first line.
src/impl_/unindent.rs:59
↓ 1 callersFunctionget_object
()
src/types/sequence.rs:336
↓ 1 callersMethodget_options
(&self)
pyo3-macros-backend/src/pyclass.rs:784
↓ 1 callersMethodget_or_try_init
(&self, py: Python<'_>, f: F)
src/sync.rs:115
↓ 1 callersFunctionget_pointer_ctx
Gets the pointer and context from the capsule. # Safety - `capsule` must be a valid capsule object
src/types/capsule.rs:649
↓ 1 callersFunctionget_pyfn_attr
Extracts the data from the #[pyfn(...)] attribute of a function
pyo3-macros-backend/src/module.rs:667
↓ 1 callersMethodget_raw
(&self)
src/platform/thread/thread_local.rs:94
↓ 1 callersMethodget_slice
(&self, low: usize, high: usize)
src/types/tuple.rs:287
↓ 1 callersFunctionget_type
(py: Python<'_>)
src/types/weakref/anyref.rs:367
↓ 1 callersFunctionget_type_traverse
(tp: *mut pyo3::ffi::PyTypeObject)
tests/test_gc.rs:1162
↓ 1 callersMethodget_val
(&'static self)
src/platform/thread/thread_local.rs:75
↓ 1 callersMethodget_value
(&self, k: S)
pyo3-build-config/src/impl_.rs:2070
↓ 1 callersFunctiongetrefcount
(obj)
pytests/tests/test_objstore.py:17
↓ 1 callersMethodgil_used
(&self, gil_used: bool)
src/types/module.rs:564
↓ 1 callersMethodglobals
(&self)
src/types/frame.rs:167
↓ 1 callersMethodgreeting
(&self)
examples/setuptools-rust-starter/src/submodule.rs:13
↓ 1 callersMethodgreeting
(&self)
examples/meson-starter/src/submodule.rs:13
↓ 1 callersMethodgreeting
(&self)
examples/maturin-starter/src/submodule.rs:13
↓ 1 callersMethodguard
(&self)
src/sync/mutex.rs:39
↓ 1 callersFunctionh
()
src/conversions/anyhow.rs:144
↓ 1 callersFunctionh
()
src/conversions/eyre.rs:150
← previousnext →1,001–1,100 of 4,885, ranked by callers