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
Function
unexpected_keyword_argument
()
src/impl_/extract_argument.rs:1122
Function
unicode_decode_error
()
src/exceptions.rs:1136
Function
unicode_decode_error_from_utf8
()
src/exceptions.rs:1246
Function
unicode_writer_test
()
src/fmt.rs:187
Function
unicode_writer_with_capacity
()
src/fmt.rs:201
Function
unindent_sized
(src: &[u8])
src/impl_/unindent.rs:148
Method
union
Build the union of the different element
pyo3-macros-backend/src/py_expr.rs:155
Function
union_members_are_deduplicated_and_spaced
()
pyo3-introspection/src/stubs.rs:1253
Function
unit_class
()
tests/test_class_basics.rs:29
Function
unit_class_with_new
()
tests/test_class_new.rs:53
Function
unix_free_threaded_315_cross_compile
()
pyo3-build-config/src/impl_.rs:3474
Function
unix_free_threaded_pre_315_cross_compile
()
pyo3-build-config/src/impl_.rs:3408
Function
unix_hardcoded_abi3_compile
()
pyo3-build-config/src/impl_.rs:3255
Function
unix_hardcoded_abi3t_compile
()
pyo3-build-config/src/impl_.rs:3270
Function
unix_hardcoded_cross_compile
()
pyo3-build-config/src/impl_.rs:3355
Method
unix_method
(&self)
tests/test_methods.rs:925
Function
unknown_events_are_forwarded
()
src/types/context.rs:691
Function
unsendable_are_not_traversed_on_foreign_thread
We are building wasm Python with pthreads disabled
tests/test_gc.rs:579
Function
update_ui_tests
(session: nox.Session)
noxfile.py:1757
Method
upgrade
(&self)
src/types/weakref/reference.rs:162
Method
upgrade
(&self)
src/types/weakref/proxy.rs:154
Method
upgrade_as
use pyo3::prelude::*; use pyo3::types::PyWeakrefReference; #[pyclass(weakref)] struct Foo { /* fields omitted */ } #[pymethods] impl Foo { fn get_da
src/types/weakref/anyref.rs:123
Method
upgrade_as_exact
use pyo3::prelude::*; use pyo3::types::PyWeakrefReference; #[pyclass(weakref)] struct Foo { /* fields omitted */ } #[pymethods] impl Foo { fn get_da
src/types/weakref/anyref.rs:261
Method
upgrade_as_unchecked
use pyo3::prelude::*; use pyo3::types::PyWeakrefReference; #[pyclass(weakref)] struct Foo { /* fields omitted */ } #[pymethods] impl Foo { fn get_da
src/types/weakref/anyref.rs:197
Function
use_pyfunction
()
tests/test_pyfunction.rs:582
Method
utc
Equivalent to `datetime.timezone.utc`
src/types/datetime.rs:848
Method
utcoffset
( &self, _dt: Option<&Bound<'_, PyDateTime>>, py: Python<'py>, )
pytests/src/datetime.rs:192
Method
utcoffset
( &self, _dt: Option<&Bound<'_, pyo3::types::PyDateTime>>, py: Python<'py>
tests/test_inheritance.rs:396
Function
utf8_errors
()
src/err/impls.rs:255
Method
value
(&self)
tests/test_class_basics.rs:276
Method
value
(&self)
tests/test_getter_setter.rs:252
Method
var
(&self, name: &CStr)
src/types/frame.rs:133
Function
variable_args
()
tests/test_variable_arguments.rs:27
Function
variable_kwargs
()
tests/test_variable_arguments.rs:37
Function
variable_length_argument_stub
(argument: &VariableLengthArgument, imports: &Imports)
pyo3-introspection/src/stubs.rs:391
Function
vec_bytes_from_py_bytearray_large
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_frompyobject.rs:115
Function
vec_bytes_from_py_bytearray_medium
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_frompyobject.rs:110
Function
vec_bytes_from_py_bytearray_small
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_frompyobject.rs:106
Function
vec_bytes_from_py_bytes_large
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_frompyobject.rs:93
Function
vec_bytes_from_py_bytes_medium
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_frompyobject.rs:88
Function
vec_bytes_from_py_bytes_small
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_frompyobject.rs:84
Function
vec_into_pyobject
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_intopyobject.rs:49
Function
vec_iter
()
src/types/iterator.rs:177
Function
vec_to_vec_i32
(vec: Vec<i32>)
pytests/src/sequence.rs:9
Function
vec_to_vec_pystring
(vec: Vec<Bound<'_, PyString>>)
pytests/src/sequence.rs:19
Method
version
(self)
src/marker.rs:688
Method
version_str
Gets the running Python interpreter version as a string. # Examples ```rust # use pyo3::Python; assert!(Python::version_str().starts_with("3.")); ```
src/marker.rs:699
Function
visit_error
a visitor function which errors (returns nonzero code)
tests/test_gc.rs:1214
Function
visit_error_on_base_field
a visitor function which errors on `BASE_FIELD` only
tests/test_gc.rs:726
Function
visit_func
(obj: *mut ffi::PyObject, arg: *mut c_void)
tests/test_gc.rs:1178
Method
visit_lifetime_mut
(&mut self, l: &mut syn::Lifetime)
pyo3-macros-backend/src/utils.rs:388
Method
warn
Issues a warning message. May return an `Err(PyErr)` if warnings-as-errors is enabled. Equivalent to `warnings.warn()` in Python. The `category` sh
src/err/mod.rs:511
Method
warn_explicit
Issues a warning message, with more control over the warning attributes. May return a `PyErr` if warnings-as-errors is enabled. Equivalent to `warni
src/err/mod.rs:534
Function
warnings
()
src/err/mod.rs:981
Function
watcher_can_be_cleared_explicitly
()
src/types/context.rs:499
Function
watcher_is_cleared_on_drop
()
src/types/context.rs:479
Method
weaklist_offset
()
src/impl_/pyclass.rs:285
Function
weakref_dunder_dict_support
()
tests/test_class_basics.rs:590
Function
weakref_support
()
tests/test_class_basics.rs:613
Function
wildcard_argument
(_: i32)
tests/ui/invalid_pyfunctions.rs:13
Function
windows_free_threaded_pre_315_cross_compile
()
pyo3-build-config/src/impl_.rs:3440
Function
windows_hardcoded_abi3_compile
()
pyo3-build-config/src/impl_.rs:3223
Function
windows_hardcoded_abi3t_compile
()
pyo3-build-config/src/impl_.rs:3239
Function
windows_hardcoded_cross_compile
()
pyo3-build-config/src/impl_.rs:3303
Function
with_async
()
pytests/src/pyfunctions.rs:93
Method
with_capacity
(py: Python<'py>, capacity: usize)
src/fmt.rs:75
Method
with_capacity
(py: Python<'py>, capacity: usize)
src/types/bytes/writer.rs:42
Method
with_capacity
Creates a new `PyObjectFreeList` instance with specified capacity.
src/impl_/freelist.rs:52
Function
with_custom_type_annotations
( a: Bound<'py, PyAny>, _args: Bound<'py, PyTuple>, _b: Option<Bound<'py, PyAny>>,
pytests/src/annotations.rs:12
Function
with_module
(module: &Bound<'py, PyModule>)
tests/test_module.rs:65
Function
with_typed_args
(a: bool, b: u64, c: f64, d: &str)
pytests/src/pyfunctions.rs:87
Function
with_vectorcall_arguments_offset
(n: size_t)
src/types/tuple.rs:985
Function
word_count
(m: &Bound<'_, PyModule>)
examples/word-count/src/lib.rs:36
Function
worker
(worker_id: int)
pytests/tests/test_misc.py:105
Method
wrap
(self)
src/impl_/wrap.rs:15
Method
wrap_into_ptr
(&self, py: Python<'_>, _obj: ())
src/impl_/wrap.rs:97
Method
wrap_into_pyobject
(&self, py: Python<'_>, _obj: ())
src/impl_/wrap.rs:102
Function
wrap_option
()
src/impl_/wrap.rs:232
Method
wrap_pyfunction
( self, function_def: &'static PyFunctionDef, )
src/impl_/pyfunction.rs:58
Function
wrap_result
()
src/impl_/wrap.rs:241
Method
write_vectored
(&mut self, bufs: &[std::io::IoSlice<'_>])
src/types/bytes/writer.rs:173
Function
wrong_tuple_length
(t: Borrowed<'_, '_, PyTuple>, expected_length: usize)
src/types/tuple.rs:628
Function
zap_into_py
( len: std::borrow::Cow<'_, usize>, py: Python<'py>, )
tests/test_intopyobject.rs:223
Method
zeroed
()
pyo3-ffi/src/methodobject.rs:116
Function
zizmor
(session: nox.Session)
noxfile.py:291
← previous
4,801–4,885 of 4,885, ranked by callers