Client APIs
Loading and Installing Extensions
DuckDB's Python API provides functions for installing and loading [extensions](#docs:extensions:overview), which perform the equivalent operations to running the `INSTALL` and `LOAD` SQL commands, respectively. An example that installs and loads the [`spatial` extension](#docs:extensions:spatial:overview) looks like follows:  
```python
import duckdb

con = duckdb.connect()
con.install_extension("spatial")
con.load_extension("spatial")
```  
#### Community Extensions {#docs:api:python:overview::community-extensions}  
To load [community extensions](#docs:extensions:community_extensions), use `repository="community"` argument to the `install_extension` method.  
For example, install and load the `h3` community extension as follows:  
```python
import duckdb

con = duckdb.connect()
con.install_extension("h3", repository="community")
con.load_extension("h3")
```  
#### Unsigned Extensions {#docs:api:python:overview::unsigned-extensions}  
To load [unsigned extensions](#docs:extensions:overview::unsigned-extensions), use the `config = {"allow_unsigned_extensions": "true"}` argument to the `duckdb.connect()` method.