Skip to content

bgschiller/postgres_kernel

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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 postgres

How to use:

There 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 :)

Related

About

A simple Jupyter kernel for PostgreSQL

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages