duckdbEasy Examples

In-process analytical SQL database (like SQLite for analytics)

Getting started with duckdb

Installation and basic usage of duckdb.

python
# Install: pip install duckdb
import duckdb

# Basic duckdb usage
print(f"Using duckdb")
# See documentation for detailed examples
Expected Output
# Expected output shown below
# (Run locally with: duckdb)

duckdb is a third-party package. In-process analytical SQL database (like SQLite for analytics). Install with: pip install duckdb

Common duckdb operations

Frequently used features of duckdb.

python
# Install: pip install duckdb
import duckdb

# Common duckdb patterns
print(f"duckdb version: {duckdb.__version__}")

These are the most commonly used features of duckdb in everyday development.

Want to try these examples interactively?

Open Easy Playground