MCPcopy Create free account

hub / github.com/PyO3/pyo3 / functions

Functions4,885 in github.com/PyO3/pyo3

Methodsplit_and_parse_number
(version_part: &str)
src/version.rs:34
Functionstable_abi_applicability
()
pyo3-build-config/src/impl_.rs:3851
Functionstart
create an instance of Gadget, configure it and return to Rust
examples/plugin/python_plugin/gadget_init_plugin.py:5
Functionstatic_method
()
tests/test_methods.rs:226
Methodstatic_method
()
src/tests/hygiene/pymethods.rs:498
Methodstatic_method
()
tests/test_methods.rs:1341
Methodstatic_method
(d: i32)
tests/test_text_signature.rs:378
Functionstatic_method_with_args
()
tests/test_methods.rs:252
Functionstatic_py
~^ ERROR: borrowed data escapes outside of function
tests/ui/static_ref.rs:13
Functionstatic_ref
~^ ERROR: borrowed data escapes outside of function ~| ERROR: temporary value dropped while borrowed
tests/ui/static_ref.rs:7
Methodstatically_allocated
(&self)
pyo3-ffi/src/cpython/unicodeobject.rs:218
Methodstaticmethod
()
src/tests/hygiene/pymethods.rs:386
Methodstaticmethod
(a: i32, b: i32, c: i32)
tests/test_text_signature.rs:227
Methodstaticmethod
(#[pyo3(from_py_with = get_length)] argument: usize)
tests/test_class_basics.rs:375
Methodstaticmethod
()
tests/test_multiple_pymethods.rs:45
Methodstaticmethod_takes_no_arguments
~^ ERROR: `#[staticmethod]` does not take any arguments
tests/ui/invalid_pymethods.rs:145
Methodstaticmethod_with_receiver
(&self)
tests/ui/invalid_pymethods.rs:20
Methodstaticmethod_without_attribute
()
tests/ui/invalid_pymethods.rs:16
Functionstd_error_conversions
()
src/err/impls.rs:318
Methodstr_constant
(value: impl Into<String>)
pyo3-macros-backend/src/py_expr.rs:197
Functionstruct_function
()
tests/test_pyfunction.rs:23
Methodstruct_method
(&self)
tests/test_class_basics.rs:135
Methodsub_method
(&self, x: usize)
tests/test_inheritance.rs:124
Methodsub_set_and_ret
(&mut self, x: usize)
tests/test_inheritance.rs:127
Functionsubclass
()
tests/test_inheritance.rs:80
Functionsubclass_new
()
tests/test_class_new.rs:162
Functionsubfunction
()
tests/test_module.rs:345
Functionsubmodule
(m: &Bound<'_, PyModule>)
examples/setuptools-rust-starter/src/submodule.rs:19
Functionsubmodule
(m: &Bound<'_, PyModule>)
examples/meson-starter/src/submodule.rs:19
Functionsubmodule
(m: &Bound<'_, PyModule>)
examples/maturin-starter/src/submodule.rs:19
Functionsubmodules_are_re_exported_by_their_parent
()
pyo3-introspection/src/stubs.rs:1056
Methodsubscript
Build the subscripted type value[slice]
pyo3-macros-backend/src/py_expr.rs:164
Functionsuperfunction
()
tests/test_module.rs:361
Functionsupermodule
(module: &Bound<'_, PyModule>)
tests/test_module.rs:366
Functionsynthesized_clear
`tp_clear` for a `#[pyclass]` which defines no `__clear__` of its own: calls the base type and clears the instance `__dict__` (if it is a `#[pyclass(d
src/impl_/pymethods.rs:547
Methodtake
Takes the value out of the cell, moving it back to an uninitialized state. Has no effect and returns None if the cell has not yet been written.
src/sync/once_lock.rs:100
Functiontake_name_or_path
(value: NameOrPath)
pytests/src/path.rs:27
Functiontake_pathbuf
(path: PathBuf)
pytests/src/path.rs:14
Functiontarget_abi3_version_different_from_host
()
pyo3-build-config/src/impl_.rs:3833
Functiontest
(session: nox.Session)
pytests/noxfile.py:14
Functiontest
(session: nox.Session)
examples/word-count/noxfile.py:9
Methodtest
(&self, _y: &Dummy, _z: i32)
src/tests/hygiene/pymethods.rs:384
Functiontest_abs
()
src/types/complex.rs:207
Functiontest_accepts_numpy_bool
()
pytests/tests/test_misc.py:77
Functiontest_acquire_gil
()
src/marker.rs:909
Functiontest_add
()
src/types/complex.rs:153
Functiontest_add_note
()
src/err/mod.rs:1046
Functiontest_ambiguous_datetime_to_pyobject
()
src/conversions/chrono_tz.rs:124
Functiontest_ambiguous_datetime_to_pyobject
()
src/conversions/jiff.rs:831
Functiontest_anext_aiter
Won't work without wasm32 event loop (e.g., Pyodide has WebLoop)
tests/test_proto_methods.rs:824
Functiontest_any_contains
()
src/types/any.rs:1663
Functiontest_any_is_exact_instance
()
src/types/any.rs:1653
Functiontest_any_is_exact_instance_of
()
src/types/any.rs:1637
Functiontest_any_is_instance
()
src/types/any.rs:1629
Functiontest_any_is_instance_of
()
src/types/any.rs:1618
Functiontest_any_object_list_get
()
tests/test_sequence.rs:306
Functiontest_any_object_list_set
()
tests/test_sequence.rs:322
Functiontest_append
()
src/types/list.rs:998
Functiontest_append_refcnt
()
src/types/list.rs:1008
Functiontest_arbitrary_object
()
tests/test_class_init.rs:89
Functiontest_arg
()
examples/decorator/tests/test_.py:17
Functiontest_args
()
pyo3-ffi/examples/sequential/tests/test_.py:11
Methodtest_args
(args: Bound<'_, PyTuple>)
tests/test_variable_arguments.rs:15
Functiontest_args_kwargs_py
(benchmark)
pytests/tests/test_pyfunctions.py:80
Functiontest_args_kwargs_rs
(benchmark)
pytests/tests/test_pyfunctions.py:84
Functiontest_array_buffer
()
src/buffer.rs:1061
Functiontest_array_into_pyobject
()
src/types/list.rs:1318
Functiontest_array_intopyobject_impl
()
src/conversions/std/array.rs:316
Functiontest_as_bytes
()
src/types/bytearray.rs:356
Functiontest_as_bytes_mut
()
src/types/bytearray.rs:368
Functiontest_as_ptr
()
src/pycell.rs:784
Functiontest_as_ref_slice
()
src/types/bytes.rs:477
Functiontest_as_sequence
()
src/types/list.rs:1245
Functiontest_as_slice
()
src/types/tuple.rs:1254
Functiontest_as_slice_ptr
()
src/buffer.rs:1160
Functiontest_as_string
()
src/types/bytes.rs:463
Functiontest_as_super
()
src/instance.rs:2864
Functiontest_assert_pyclass_send_sync
()
src/impl_/pyclass/assertions.rs:30
Functiontest_async_fn_borrowed_values
()
tests/test_coroutine.rs:375
Functiontest_async_fn_class_values
()
tests/test_coroutine.rs:414
Functiontest_async_function_args_kwargs
()
tests/test_coroutine.rs:458
Functiontest_async_function_returns_unit_none
()
tests/test_coroutine.rs:42
Functiontest_async_method_receiver
()
tests/test_coroutine.rs:273
Functiontest_async_method_receiver_with_other_args
()
tests/test_coroutine.rs:340
Functiontest_attach_counts
()
src/internal/state.rs:509
Functiontest_attach_guard_drop_deferred_references
()
src/internal/state.rs:650
Functiontest_auto_test_signature_function
()
tests/test_text_signature.rs:110
Functiontest_auto_test_signature_method
()
tests/test_text_signature.rs:192
Functiontest_auto_test_signature_opt_out
()
tests/test_text_signature.rs:270
Functiontest_await
Won't work without wasm32 event loop (e.g., Pyodide has WebLoop)
tests/test_proto_methods.rs:771
Functiontest_backed_bytes_eq
()
src/pybacked.rs:732
Functiontest_backed_bytes_from_bytearray_clone
()
src/pybacked.rs:702
Functiontest_backed_bytes_from_bytearray_clone_ref
()
src/pybacked.rs:714
Functiontest_backed_bytes_from_bytes_clone
()
src/pybacked.rs:671
Functiontest_backed_bytes_from_bytes_clone_ref
()
src/pybacked.rs:683
Functiontest_backed_bytes_hash
()
src/pybacked.rs:747
Functiontest_backed_bytes_ord
()
src/pybacked.rs:775
Functiontest_backed_str_as_py_str
()
src/pybacked.rs:660
Functiontest_backed_str_as_str
()
src/pybacked.rs:651
Functiontest_backed_str_clone
()
src/pybacked.rs:562
← previousnext →3,501–3,600 of 4,885, ranked by callers