Skip to content

Cli Client

ReplType

class pytql.repl.ReplType


Class listing of cli repl types.

default_repl

         Default repl to run Pytql client. Non-interactive.


interactive_repl

         Interactive repl to run PyTQL client. Interactive but no autocomplete.


ipython_repl

         Interactive repl to run Pytql client. Supports autocomplete and autosuggestions.


Image of code sample and it's output run from the ipython_repl cli client.

Student Table


function pytql.repl.start_client (module_name, repl_type: ~pytql.repl.ReplType = )

         Function to start the Pytql client repl.

         Args:
             module_name : Name of the module PyTQL is being run from. Always pass             __name__ as the value.

             repl_type : Repl type to use. Defaults to ReplType.default_repl.