[IPython-dev] SQLite kernel

Thomas Kluyver takowl at gmail.com
Mon May 5 12:04:43 EDT 2014

Hi Martin,

On 5 May 2014 08:00, Martin Gadbois <mgadbois at gmail.com> wrote:

> I would like to develop a SQLite kernel for IPython.
> Keyword, table and column completion would help building queries, and a
> dynamic output could resize text columns and have a proper notebook table
> output.
> To achieve that, I see two main directions:
> 1- Have an external kernel  (like
> http://nbviewer.ipython.org/gist/Carreau/4279371/node-kernel.ipynb) coded
> in Python since there are no 0MQ bindings for SQLite.
> 2- Extend IPython itself to support SQLite, since I will need to write
> Python code anyway to support SQLite.

We're actually planning to refactor the IPython kernel machinery in the
next few weeks to make it easier to write kernels in Python. Once this is
done, you'll be able to create a new kernel by inheriting from a class in
IPython, and defining methods for execution and completion. So unless you
need to do it urgently, I'd recommend waiting for that infrastructure, and
then it will be quite simple.

Best wishes,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140505/76e18d1a/attachment.html>

More information about the IPython-dev mailing list