Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eeroel/ipykernel-duckdb
IPykernel wrapper with autocompletion and magics for DuckDB
https://github.com/eeroel/ipykernel-duckdb
data-science duckdb ipython jupyter sql
Last synced: 14 days ago
JSON representation
IPykernel wrapper with autocompletion and magics for DuckDB
- Host: GitHub
- URL: https://github.com/eeroel/ipykernel-duckdb
- Owner: eeroel
- License: mit
- Created: 2022-01-15T13:28:31.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-09T05:49:55.000Z (almost 3 years ago)
- Last Synced: 2024-11-18T18:01:17.346Z (3 months ago)
- Topics: data-science, duckdb, ipython, jupyter, sql
- Language: Python
- Homepage:
- Size: 98.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.