Expand description
Various types defined by the Python interpreter such as int
, str
and tuple
.
Modules§
- iter
- Iteration over Python collections.
Structs§
- PyAny
- Represents any Python object.
- PyBool
- Represents a Python
bool
. - PyByte
Array - Represents a Python
bytearray
. - PyBytes
- Represents a Python
bytes
object. - PyCFunction
- Represents a builtin Python function object.
- PyCapsule
- Represents a Python Capsule as described in Capsules:
- PyCode
- Represents a Python code object.
- PyComplex
- Represents a Python
complex
object. - PyDate
- Bindings around
datetime.date
. - PyDate
Time - Bindings for
datetime.datetime
. - PyDelta
- Bindings for
datetime.timedelta
. - PyDict
- Represents a Python
dict
. - PyDict
Items - Represents a Python
dict_items
. - PyDict
Keys - Represents a Python
dict_keys
. - PyDict
Values - Represents a Python
dict_values
. - PyEllipsis
- Represents the Python
Ellipsis
object. - PyFloat
- Represents a Python
float
object. - PyFrame
- Represents a Python frame.
- PyFrozen
Set - Represents a Python
frozenset
. - PyFrozen
SetBuilder - Allows building a Python
frozenset
one item at a time - PyFunction
- Represents a Python function object.
- PyInt
- Represents a Python
int
object. - PyIterator
- A Python iterator object.
- PyList
- Represents a Python
list
. - PyMapping
- Represents a reference to a Python object supporting the mapping protocol.
- PyMapping
Proxy - Represents a Python
mappingproxy
. - PyMemory
View - Represents a Python
memoryview
. - PyModule
- Represents a Python
module
object. - PyNone
- Represents the Python
None
object. - PyNot
Implemented - Represents the Python
NotImplemented
object. - PySequence
- Represents a reference to a Python object supporting the sequence protocol.
- PySet
- Represents a Python
set
. - PySlice
- Represents a Python
slice
. - PySlice
Indices - Return value from
PySliceMethods::indices
. - PyString
- Represents a Python
string
(a Unicode string object). - PySuper
- Represents a Python
super
object. - PyTime
- Bindings for
datetime.time
. - PyTraceback
- Represents a Python traceback.
- PyTuple
- Represents a Python
tuple
object. - PyType
- Represents a reference to a Python
type
object. - PyTz
Info - Bindings for
datetime.tzinfo
. - PyWeakref
- Represents any Python
weakref
reference. - PyWeakref
Proxy - Represents any Python
weakref
Proxy type. - PyWeakref
Reference - Represents a Python
weakref.ReferenceType
.
Enums§
- PyString
Data - Represents raw data backing a Python
str
.
Traits§
- Deref
ToPy Any - Python objects that have a base type.
- Into
PyDict - Conversion trait that allows a sequence of tuples to be converted into
PyDict
Primary use case for this trait iscall
andcall_method
methods as keywords argument. - PyAny
Methods - This trait represents the Python APIs which are usable on all Python objects.
- PyBool
Methods - Implementation of functionality for
PyBool
. - PyByte
Array Methods - Implementation of functionality for
PyByteArray
. - PyBytes
Methods - Implementation of functionality for
PyBytes
. - PyCapsule
Methods - Implementation of functionality for
PyCapsule
. - PyComplex
Methods - Implementation of functionality for
PyComplex
. - PyDate
Access - Trait for accessing the date components of a struct containing a date.
- PyDelta
Access - Trait for accessing the components of a struct containing a timedelta.
- PyDict
Methods - Implementation of functionality for
PyDict
. - PyFloat
Methods - Implementation of functionality for
PyFloat
. - PyFrozen
SetMethods - Implementation of functionality for
PyFrozenSet
. - PyList
Methods - Implementation of functionality for
PyList
. - PyMapping
Methods - Implementation of functionality for
PyMapping
. - PyModule
Methods - Implementation of functionality for
PyModule
. - PySequence
Methods - Implementation of functionality for
PySequence
. - PySet
Methods - Implementation of functionality for
PySet
. - PySlice
Methods - Implementation of functionality for
PySlice
. - PyString
Methods - Implementation of functionality for
PyString
. - PyTime
Access - Trait for accessing the time components of a struct containing a time.
- PyTraceback
Methods - Implementation of functionality for
PyTraceback
. - PyTuple
Methods - Implementation of functionality for
PyTuple
. - PyType
Methods - Implementation of functionality for
PyType
. - PyTz
Info Access - Trait for accessing the components of a struct containing a tzinfo.
- PyWeakref
Methods - Implementation of functionality for
PyWeakref
.
Functions§
- timezone_
utc - Equivalent to
datetime.timezone.utc
- timezone_
utc_ bound Deprecated - Deprecated name for
timezone_utc
.