## connect()


Connect to a database.


Usage


``` python
connect(
    host,
    port=5432,
)
```


## Parameters


`host: str`  
Database hostname.

`port: int = ``5432`  
Port number.


## Returns


`object`  
Connection object.
