Skip to content

Installation

Terminal window
pip install dataspoc-lens

This installs the core package with DuckDB, the CLI, interactive shell, and SQL transforms.

  • Python 3.10+
  • DuckDB is installed automatically as a dependency

Install extras for additional capabilities:

Terminal window
# Cloud storage backends
pip install dataspoc-lens[s3] # Amazon S3 support (s3fs)
pip install dataspoc-lens[gcs] # Google Cloud Storage support (gcsfs)
pip install dataspoc-lens[azure] # Azure Blob Storage support (adlfs)
# Notebooks
pip install dataspoc-lens[jupyter] # JupyterLab with SQL magic
pip install dataspoc-lens[marimo] # Marimo reactive notebooks
# AI and agents
pip install dataspoc-lens[ai] # AI natural language queries (Anthropic, OpenAI)
pip install dataspoc-lens[mcp] # MCP server for AI agent integration
# Everything
pip install dataspoc-lens[all] # All extras included
ExtraWhat it addsUse case
[s3]s3fsQuery Parquet files in Amazon S3
[gcs]gcsfsQuery Parquet files in Google Cloud Storage
[azure]adlfsQuery Parquet files in Azure Blob Storage
[jupyter]jupyterlab, jupysql, duckdb-engine, ipykernel, numpy, pandasInteractive notebooks with %%sql magic
[marimo]marimo, numpy, pandasReactive notebooks with Marimo
[ai]anthropic, openaiNatural language queries via LLM
[mcp]mcpModel Context Protocol server for AI agents
[all]All of the aboveFull installation

If you prefer uv as your package manager:

Terminal window
uv pip install dataspoc-lens
uv pip install dataspoc-lens[all]
Terminal window
dataspoc-lens --version
dataspoc-lens 0.2.0