Hi Paul,

I might be missing what you mean by "how do you then register/link a 
particular cell". If you're asking how you annotate a cell in a notebook so 
that it becomes a RESTful resource, see the first section on the page you 
linked. It says "To turn a notebook cell into a HTTP handler, you must 
prefix it with a single line comment" and explains more from there.

If you're asking what command line args you need to provide to point the 
kernel gateway at a notebook containing one or more annotated cells, see 
the "Running" section on that same page. There's an example of what you 
provide to "api" and "seed_uri" and links to complete samples on GitHub. 
This blog post might also be of 
help: 
http://blog.ibmjstart.net/2016/01/28/jupyter-notebooks-as-restful-microservices/

I hope this helps,
Pete

PS - Be warned: you linked to the kernel gateway documentation for latest 
code in the git master branch. If you want the doc for the latest stable 
release, it's 
here http://jupyter-kernel-gateway.readthedocs.io/en/stable/http-mode.html. 
You can switch between latest and stable in the bottom left of the 
ReadTheDocs site.

On Friday, July 8, 2016 at 10:52:41 AM UTC-4, Paul A wrote:
>
> The manual does not explain how to link the gateway and the running 
> kernel. Presumably, KernelGatewayApp.api and/or KernelGatewayApp.seed_uri 
> attributes need to be set in a particular way (how?).
>
> How do you then register/link a particular cell to a particular URL?
>
> The setup is identical to 
> https://jupyter-kernel-gateway.readthedocs.io/en/latest/http-mode.html.
>
>
>

-- 
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/ed2e3af9-52b4-40f8-b969-c976546ef120%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to