pyto_runtime ============ This is the Python API for PytoRuntime, usable from the runtime itself to manage other versions or interpreters. .. currentmodule:: pyto_runtime Interpreter ----------- APIs for running and debugging scripts. .. autosummary:: :toctree: generated :signatures: none pyto_runtime.current_interpreter pyto_runtime.Interpreter pyto_runtime.Interpreter.version pyto_runtime.Interpreter.running pyto_runtime.Interpreter.working_directory pyto_runtime.Interpreter.virtual_environment_home_path pyto_runtime.Interpreter.standard_output pyto_runtime.Interpreter.standard_error pyto_runtime.Interpreter.standard_input pyto_runtime.Interpreter.receive_view_controller pyto_runtime.Interpreter.receive_image_output pyto_runtime.Interpreter.builtins pyto_runtime.Interpreter.breakpoints pyto_runtime.Interpreter.breakpoint_handler pyto_runtime.Interpreter.display_hook pyto_runtime.Interpreter.trace pyto_runtime.Interpreter.evaluate pyto_runtime.Interpreter.exec pyto_runtime.Interpreter.import pyto_runtime.Interpreter.run_path pyto_runtime.Interpreter.run_repl pyto_runtime.Interpreter.run_shell pyto_runtime.Interpreter.run_code pyto_runtime.Interpreter.kill pyto_runtime.Interpreter.end_of_file pyto_runtime.Interpreter.clear_state pyto_runtime.Interpreter.focus pyto_runtime.Object pyto_runtime.InterpreterException pyto_runtime.InterpreterException.type pyto_runtime.InterpreterException.args Version ------- APIs for loading Python versions. .. autosummary:: :toctree: generated :signatures: none pyto_runtime.find_versions pyto_runtime.Version pyto_runtime.Version.bundle_path pyto_runtime.Version.main_bundle_path pyto_runtime.Version.string pyto_runtime.Version.full_version_string pyto_runtime.Version.major pyto_runtime.Version.minor pyto_runtime.Version.micro pyto_runtime.Version.alpha pyto_runtime.Version.beta pyto_runtime.Version.rc pyto_runtime.Version.end_of_life Debugging --------- Classes for debugging. .. autosummary:: :toctree: generated :signatures: none pyto_runtime.Breakpoint pyto_runtime.Breakpoint.path pyto_runtime.Breakpoint.lineno pyto_runtime.Breakpoint.enabled pyto_runtime.Breakpoint.line pyto_runtime.Traceback pyto_runtime.Traceback.exc_type pyto_runtime.Traceback.msg pyto_runtime.Traceback.stack pyto_runtime.Traceback.as_text pyto_runtime.Traceback.name pyto_runtime.Traceback.suggestion pyto_runtime.Traceback.offset pyto_runtime.Traceback.end_offset pyto_runtime.Frame pyto_runtime.Frame.file_path pyto_runtime.Frame.lineno pyto_runtime.Frame.line pyto_runtime.Frame.name pyto_runtime.Frame.index pyto_runtime.Frame.globals pyto_runtime.Frame.locals Swift Extensions ---------------- Classes for working with Swift Extensions. :py:class:`pyto_runtime.SwiftFinder` is automatically added to ``sys.meta_path`` by every interpreter. See :ref:`swift-extensions` for more information. .. autosummary:: :toctree: generated :signatures: none pyto_runtime.SwiftError pyto_runtime.SwiftError.type pyto_runtime.SwiftError.description pyto_runtime.SwiftFinder pyto_runtime.SwiftLoader