一覧へ戻る
bgschiller/postgres_kernel(新しいタブで開きます)
主要言語: Python
A simple Jupyter kernel for PostgreSQL
- star 数
- 69
- watcher 数
- 6
- fork 数
- 20
- issue 数
- 5
- 最終更新
- 2025/04/01
主要言語: Python
A simple Jupyter kernel for PostgreSQL
Install with pip install postgres_kernel
To use, run one of:
jupyter notebook
# In the notebook interface, select PostgreSQL from the 'New' menu
jupyter qtconsole --kernel postgres
jupyter console --kernel postgresThere are a couple of specially formatted comments for controlling the connection string and autocommit mode.
-- connection: postgres://brian:password@localhost:5432/dbname -- autocommit: true -- (or false)
For details of how this works, see Jupyter's docs on wrapper kernels. This is heavily based on takluyver/bash_kernel. Just look at our git log :)
Catherine Devlin has an ipython magic that seems very full featured: catherinedevlin/ipython-sql
As noted, this is based on takluyver/bash_kernel