§
    öÛg’
  ã                   óh   — d Z g d¢ZdZdZ	 ddlmZmZmZmZ eZ	n# e
$ r Y nw xY wdxaxaad	d„ZdZdS )
ae  
py-postgresql is a Python package for using PostgreSQL. This includes low-level
protocol tools, a driver(PG-API and DB-API), and cluster management tools.

If it's not documented in the narratives, `postgresql.documentation.index`, then
the stability of the APIs should *not* be trusted.

See <http://postgresql.org> for more information about PostgreSQL.
)Ú
__author__Ú__date__Ú__version__Ú__docformat__ÚversionÚversion_infoÚopenÚ © é   )r   r   ÚauthorÚdateNc                 óL  — t           €ddlma  ddlma ddlma d}| �R|                      d¦  «        rd}| dd…         } t                                | ¦  «        }| 	                    d	d¦  «         ni }t           
                    d¬
¦  «        }d|v sd|v r,| 	                    dd¦  «         | 	                    dd¦  «         t                               t          t                               |¦  «        ¦  «        t          t                               |¦  «        ¦  «        z   t          t                               |¦  «        ¦  «        z   ¦  «        }t                               |¦  «         t	          j        j        di |¤Ž}|du r|S  |¦   «         }|                     ¦   «          |S )aP  
	Create a `postgresql.api.Connection` to the server referenced by the given
	`iri`::

		>>> import postgresql
		# General Format:
		>>> db = postgresql.open('pq://user:password@host:port/database')

		# Connect to 'postgres' at localhost.
		>>> db = postgresql.open('localhost/postgres')

	Connection keywords can also be used with `open`. See the narratives for
	more information.

	The `prompt_title` keyword is ignored. `open` will never prompt for
	the password unless it is explicitly instructed to do so.

	(Note: "pq" is the name of the protocol used to communicate with PostgreSQL)
	Nr   )Úiri)Údriver)ÚclientparametersFú&TÚpath)Úprompt_titleÚunixÚhostÚportr
   )Ú_pg_irir	   r   r   Ú
_pg_driverr   Ú	_pg_paramÚ
startswithÚparseÚpopÚcollectÚ	normalizeÚlistÚdenormalize_parametersÚresolve_passwordÚdefaultÚfitÚconnect)	r   r   ÚkwÚreturn_connectorÚ
iri_paramsÚ
std_paramsÚparamsÚCÚcs	            úI/granary/edev/quantum/lib/python3.11/site-packages/postgresql/__init__.pyr   r   (   s·  € õ* €OØÐÐÐÐÐØ$Ð$Ð$Ð$Ð$Ð$Ø-Ð-Ð-Ð-Ð-Ð-àÐØ€OØ‡^‚^�CÑÔð ØÐØ	ˆQˆRˆRŒ€3Ý�}Š}˜SÑ!Ô!€*Ø‡.‚.�˜ÑÔÐÐà€*å×Ò¨tÐÑ4Ô4€ð ˆb€L€L�F˜jÐ(Ð(Ø‡.‚.�˜ÑÔÐØ‡.‚.�˜ÑÔÐÝ
×
Ò
Ý…y×'Ò'¨
Ñ3Ô3Ñ4Ô4Ý…y×'Ò'¨
Ñ3Ô3Ñ4Ô4ñ5å…y×'Ò'¨Ñ+Ô+Ñ,Ô,ñ-ñô €õ
 ×Ò˜FÑ#Ô#Ð#åÔÔÐ%Ð%˜fÐ%Ð%€Ø˜ÐÐØ	
€(à€a�c„c€!Ø‡)‚)�+„+€+Ø	
€(ó    ÚreStructuredText)NN)Ú__doc__Ú__all__r   r   Úprojectr   r   r   r   r   ÚImportErrorr   r   r   r   r   r
   r.   r-   ú<module>r4      sÇ   ðð
ð ðð ð €ð €ð €ðð)ð )ð )ð )ð )ð )ð )ð )ð )ð )ð )ð )à€€øØð ð ð Ø€ðøøøð $(Ð '€Ð 'ˆ*�yð7ð 7ð 7ð 7ðr #€€€s   Œ ›#¢#