DuckDB.org | User Guide (Python) - API Docs (Python)
The DuckDB Python Package
Install the latest release of DuckDB directly from PyPI:
pip install duckdb
Install with all optional dependencies:
pip install 'duckdb[all]'
See the CONTRIBUTING.md for instructions on how to set up a development environment.