Hi MinRK

Thanks for the reply.
I don't think this is what I need, then again I am not 100% sure I am going 
about it the right way.

I have created some ipython cell magics (kernel extension) that populates a 
json object when a cell is executed.
I need to get this json object into the front-end (javascript notebook 
extension) once complete.

The hack I am using at the moment is simply to print the json str from 
ipython and use an "executed.CodeCell" event to wait for the output (print 
info).




On Saturday, November 12, 2016 at 11:41:37 PM UTC+2, Min RK wrote:
>
> You can publish Javascript from the kernel with:
>
> from IPython.display import display, Javascript
>
> display(Javascript("""your_js()"""))
>
> That might be what you need.
>
> -MinRK
> ​
>
> On Fri, Nov 4, 2016 at 3:22 PM, Logan Page <[email protected] <javascript:>
> > wrote:
>
>> I have more or less figured out what I need to do for an extension I'm 
>> creating.
>>
>> The problem I have at the moment is I need to get a json object from an 
>> ipython kernel extension into a notebook extension.
>>
>> Can someone point me in the right direction for achieving this?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Project Jupyter" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jupyter/4c5f6184-ff4a-4697-a4cb-dc25d4b81664%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jupyter/4c5f6184-ff4a-4697-a4cb-dc25d4b81664%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/769579ab-a01d-4600-bec6-194e1826d31a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to