Client APIs
Connection
To use the module, you must first create a `DuckDBPyConnection` object that represents a connection to a database.
This is done through the [`duckdb.connect`](#docs:api:python:reference:index::duckdb.connect) method.  
The 'config' keyword argument can be used to provide a `dict` that contains key->value pairs referencing [settings](#docs:configuration:overview::configuration-reference) understood by DuckDB.  
#### In-Memory Connection {#docs:api:python:dbapi::in-memory-connection}  
The special value `:memory:` can be used to create an **in-memory database**. Note that for an in-memory database no data is persisted to disk (i.e., all data is lost when you exit the Python process).