pyo3

Module types

Source
Expand description

Various types defined by the Python interpreter such as int, str and tuple.

Modules§

  • Iteration over Python collections.

Structs§

  • Represents any Python object.
  • Represents a Python bool.
  • Represents a Python bytearray.
  • Represents a Python bytes object.
  • Represents a builtin Python function object.
  • Represents a Python Capsule as described in Capsules:
  • PyCodeNon-Py_LIMITED_API and non-PyPy and non-GraalPy
    Represents a Python code object.
  • Represents a Python complex object.
  • PyDateNon-Py_LIMITED_API
    Bindings around datetime.date.
  • PyDateTimeNon-Py_LIMITED_API
    Bindings for datetime.datetime.
  • PyDeltaNon-Py_LIMITED_API
    Bindings for datetime.timedelta.
  • Represents a Python dict.
  • PyDictItemsNeither PyPy nor GraalPy
    Represents a Python dict_items.
  • PyDictKeysNeither PyPy nor GraalPy
    Represents a Python dict_keys.
  • PyDictValuesNeither PyPy nor GraalPy
    Represents a Python dict_values.
  • Represents the Python Ellipsis object.
  • Represents a Python float object.
  • PyFrameNon-Py_LIMITED_API and non-PyPy and non-GraalPy
    Represents a Python frame.
  • Represents a Python frozenset.
  • Allows building a Python frozenset one item at a time
  • PyFunctionNon-Py_LIMITED_API and not (PyPy and non-Py_3_8) and non-GraalPy
    Represents a Python function object.
  • Represents a Python int object.
  • A Python iterator object.
  • Represents a Python list.
  • Represents a reference to a Python object supporting the mapping protocol.
  • Represents a Python mappingproxy.
  • Represents a Python memoryview.
  • Represents a Python module object.
  • Represents the Python None object.
  • Represents the Python NotImplemented object.
  • Represents a reference to a Python object supporting the sequence protocol.
  • Represents a Python set.
  • Represents a Python slice.
  • Return value from PySliceMethods::indices.
  • Represents a Python string (a Unicode string object).
  • PySuperNeither PyPy nor GraalPy
    Represents a Python super object.
  • PyTimeNon-Py_LIMITED_API
    Bindings for datetime.time.
  • Represents a Python traceback.
  • Represents a Python tuple object.
  • Represents a reference to a Python type object.
  • PyTzInfoNon-Py_LIMITED_API
    Bindings for datetime.tzinfo.
  • Represents any Python weakref reference.
  • Represents any Python weakref Proxy type.
  • Represents a Python weakref.ReferenceType.

Enums§

  • PyStringDataNon-Py_LIMITED_API
    Represents raw data backing a Python str.

Traits§

Functions§

Type Aliases§