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
↓ 7 callers
Method
assume_owned_or_opt
(self, py: Python<'_>)
src/ffi_ptr_ext.rs:53
↓ 7 callers
Method
borrow_checker
(class_object: &T::Layout)
src/pycell/impl_.rs:196
↓ 7 callers
Method
build_flags
Additional relevant Python build flags / configuration settings. Serialized to `build_flags`.
pyo3-build-config/src/impl_.rs:356
↓ 7 callers
Method
clear
(mut self)
src/types/context.rs:116
↓ 7 callers
Method
contents
(&self)
src/pycell/impl_.rs:499
↓ 7 callers
Function
gen_complex_enum_variant_class_ident
(enum_: &Ident, variant: &Ident)
pyo3-macros-backend/src/pyclass.rs:1750
↓ 7 callers
Method
get
(py: Python<'_>)
src/types/none.rs:18
↓ 7 callers
Method
get
(&self)
src/sync/mutex.rs:65
↓ 7 callers
Method
get_day
(&self)
src/types/datetime.rs:302
↓ 7 callers
Method
get_item_unchecked
(&self, index: usize)
src/types/list.rs:297
↓ 7 callers
Method
get_year
(&self)
src/types/datetime.rs:280
↓ 7 callers
Method
init_holders
(&self, ctx: &Ctx)
pyo3-macros-backend/src/params.rs:29
↓ 7 callers
Method
into_py_any
(self, py: Python<'py>)
src/conversion.rs:235
↓ 7 callers
Method
into_raw
(self)
src/impl_/pymethods.rs:234
↓ 7 callers
Method
is
(&self, other: T)
src/types/any.rs:841
↓ 7 callers
Method
is_completed
(&self)
src/platform/sync.rs:43
↓ 7 callers
Method
is_free_threaded
(&self)
pyo3-build-config/src/impl_.rs:897
↓ 7 callers
Method
is_truthy
(&self)
src/types/any.rs:1146
↓ 7 callers
Method
item_count
(&self)
src/buffer.rs:669
↓ 7 callers
Method
iter
(&self)
src/types/tuple.rs:335
↓ 7 callers
Method
kind
The ABI flavor Serialized to `kind`
pyo3-build-config/src/impl_.rs:1162
↓ 7 callers
Method
last
(mut self)
src/types/list.rs:631
↓ 7 callers
Method
lock_py_attached
(&self, py: crate::prelude::Python<'_>)
src/platform/sync.rs:133
↓ 7 callers
Function
make_example
(py: Python<'_>)
tests/test_proto_methods.rs:66
↓ 7 callers
Method
name
(&self)
src/types/module.rs:461
↓ 7 callers
Method
normalized
(&self, py: Python<'_>)
src/err/mod.rs:654
↓ 7 callers
Method
pop
Pops the first non empty item.
src/impl_/freelist.rs:59
↓ 7 callers
Function
push_parameter_list
(msg: &mut String, parameter_names: &[&str])
src/impl_/extract_argument.rs:1092
↓ 7 callers
Method
python
(&self)
src/internal/state.rs:174
↓ 7 callers
Method
to_tokens_spanned
(&self, span: Span)
pyo3-macros-backend/src/utils.rs:233
↓ 7 callers
Method
to_vec
Copies the buffer elements to a newly allocated vector. If the buffer is multi-dimensional, the elements are written in C-style order. Fails if the b
src/buffer.rs:426
↓ 7 callers
Method
to_writer
(&self, mut writer: impl Write)
pyo3-build-config/src/impl_.rs:822
↓ 7 callers
Method
version
Python `X.Y` version. e.g. `3.9`. Serialized to `version`.
pyo3-build-config/src/impl_.rs:288
↓ 7 callers
Method
with
(&'static self, f: F)
src/platform/thread/thread_local.rs:58
↓ 6 callers
Method
all
(&mut self, mut f: F)
src/types/dict.rs:600
↓ 6 callers
Method
any
Checks if any of the variables is set.
pyo3-build-config/src/impl_.rs:1805
↓ 6 callers
Method
as_slice
(&self)
src/types/tuple.rs:312
↓ 6 callers
Function
assert_no_context_switches
(py: Python<'_>, count_before: usize)
src/types/context.rs:461
↓ 6 callers
Method
assume_borrowed
(self, py: Python<'_>)
src/ffi_ptr_ext.rs:103
↓ 6 callers
Method
borrow
(&self)
src/sync/mutex.rs:29
↓ 6 callers
Method
call_once
(&self, f: impl FnOnce())
src/platform/sync.rs:33
↓ 6 callers
Function
ensure_datetime_api
(py: Python<'_>)
src/types/datetime.rs:36
↓ 6 callers
Method
extract
(obj: Borrowed<'_, 'py, PyAny>)
src/conversions/std/array.rs:61
↓ 6 callers
Function
get_object
(py: Python<'_>)
src/internal/state.rs:414
↓ 6 callers
Function
get_type
(py: Python<'_>)
src/types/weakref/proxy.rs:238
↓ 6 callers
Method
get_type
(self)
src/marker.rs:650
↓ 6 callers
Method
hash
(&self)
src/types/any.rs:1234
↓ 6 callers
Method
id
(&self)
src/platform/thread.rs:30
↓ 6 callers
Method
into_pyobject
(self, py: Python<'py>)
src/err/mod.rs:723
↓ 6 callers
Method
keys
(&self)
src/types/dict.rs:294
↓ 6 callers
Method
len
(&self)
src/types/tuple.rs:264
↓ 6 callers
Method
maybe_debug
(self, debug: bool)
pyo3-build-config/src/impl_.rs:952
↓ 6 callers
Method
pointer_width
Width in bits of pointers on the target machine. Serialized to `pointer_width`.
pyo3-build-config/src/impl_.rs:349
↓ 6 callers
Method
push_holder
(&mut self, span: Span)
pyo3-macros-backend/src/params.rs:23
↓ 6 callers
Method
receiver
( &self, cls: &syn::Type, error_mode: ExtractErrorMode, self_conversion: SelfC
pyo3-macros-backend/src/method.rs:443
↓ 6 callers
Method
release_borrow
(&self)
src/pycell/impl_.rs:133
↓ 6 callers
Method
repr
(&self)
src/types/any.rs:1218
↓ 6 callers
Method
rich_compare
(&self, other: O, compare_op: CompareOp)
src/types/any.rs:943
↓ 6 callers
Function
seq_dict
Return a dict with `s = ByteSequence([1, 2, 3])`.
tests/test_sequence.rs:110
↓ 6 callers
Method
span
(&self)
pyo3-macros-backend/src/method.rs:1155
↓ 6 callers
Method
take_capture
Takes the captured unraisable error, if any.
tests/test_utils/mod.rs:170
↓ 6 callers
Function
test_iterators
Runs `f` for each of `BoundTupleIterator` and `BorrowedTupleIterator`.
src/types/tuple.rs:1627
↓ 6 callers
Method
try_combine_syn_errors
(self)
pyo3-macros-backend/src/combine_errors.rs:12
↓ 5 callers
Function
PySlot_STATIC_DATA
(NAME: c_int, VALUE: *mut c_void)
pyo3-ffi/src/slots.rs:116
↓ 5 callers
Method
as_bytes
(&self)
src/types/bytearray.rs:283
↓ 5 callers
Method
as_class_object
(&self)
src/pyclass/guard.rs:120
↓ 5 callers
Method
as_slice
(&'a self, _py: Python<'a>)
src/buffer.rs:256
↓ 5 callers
Method
build_py_warning
(&self, ctx: &Ctx)
pyo3-macros-backend/src/pyfunction.rs:140
↓ 5 callers
Method
call_method
Calls a method on the object. This is equivalent to the Python expression `self.name(*args, **kwargs)`. To avoid repeated temporary allocations of P
src/instance.rs:1977
↓ 5 callers
Method
call_method
( &self, name: N, args: A, kwargs: Option<&Bound<'py, PyDict>>, )
src/types/any.rs:1102
↓ 5 callers
Method
call_method0
Calls a method on the object with no arguments. This is equivalent to the Python expression `self.name()`. To avoid repeated temporary allocations o
src/instance.rs:2017
↓ 5 callers
Method
call_once_force
(&self, f: impl FnOnce())
src/platform/sync.rs:38
↓ 5 callers
Method
cause
Return the cause (either an exception instance, or None, set by `raise ... from ...`) associated with the exception, as accessible from Python through
src/err/mod.rs:586
↓ 5 callers
Function
convert_expr
(expr: &ChunkExpr, type_hint_for_annotation_id: &HashMap<String, Expr>)
pyo3-introspection/src/introspection.rs:368
↓ 5 callers
Method
copy_from_slice
Copies the specified slice into the buffer. If the buffer is multi-dimensional, the elements in the slice are expected to be in C-style order. Fails
src/buffer.rs:470
↓ 5 callers
Function
current
()
src/platform/thread.rs:14
↓ 5 callers
Function
fmt
Check formatting and lints.
noxfile.py:249
↓ 5 callers
Function
generate_protocol_slot
( cls: &syn::Type, method: &mut syn::ImplItemFn, slot: &SlotDef, name: &str, #[cfg(feature
pyo3-macros-backend/src/pyclass.rs:1820
↓ 5 callers
Method
generate_type_slot
( &self, cls: &syn::Type, spec: &FnSpec<'_>, method_name: &str, ctx: &
pyo3-macros-backend/src/pymethod.rs:1497
↓ 5 callers
Function
get_class_python_name
(cls: &'a Ident, args: &'a PyClassArgs)
pyo3-macros-backend/src/pyclass.rs:422
↓ 5 callers
Method
get_days
(&self)
src/types/datetime.rs:982
↓ 5 callers
Function
get_frame
(py: Python<'_>)
src/types/frame.rs:196
↓ 5 callers
Method
get_item_unchecked
(&self, index: usize)
src/types/tuple.rs:303
↓ 5 callers
Method
get_microseconds
(&self)
src/types/datetime.rs:1004
↓ 5 callers
Method
get_month
(&self)
src/types/datetime.rs:291
↓ 5 callers
Method
get_mut
Get the contents of the cell mutably. This is only possible if the reference to the cell is unique.
src/sync/once_lock.rs:85
↓ 5 callers
Method
get_seconds
(&self)
src/types/datetime.rs:993
↓ 5 callers
Method
get_slot
(&self, slot: Slot<S>)
src/internal/get_slot.rs:12
↓ 5 callers
Function
get_type
(py: Python<'_>)
src/types/weakref/reference.rs:231
↓ 5 callers
Method
get_tzinfo
(&self)
src/types/datetime.rs:562
↓ 5 callers
Function
initialize
()
src/interpreter_lifecycle.rs:12
↓ 5 callers
Method
into_py_string
(mut self)
src/fmt.rs:88
↓ 5 callers
Method
into_pyobject
(self, _py: Python<'py>)
src/conversion.rs:123
↓ 5 callers
Method
into_pyobject
(self, py: Python<'py>)
src/conversions/std/string.rs:22
↓ 5 callers
Method
into_value
Consumes self to take ownership of the exception value contained in this error.
src/err/mod.rs:238
↓ 5 callers
Method
items
(&self)
src/types/dict.rs:310
↓ 5 callers
Method
len
(&self)
src/types/bytearray.rs:270
↓ 5 callers
Method
push_slot
# Safety The given pointer must be valid for the given slot
src/pyclass/create_type_object.rs:155
↓ 5 callers
Method
push_value
(mut self, value: ffi::PySlot)
src/impl_/pymodule.rs:447
↓ 5 callers
Method
python_framework_prefix
macOS Python3.framework prefix used for special rpath handling.
pyo3-build-config/src/impl_.rs:373
← previous
next →
201–300 of 4,885, ranked by callers