Ë c‡½j ã ó– — d Z ddlZddlZddlmZ ddlmZ ddlmZ dd„Z G d„ de« Z d „ Zed k( r eej dd « yy) zÞA simple SQLite CLI for the sqlite3 module. Apart from using 'argparse' for the command-line interface, this module implements the REPL as a thin wrapper around the InteractiveConsole class from the 'code' stdlib module. é N)ÚArgumentParser)ÚInteractiveConsole)Údedentc ó¦ — | j |« D ] }t |« Œ y# t j $ r™}t |« j } t |› d|j › d|› �t j ¬« n/# t $ r# t |› d|› �t j ¬« Y nw xY w|st j d« Y d}~yY d}~yd}~ww xY w)zÈHelper that wraps execution of SQL code. This is used both by the REPL and by direct execution from the CLI. 'c' may be a cursor or a connection. 'sql' is the SQL string to execute. z (z): )Úfilez: é N)ÚexecuteÚprintÚsqlite3ÚErrorÚtypeÚ__name__Úsqlite_errornameÚsysÚstderrÚAttributeErrorÚexit)ÚcÚsqlÚsuppress_errorsÚrowÚeÚtps ú)/usr/lib64/python3.12/sqlite3/__main__.pyr r sª € ð Ø—9‘9˜S–>ˆCÜ�#�Jñ "øä�=‰=ò Ü �!‹W× Ñ ˆð 1Ü�R�D˜˜1×-Ñ-Ð.¨c°!°Ð5¼C¿J¹JÖGøÜò 1Ü�R�D˜˜1˜#�,¤S§Z¡Z×0ð 1úáÜ�H‰H�Q�K‰Kô ûð ús8 ‚!$ ¤C·CÁ -A;Á:CÁ;)B'Â$CÂ&B'Â'CÃCc ó* ‡ — e Zd ZdZˆ fd„Zdd„Zˆ xZS )ÚSqliteInteractiveConsolezA simple SQLite REPL.c óZ •— t ‰| � « || _ |j « | _ y )N)ÚsuperÚ__init__Ú_conÚcursorÚ_cur)ÚselfÚ connectionÚ __class__s €r r z!SqliteInteractiveConsole.__init__( s% ø€ Ü ‰ÑÔØˆŒ Ø×%Ñ%Ó'ˆ� ó c óú — |xdk( r t t j › « yxdk( r t d« ydk( rt j d« y t j |« syt | j |« y)zßOverride runsource, the core of the InteractiveConsole REPL. Return True if more input is needed; buffering is done automatically. Return False is input is a complete statement ready for execution. z.versionz.helpzEnter SQL code and press enter.z.quitr TF)r r Úsqlite_versionr r Úcomplete_statementr r" )r# ÚsourceÚfilenameÚsymbols r Ú runsourcez"SqliteInteractiveConsole.runsource- so € ð ÝÜœ×/Ñ/Ð0Ô2ð õ ÜÐ7Ô8ð ó Ü—‘˜”ð ð Ü×1Ñ1°&Ô9ØÜ˜Ÿ ™ 6Ô*Ør&