Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dgrunwald/rust-cpython
/ functions
Functions
924 in github.com/dgrunwald/rust-cpython
⨍
Functions
924
◇
Types & classes
186
Function
PySet_Check
(ob: *mut PyObject)
python3-sys/src/setobject.rs:42
Function
PySet_CheckExact
(ob: *mut PyObject)
python3-sys/src/setobject.rs:37
Function
PySlice_Check
(op: *mut PyObject)
python27-sys/src/sliceobject.rs:37
Function
PySlice_Check
(op: *mut PyObject)
python3-sys/src/sliceobject.rs:23
Function
PyString_Check
(op: *mut PyObject)
python27-sys/src/stringobject.rs:28
Function
PyString_CheckExact
(op: *mut PyObject)
python27-sys/src/stringobject.rs:33
Function
PyString_GET_SIZE
(op: *mut PyObject)
python27-sys/src/stringobject.rs:39
Function
PyThreadState_GET
()
python3-sys/src/pystate.rs:77
Function
PyTraceBack_Check
(op: *mut PyObject)
python27-sys/src/traceback.rs:31
Function
PyTraceBack_Check
(op: *mut PyObject)
python3-sys/src/traceback.rs:14
Function
PyTuple_Check
(op: *mut PyObject)
python27-sys/src/tupleobject.rs:25
Function
PyTuple_Check
(op: *mut PyObject)
python3-sys/src/tupleobject.rs:20
Function
PyTuple_CheckExact
(op: *mut PyObject)
python27-sys/src/tupleobject.rs:30
Function
PyTuple_CheckExact
(op: *mut PyObject)
python3-sys/src/tupleobject.rs:25
Function
PyTuple_SET_ITEM
(op: *mut PyObject, i: Py_ssize_t, v: *mut PyObject)
python27-sys/src/tupleobject.rs:51
Function
PyTuple_SET_ITEM
(op: *mut PyObject, i: Py_ssize_t, v: *mut PyObject)
python3-sys/src/tupleobject.rs:65
Function
PyType_CheckExact
(op: *mut PyObject)
python27-sys/src/object.rs:610
Function
PyType_CheckExact
(op: *mut PyObject)
python3-sys/src/object.rs:735
Function
PyType_SUPPORTS_WEAKREFS
(t: *mut PyTypeObject)
python27-sys/src/objimpl.rs:67
Function
PyType_SUPPORTS_WEAKREFS
(t: *mut PyTypeObject)
python3-sys/src/objimpl.rs:123
Function
PyUnicode_AS_DATA
(o: *mut PyObject)
python27-sys/src/unicodeobject.rs:65
Function
PyUnicode_AsUTF8String
(u: *mut PyObject)
python27-sys/src/unicodeobject.rs:659
Function
PyUnicode_Check
(op: *mut PyObject)
python27-sys/src/lib.rs:210
Function
PyUnicode_Check
(op: *mut PyObject)
python27-sys/src/unicodeobject.rs:39
Function
PyUnicode_Check
(op: *mut PyObject)
python3-sys/src/unicodeobject.rs:23
Function
PyUnicode_CheckExact
(op: *mut PyObject)
python27-sys/src/lib.rs:216
Function
PyUnicode_CheckExact
(op: *mut PyObject)
python27-sys/src/unicodeobject.rs:44
Function
PyUnicode_CheckExact
(op: *mut PyObject)
python3-sys/src/unicodeobject.rs:28
Function
PyUnicode_GET_DATA_SIZE
(o: *mut PyObject)
python27-sys/src/unicodeobject.rs:55
Function
PyWeakref_Check
(op: *mut PyObject)
python27-sys/src/weakrefobject.rs:46
Function
PyWeakref_Check
(op: *mut PyObject)
python3-sys/src/weakrefobject.rs:34
Function
PyWeakref_CheckRefExact
(op: *mut PyObject)
python27-sys/src/weakrefobject.rs:35
Function
PyWeakref_CheckRefExact
(op: *mut PyObject)
python3-sys/src/weakrefobject.rs:23
Function
PyWeakref_GET_OBJECT
(_ref: *mut PyObject)
python27-sys/src/weakrefobject.rs:61
Function
Py_CLEAR
(op: &mut *mut PyObject)
python27-sys/src/object.rs:816
Function
Py_CLEAR
(op: &mut *mut PyObject)
python3-sys/src/object.rs:917
Function
Py_CompileString
(string: *const c_char, p: *const c_char, s: c_int)
python3-sys/src/pythonrun.rs:204
Function
Py_CompileStringFlags
( string: *const c_char, p: *const c_char, s: c_int, f: *mut PyCompilerFlags, )
python3-sys/src/pythonrun.rs:209
Function
Py_Ellipsis
()
python27-sys/src/sliceobject.rs:12
Function
Py_Ellipsis
()
python3-sys/src/sliceobject.rs:12
Function
Py_False
()
python27-sys/src/boolobject.rs:23
Function
Py_InitModule3
( name: *const c_char, methods: *mut PyMethodDef, doc: *const c_char, )
python27-sys/src/modsupport.rs:136
Function
Py_IsFalse
(obj: *mut PyObject)
python3-sys/src/boolobject.rs:30
Function
Py_IsNone
(x: *mut PyObject)
python3-sys/src/object.rs:959
Function
Py_IsTrue
(obj: *mut PyObject)
python3-sys/src/boolobject.rs:35
Function
Py_NotImplemented
()
python27-sys/src/object.rs:853
Function
Py_TRASHCAN
(op: *mut PyObject, body: F)
python27-sys/src/object.rs:874
Function
Py_True
()
python27-sys/src/boolobject.rs:28
Function
Py_XDECREF
(op: *mut PyObject)
python27-sys/src/object.rs:832
Function
Py_XDECREF
(op: *mut PyObject)
python3-sys/src/object.rs:933
Function
Py_XINCREF
(op: *mut PyObject)
python27-sys/src/object.rs:825
Function
Py_XINCREF
(op: *mut PyObject)
python3-sys/src/object.rs:926
Method
__init__
(self, name, allow_ref=True)
src/py_class/py_class_impl.py:662
Method
absolute
(&self, py: Python)
src/objectprotocol/number.rs:152
Method
acquire
Acquires the global interpreter lock, which allows access to the Python runtime. If the Python runtime is not already initialized, this function will
src/pythonrun.rs:115
Method
acquire_gil
()
src/python.rs:229
Method
add
Adds a member to the module. This is a convenience function which can be used from the module's initialization function.
src/objects/module.rs:142
Method
add_class
Adds a new extension type to the module. This is a convenience function that initializes the `py_class!()`, sets `new_type.__module__` to this module
src/objects/module.rs:154
Function
addition
()
src/objectprotocol/number.rs:270
Method
alloc
(py: Python, ty: &PyType, _init_val: ())
src/py_class/mod.rs:140
Method
as_basestring
(&self)
src/objects/string.rs:380
Method
as_fortran_mut_slice
Gets the buffer memory as a slice. This function succeeds if: the buffer is not read-only the buffer format is compatible with `T` alignment and size
src/buffer.rs:404
Method
as_fortran_slice
Gets the buffer memory as a slice. This function succeeds if: the buffer format is compatible with `T` alignment and size of buffer elements is match
src/buffer.rs:374
Method
as_mut_slice
Gets the buffer memory as a slice. This function succeeds if: the buffer is not read-only the buffer format is compatible with `T` alignment and size
src/buffer.rs:347
Method
as_object
(&self)
src/objects/object.rs:72
Method
as_slice
Gets the buffer memory as a slice. This function succeeds if: the buffer format is compatible with `T` alignment and size of buffer elements is match
src/buffer.rs:320
Method
assume_gil_acquired
()
src/python.rs:220
Function
binary_arithmetic
()
tests/test_class.rs:866
Method
bitwise_and
(&self, py: Python, other: impl ToPyObject)
src/objectprotocol/number.rs:191
Method
bitwise_invert
(&self, py: Python)
src/objectprotocol/number.rs:162
Method
bitwise_or
(&self, py: Python, other: impl ToPyObject)
src/objectprotocol/number.rs:210
Method
bitwise_xor
(&self, py: Python, other: impl ToPyObject)
src/objectprotocol/number.rs:201
Method
borrow_from_owned_ptr_slice
(ptr: &[*mut ffi::PyObject])
src/objects/object.rs:191
Method
borrow_from_ptr
(ptr: &*mut ffi::PyObject)
src/objects/object.rs:183
Method
buf_ptr
(&self)
src/buffer.rs:182
Function
build_tp_name
(module_name: Option<&str>, type_name: &str)
src/py_class/slots.rs:109
Method
call
(&self, py: Python, args: A, kwargs: Option<&PyDict>)
src/objects/typeobject.rs:68
Method
call
Calls a function in the module. This is equivalent to the Python expression: `getattr(module, name)(*args, **kwargs)` `args` should be a value that,
src/objects/module.rs:126
Function
callable
()
tests/test_class.rs:599
Method
cast_as
( &'s self, py: Python<'p>, )
src/objects/object.rs:243
Method
check
()
src/pythonrun.rs:136
Function
class_method
()
tests/test_class.rs:261
Function
class_method_with_args
()
tests/test_class.rs:289
Function
class_with_visibility
()
tests/test_class.rs:1329
Method
clear
(&self, _py: Python)
src/objects/dict.rs:48
Method
clone
(&self)
python27-sys/src/methodobject.rs:49
Method
clone
(&self)
python27-sys/src/import.rs:14
Method
clone
(&self)
python27-sys/src/descrobject.rs:24
Method
clone
(&self)
python27-sys/src/pystate.rs:57
Method
clone
(&self)
python27-sys/src/object.rs:203
Method
clone
(&self)
python3-sys/src/pyhash.rs:15
Method
clone
(&self)
python3-sys/src/methodobject.rs:75
Method
clone
(&self)
python3-sys/src/moduleobject.rs:53
Method
clone
(&self)
python3-sys/src/objimpl.rs:62
Method
clone
(&self)
python3-sys/src/structseq.rs:20
Method
clone
(&self)
python3-sys/src/descrobject.rs:30
Method
clone
(&self)
python3-sys/src/pybuffer.rs:23
Method
clone
(&self)
python3-sys/src/object.rs:195
Method
collect_items
(py: Python, items: &[PyObject])
src/serde/ser.rs:85
Method
compare
Compares two Python objects. On Python 2, this is equivalent to the Python expression 'cmp(self, other)'. On Python 3, this is equivalent to: ```ign
src/objectprotocol.rs:100
← previous
next →
401–500 of 924, ranked by callers