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
method_with_lifetime
()
tests/test_methods.rs:832
Function
method_with_pyclassarg
()
tests/test_methods.rs:882
Method
method_with_warning
(_slf: crate::PyRef<'_, Self>)
src/tests/hygiene/pymethods.rs:487
Method
method_with_warning
(_slf: PyRef<'_, Self>)
tests/test_methods.rs:1330
Method
method_with_warning_and_custom_category
(_slf: crate::PyRef<'_, Self>)
src/tests/hygiene/pymethods.rs:490
Method
method_with_warning_and_custom_category
(_slf: PyRef<'_, Self>)
tests/test_methods.rs:1333
Method
method_with_warning_and_user_defined_category
(&self)
src/tests/hygiene/pymethods.rs:494
Method
method_with_warning_and_user_defined_category
(&self)
tests/test_methods.rs:1337
Function
mingw_hardcoded_cross_compile
()
pyo3-build-config/src/impl_.rs:3329
Function
missing_cancel_handle_attribute
(_param: pyo3::coroutine::CancelHandle)
tests/ui/invalid_cancel_handle.rs:24
Function
missing_required_arguments
()
src/impl_/extract_argument.rs:1184
Method
module_attr
Build from a module and a name like `collections.abc` and `Sequence`
pyo3-macros-backend/src/py_expr.rs:83
Function
module_def_new
()
src/impl_/pymodule.rs:637
Function
module_dict
(m: &Bound<'_, PyModule>)
tests/test_module.rs:316
Function
module_exec
( module: *mut ffi::PyObject, f: for<'a, 'py> fn(&'a Bound<'py, PyModule>) -> PyResult<()>, )
src/impl_/trampoline.rs:26
Function
module_exec
(_module: *mut ffi::PyObject)
src/impl_/pymodule.rs:577
Function
module_filename
()
src/types/module.rs:605
Function
module_fn_multiple_errors
~^ ERROR: `name` may only be specified once ~| ERROR: `gil_used` may only be specified once
tests/ui/invalid_pymodule_args.rs:12
Function
module_fn_with_functions
(m: &Bound<'_, PyModule>)
tests/test_append_to_inittab.rs:12
Function
module_from_code_empty_file
()
src/types/module.rs:620
Function
module_import_and_name
()
src/types/module.rs:597
Function
module_init
()
src/impl_/pymodule.rs:582
Function
module_with_constant
(m: &Bound<'_, PyModule>)
tests/test_module.rs:437
Function
module_with_explicit_py_arg
(_py: Python<'_>, m: &Bound<'_, PyModule>)
tests/test_module.rs:205
Function
module_with_functions_with_module
(m: &Bound<'_, PyModule>)
tests/test_module.rs:507
Function
module_with_pyfn
(m: &Bound<'_, PyModule>)
tests/test_module.rs:129
Function
module_with_pyfn
(m: &Bound<'_, PyModule>)
tests/ui/deprecated_pyfn.rs:6
Method
mro
(&self)
src/types/typeobject.rs:217
Method
multiple_default_warnings_fn
(&self)
src/tests/hygiene/pymethods.rs:558
Method
multiple_errors_classmethod_with_receiver
(&self)
tests/ui/invalid_pymethods.rs:205
Method
multiple_errors_different_order
~^ ERROR: expected argument from function definition `x` but got argument `kwargs`
tests/ui/invalid_pyfunction_signatures.rs:77
Method
multiple_errors_same_order
~^ ERROR: expected argument from function definition `args` but got argument `kwargs`
tests/ui/invalid_pyfunction_signatures.rs:69
Method
multiple_errors_static_and_class_method
()
tests/ui/invalid_pymethods.rs:198
Method
multiple_errors_staticmethod_with_receiver
(&self)
tests/ui/invalid_pymethods.rs:201
Method
multiple_method_types
()
tests/ui/invalid_pymethods.rs:117
Method
multiple_warn_custom_category_method
(&self)
tests/test_methods.rs:1542
Method
multiple_warn_method
(&self)
src/tests/hygiene/pymethods.rs:541
Method
multiple_warn_method
(&self)
tests/test_methods.rs:1537
Function
multiple_warning_function
()
src/tests/hygiene/pyfunction.rs:25
Method
multiple_warnings_fn
(&self)
src/tests/hygiene/pymethods.rs:562
Method
multiple_warnings_fn_with_custom_category
(&self)
src/tests/hygiene/pymethods.rs:567
Function
multiple_watchers_can_register_the_same_callback
()
src/types/context.rs:512
Function
multithreaded_class_with_freelist
()
tests/test_gc.rs:68
Method
must_be_unique
(&self)
tests/test_compile_error.rs:424
Method
mut_method
(&mut self)
tests/ui/invalid_frozen_pyclass_borrow.rs:12
Function
mut_ref_arg
()
tests/test_various.rs:27
Method
mutate_in_place
(&mut self)
tests/ui/invalid_pymethod_enum.rs:12
Function
mutation_fails
()
tests/test_inheritance.rs:158
Method
my_classmethod
(_cls: Py<PyType>)
tests/test_coroutine.rs:68
Function
my_fn
()
tests/test_coroutine.rs:56
Function
my_function
(a: i32, b: Option<i32>, c: i32)
tests/test_text_signature.rs:98
Function
my_function_2
(module: &Bound<'_, PyModule>, a: i32, b: i32, c: i32)
tests/test_text_signature.rs:117
Function
my_function_3
(a: i32, b: Option<i32>, c: i32)
tests/test_text_signature.rs:122
Function
my_function_4
( a: i32, b: Option<i32>, args: &Bound<'_, PyTuple>, c: i32, d: i32,
tests/test_text_signature.rs:127
Function
my_function_5
(a: i32, b: Option<i32>, c: f32, d: i32, e: &str, f: char, h: bool)
tests/test_text_signature.rs:139
Function
my_function_6
(a: i32, b: Option<i32>, c: Option<i32>)
tests/test_text_signature.rs:145
Method
my_method
TODO use &self when possible
tests/test_coroutine.rs:66
Function
my_module
(m: &crate::Bound<'_, crate::types::PyModule>)
src/tests/hygiene/pymodule.rs:18
Function
my_module
(_m: &Bound<'_, PyModule>)
tests/test_module.rs:557
Function
my_module
(m: &Bound<'_, PyModule>)
tests/test_text_signature.rs:336
Method
my_staticmethod
()
tests/test_coroutine.rs:70
Function
mypy
(session: nox.Session)
pytests/noxfile.py:60
Method
name
Gets the name of the `PyType`.
src/types/typeobject.rs:121
Method
name
(&self)
src/types/capsule.rs:569
Function
names_in_defaults_and_values_are_imported
()
pyo3-introspection/src/stubs.rs:1355
Function
native_exception_debug
()
src/exceptions.rs:1106
Function
native_exception_display
()
src/exceptions.rs:1121
Method
ne
(&self, other: O)
src/types/any.rs:1007
Method
neg
(&self)
src/types/any.rs:955
Method
neg
(self)
src/types/complex.rs:125
Function
nested_empty_tuples
()
pytests/src/pyfunctions.rs:8
Function
nested_packages_are_written_into_their_own_directory
()
pyo3-introspection/src/stubs.rs:1293
Method
never_compiled_method
(&self)
tests/test_methods.rs:930
Method
new
( interpreter_config: &InterpreterConfig, supported_version: PythonVersion, )
pyo3-build-config/src/lib.rs:242
Method
new
(implementation: PythonImplementation, version: PythonVersion)
pyo3-build-config/src/impl_.rs:923
Method
new
(attr: &Option<CrateAttribute>, signature: Option<&syn::Signature>)
pyo3-macros-backend/src/utils.rs:203
Method
new
(slot: &'static str, func_ty: &'static str)
pyo3-macros-backend/src/pymethod.rs:1406
Method
new
Construct a new enum representation. `data_enum` is the `syn` representation of the input enum, `ident` is the `Identifier` of the enum.
pyo3-macros-backend/src/frompyobject.rs:24
Method
new
Fails if the variant has no fields or incompatible attributes.
pyo3-macros-backend/src/intopyobject.rs:77
Method
new
()
pyo3-macros-backend/src/params.rs:17
Method
new
(enum_: &'a mut syn::ItemEnum)
pyo3-macros-backend/src/pyclass.rs:558
Method
new
Uses type inference of return value from a closure to sniff return type `T` without needing to ever call the function.
pyo3-ffi-check/src/main.rs:90
Method
new
()
pytests/src/exception.rs:15
Method
new
()
pytests/src/pyclasses.rs:19
Method
new
()
pytests/src/objstore.rs:16
Method
new
(value: i64)
pytests/src/comparisons.rs:11
Method
new
()
pytests/src/othermod.rs:19
Method
new
(expected: u32)
pytests/src/dict_iter.rs:17
Method
new
()
pytests/src/subclassing.rs:17
Method
new
(result: Py<PyAny>)
pytests/src/awaitable.rs:24
Method
new
()
pytests/src/datetime.rs:187
Method
new
()
pyo3-ffi/src/pybuffer.rs:31
Method
new
()
pyo3-ffi/src/cpython/lock.rs:14
Method
new
()
pyo3-ffi/src/cpython/object.rs:52
Method
new
(storage: Storage)
pyo3-ffi/src/cpython/unicodeobject.rs:33
Method
new
()
pyo3-ffi/examples/sequential/src/id.rs:20
Method
new
()
pyo3-introspection/src/stubs.rs:640
Method
new
(elements: Vec<i32>)
pyo3-benches/benches/bench_pyclass.rs:16
Method
new
Creates a new `PyUnicodeWriter`.
src/fmt.rs:69
Method
new
Wrap a future into a Python coroutine. Coroutine `send` polls the wrapped future, ignoring the value passed (should always be `None` anyway). `Corou
src/coroutine.rs:51
← previous
next →
3,001–3,100 of 4,885, ranked by callers