A PostgreSQL kernel for IPython
Project description
# A simple Jupyter kernel for PostgreSQL
Install with pip install postgres_kernel
To use, run one of:
`bash jupyter notebook # In the notebook interface, select PostgreSQL from the 'New' menu jupyter qtconsole --kernel postgres jupyter console --kernel postgres `
## How to use:
There are a couple of specially formatted comments for controlling the connection string and autocommit mode.
`sql -- connection: postgres://brian:password@localhost:5432/dbname -- autocommit: true -- (or false) `
For details of how this works, see Jupyter’s docs on [wrapper kernels](http://jupyter-client.readthedocs.io/en/latest/wrapperkernels.html). This is heavily based on [takluyver/bash_kernel](https://github.com/takluyver/bash_kernel). Just look at our git log :)
![](images/console.png)
![](images/notebook.png)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for postgres_kernel-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41e57c8528346f2c9853b366c5d7a20b81ca4b06e46f0eb433fe906695a0890f |
|
MD5 | 6021b7bb6617d5a25278e15410c53556 |
|
BLAKE2b-256 | 035660f97e714821a45b5be7a642998b3b46e68d719807180d168217822efc71 |