Skip to content

IPykernel wrapper with autocompletion and magics for DuckDB

License

Notifications You must be signed in to change notification settings

eeroel/ipykernel-duckdb

Repository files navigation

ipykernel-duckdb

A wrapper of IPykernel that is aware of a DuckDB connection and provides

  • Autocompletion of table and column names
  • Magics %sql, %%sql for querying the database

Installation (from source)

git clone https://github.com/eeroel/ipykernel-duckdb.git .
pip install .

This will install the Python module and configure a Jupyter kernel ipykernel_duckdb.

Known issues

  • In Visual Studio Code, to get the most of autocompletion, you may want to tweak the setting "jupyter.pythonCompletionTriggerCharacters". In IPython and JupyterLab the completion is suggested when you press TAB, but in VSCode it's character-based. Adding space (" ") to the list of characters works, but you will end up with a lot of suggestions.

About

IPykernel wrapper with autocompletion and magics for DuckDB

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages