MCPcopy Create free account

hub / github.com/PyO3/pyo3 / functions

Functions4,885 in github.com/PyO3/pyo3

Functionunexpected_keyword_argument
()
src/impl_/extract_argument.rs:1122
Functionunicode_decode_error
()
src/exceptions.rs:1136
Functionunicode_decode_error_from_utf8
()
src/exceptions.rs:1246
Functionunicode_writer_test
()
src/fmt.rs:187
Functionunicode_writer_with_capacity
()
src/fmt.rs:201
Functionunindent_sized
(src: &[u8])
src/impl_/unindent.rs:148
Methodunion
Build the union of the different element
pyo3-macros-backend/src/py_expr.rs:155
Functionunion_members_are_deduplicated_and_spaced
()
pyo3-introspection/src/stubs.rs:1253
Functionunit_class
()
tests/test_class_basics.rs:29
Functionunit_class_with_new
()
tests/test_class_new.rs:53
Functionunix_free_threaded_315_cross_compile
()
pyo3-build-config/src/impl_.rs:3474
Functionunix_free_threaded_pre_315_cross_compile
()
pyo3-build-config/src/impl_.rs:3408
Functionunix_hardcoded_abi3_compile
()
pyo3-build-config/src/impl_.rs:3255
Functionunix_hardcoded_abi3t_compile
()
pyo3-build-config/src/impl_.rs:3270
Functionunix_hardcoded_cross_compile
()
pyo3-build-config/src/impl_.rs:3355
Methodunix_method
(&self)
tests/test_methods.rs:925
Functionunknown_events_are_forwarded
()
src/types/context.rs:691
Functionunsendable_are_not_traversed_on_foreign_thread
We are building wasm Python with pthreads disabled
tests/test_gc.rs:579
Functionupdate_ui_tests
(session: nox.Session)
noxfile.py:1757
Methodupgrade
(&self)
src/types/weakref/reference.rs:162
Methodupgrade
(&self)
src/types/weakref/proxy.rs:154
Methodupgrade_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
Methodupgrade_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
Methodupgrade_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
Functionuse_pyfunction
()
tests/test_pyfunction.rs:582
Methodutc
Equivalent to `datetime.timezone.utc`
src/types/datetime.rs:848
Methodutcoffset
( &self, _dt: Option<&Bound<'_, PyDateTime>>, py: Python<'py>, )
pytests/src/datetime.rs:192
Methodutcoffset
( &self, _dt: Option<&Bound<'_, pyo3::types::PyDateTime>>, py: Python<'py>
tests/test_inheritance.rs:396
Functionutf8_errors
()
src/err/impls.rs:255
Methodvalue
(&self)
tests/test_class_basics.rs:276
Methodvalue
(&self)
tests/test_getter_setter.rs:252
Methodvar
(&self, name: &CStr)
src/types/frame.rs:133
Functionvariable_args
()
tests/test_variable_arguments.rs:27
Functionvariable_kwargs
()
tests/test_variable_arguments.rs:37
Functionvariable_length_argument_stub
(argument: &VariableLengthArgument, imports: &Imports)
pyo3-introspection/src/stubs.rs:391
Functionvec_bytes_from_py_bytearray_large
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_frompyobject.rs:115
Functionvec_bytes_from_py_bytearray_medium
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_frompyobject.rs:110
Functionvec_bytes_from_py_bytearray_small
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_frompyobject.rs:106
Functionvec_bytes_from_py_bytes_large
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_frompyobject.rs:93
Functionvec_bytes_from_py_bytes_medium
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_frompyobject.rs:88
Functionvec_bytes_from_py_bytes_small
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_frompyobject.rs:84
Functionvec_into_pyobject
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_intopyobject.rs:49
Functionvec_iter
()
src/types/iterator.rs:177
Functionvec_to_vec_i32
(vec: Vec<i32>)
pytests/src/sequence.rs:9
Functionvec_to_vec_pystring
(vec: Vec<Bound<'_, PyString>>)
pytests/src/sequence.rs:19
Methodversion
(self)
src/marker.rs:688
Methodversion_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
Functionvisit_error
a visitor function which errors (returns nonzero code)
tests/test_gc.rs:1214
Functionvisit_error_on_base_field
a visitor function which errors on `BASE_FIELD` only
tests/test_gc.rs:726
Functionvisit_func
(obj: *mut ffi::PyObject, arg: *mut c_void)
tests/test_gc.rs:1178
Methodvisit_lifetime_mut
(&mut self, l: &mut syn::Lifetime)
pyo3-macros-backend/src/utils.rs:388
Methodwarn
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
Methodwarn_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
Functionwarnings
()
src/err/mod.rs:981
Functionwatcher_can_be_cleared_explicitly
()
src/types/context.rs:499
Functionwatcher_is_cleared_on_drop
()
src/types/context.rs:479
Methodweaklist_offset
()
src/impl_/pyclass.rs:285
Functionweakref_dunder_dict_support
()
tests/test_class_basics.rs:590
Functionweakref_support
()
tests/test_class_basics.rs:613
Functionwildcard_argument
(_: i32)
tests/ui/invalid_pyfunctions.rs:13
Functionwindows_free_threaded_pre_315_cross_compile
()
pyo3-build-config/src/impl_.rs:3440
Functionwindows_hardcoded_abi3_compile
()
pyo3-build-config/src/impl_.rs:3223
Functionwindows_hardcoded_abi3t_compile
()
pyo3-build-config/src/impl_.rs:3239
Functionwindows_hardcoded_cross_compile
()
pyo3-build-config/src/impl_.rs:3303
Functionwith_async
()
pytests/src/pyfunctions.rs:93
Methodwith_capacity
(py: Python<'py>, capacity: usize)
src/fmt.rs:75
Methodwith_capacity
(py: Python<'py>, capacity: usize)
src/types/bytes/writer.rs:42
Methodwith_capacity
Creates a new `PyObjectFreeList` instance with specified capacity.
src/impl_/freelist.rs:52
Functionwith_custom_type_annotations
( a: Bound<'py, PyAny>, _args: Bound<'py, PyTuple>, _b: Option<Bound<'py, PyAny>>,
pytests/src/annotations.rs:12
Functionwith_module
(module: &Bound<'py, PyModule>)
tests/test_module.rs:65
Functionwith_typed_args
(a: bool, b: u64, c: f64, d: &str)
pytests/src/pyfunctions.rs:87
Functionwith_vectorcall_arguments_offset
(n: size_t)
src/types/tuple.rs:985
Functionword_count
(m: &Bound<'_, PyModule>)
examples/word-count/src/lib.rs:36
Functionworker
(worker_id: int)
pytests/tests/test_misc.py:105
Methodwrap
(self)
src/impl_/wrap.rs:15
Methodwrap_into_ptr
(&self, py: Python<'_>, _obj: ())
src/impl_/wrap.rs:97
Methodwrap_into_pyobject
(&self, py: Python<'_>, _obj: ())
src/impl_/wrap.rs:102
Functionwrap_option
()
src/impl_/wrap.rs:232
Methodwrap_pyfunction
( self, function_def: &'static PyFunctionDef, )
src/impl_/pyfunction.rs:58
Functionwrap_result
()
src/impl_/wrap.rs:241
Methodwrite_vectored
(&mut self, bufs: &[std::io::IoSlice<'_>])
src/types/bytes/writer.rs:173
Functionwrong_tuple_length
(t: Borrowed<'_, '_, PyTuple>, expected_length: usize)
src/types/tuple.rs:628
Functionzap_into_py
( len: std::borrow::Cow<'_, usize>, py: Python<'py>, )
tests/test_intopyobject.rs:223
Methodzeroed
()
pyo3-ffi/src/methodobject.rs:116
Functionzizmor
(session: nox.Session)
noxfile.py:291
← previous4,801–4,885 of 4,885, ranked by callers