Metadata-Version: 2.1
Name: postgres-kernel
Version: 0.2
Summary: A PostgreSQL kernel for IPython
Home-page: https://github.com/bgschiller/postgres_kernel
Author: Brian Schiller
Author-email: bgschiller@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Framework :: IPython
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Shells
Requires-Dist: psycopg2 (>=2.6)
Requires-Dist: tabulate (>=0.7.5)
Requires-Dist: jupyter-client

A simple Jupyter kernel for PostgreSQL

Install with `pip install git+https://github.com/bgschiller/postgres_kernel.git`

To use, run one of:

.. code:: shell

    jupyter notebook
    # In the notebook interface, select PostgreSQL from the 'New' menu
    jupyter qtconsole --kernel postgres
    jupyter console --kernel postgres

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

.. image:: images/console.png

.. image:: images/notebook.png

Todo
----

- Get rid of this ShimWarning, "You should import from ipykernel or jupyter_client instead."
- How do I make this pip-installable?

Related
-------

- Catherine Devlin has an ipython magic that seems very full featured: `catherinedevlin/ipython-sql <https://github.com/catherinedevlin/ipython-sql>`_

- As noted, this is based on `takluyver/bash_kernel <https://github.com/takluyver/bash_kernel>`_


