Skip to main content

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]( This is heavily based on [takluyver/bash_kernel]( Just look at our git log :)



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for postgres_kernel, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size postgres_kernel-0.2.2-py3-none-any.whl (5.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size postgres_kernel-0.2.2.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page