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](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

postgres_kernel-0.2.2.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file postgres_kernel-0.2.2.tar.gz.

File metadata

  • Download URL: postgres_kernel-0.2.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for postgres_kernel-0.2.2.tar.gz
Algorithm Hash digest
SHA256 e7fd318baff171714d2810968bc50836100504a654381e9ce0d14da5e6639640
MD5 33e53021934d0a799113821fc46778b5
BLAKE2b-256 e03be995a6fa2a1e643f465576e61ef6a81c62644bc81655b7c82c73071764b7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page