Thanks for the pointers. I will take a look at these. If I get anything working, I would be happy to share it.
On Monday, June 5, 2017 at 11:42:10 PM UTC-6, Matthias Bussonnier wrote: > > Hi John, > > The (best?) place to start is Jupyter Client docs [1], if you want to > communicate with a pure kernel you'll have to use ZMQ – not much > harder than HTTP[2], it's basically sockets on steroids –. and you > want to manually use `python -m ipykernel <connection file>` to start > a python kernel. The connection file give you infomations on how to > bind/connect ZMQ ports. The "Making a kernel" part is the most > complete (as that's what usually people are interested in), and we > should improve the "making a client" part (maybe with your help ?). > Regardless bug report welcome, and despite the jupyter_client > implementation being in Python, any example in documentation in other > languages welcome. > > Hope that helps get you started. > > Cheers > -- > M > [1] http://jupyter-client.readthedocs.io/en/latest/ > [2] the "Http" communication with kernels is actually websoket, and > the `jupyter notebook`application is a websocket<->ZMQ bridge. > > On Mon, Jun 5, 2017 at 9:31 PM, John Kitchin <[email protected] > <javascript:>> wrote: > > Hi, > > > > I was wondering if there is a command to start an ipython kernel that > you > > can communicate with through http requests. I want to communicate with > the > > kernel through emacs to execute code blocks, inspect things, get > completion > > targets, and to interrupt the kernel. I haven't found any specific > > documentation that suggests this exists though. > > > > I am familiar with the EIN project, but it does not seem to work for me. > I > > also know of the ob-ipython project. I currently use that, but it has > its > > own python driver to create a web server attached to a kernel. It does > not > > support completion or interruption though, and it isn't obvious how to > > extend it. > > > > Thanks! > > > > -- > > 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/fc7035bb-e5f1-43cc-ae05-47ce64243907%40googlegroups.com. > > > > 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/5d3a3e40-0082-43dc-813b-c62494d78448%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
