[IPython-dev] custom kernel with custom magics

MinRK benjaminrk at gmail.com
Wed Oct 7 05:30:19 EDT 2015


On Tue, Oct 6, 2015 at 11:06 PM, Omar Andrés Zapata Mesa <
andresete.chaos at gmail.com> wrote:

> Hi Dears,
>
> I am writing my own kernel I am trying to create my own magics according to
> https://ipython.org/ipython-doc/dev/config/custommagics.html
>
> but into my kernel class the function get_ipython() is returning None.
>
> My questing is, is possible to get an ipython instance into my kernel
> class?
>

You can instantiate an IPython InteractiveShell object, but perhaps what
you really want is to be subclassing and extending the IPython kernel.

-MinRK


>
> Best Regards
> Omar.
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> https://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20151007/9387a213/attachment.html>


More information about the IPython-dev mailing list