Hi all,
I wanted to share a few blog posts we just made about turning notebooks into REST APIs / web services / microservices / (pick your favorite term) using the incubating kernel gateway project. The first is an introduction and the other two describe specific demo applications. The demo assets are all on GitHub and linked from within the posts.
1. Jupyter Notebooks as RESTful Microservices (http://blog.ibmjstart.net/2016/01/28/jupyter-notebooks-as-restful-microservices/)
2. Powering applications with a Notebook Microservice (http://blog.ibmjstart.net/2016/01/28/powering-your-application-with-a-notebook-microservice/)
3. Notebook Microservice And Swagger (http://blog.ibmjstart.net/2016/01/28/notebook-microservice-and-swagger/)
I appreciate any thoughts you’re willing to share.
Best,
Pete
--
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 jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/e4da5bfa-33b5-47e0-b109-f079c6e0bfb4%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Project Jupyter" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jupyter/w9SGV5N2jBs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jupyter+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CA%2BtbMaV0BPDFg-YR%2B%2BzKqJOQ0HazyWvEWSaGctcdhGpabFdeMA%40mail.gmail.com.
Is posible publish many services of the many notebook using jupyter kernel gateway for the same port all for example I have 3 notebook and for each notebook there are 3 services Can I publish all for the same port?.
1. I feel http-mode belongs to a separate repo as the use case is very different from kernel-gateway.
2. kg-http-mode should really support a mode where you can specify the seed_uri via an API - while the service is running. This way you could do a requests.get to a cell of a notebook running in Jupyter notebook server - for each of running kernels, not just one.
3. nb2kg is even more powerful extension that allows offloading computational power to a dedicated box. It is the key component that ensures the notebooks and the dashboards server reference exactly the same environment. An example in https://github.com/jupyter-incubator/dashboards_setup/blob/master/docker_deploy/Dockerfile.notebook is suboptimal as it installs required dependencies twice - once for the kernels container, and second time for the Jupyter notebook server. What if your environment a bit more complex and makes use of environment variables too? I think a better use case of making the notebook server and the gateway referencing the same kernel environment is presented here: https://github.com/rs2/pyconuk-2016-jupyter-workshop/blob/master/docker/Dockerfile.notebooknb2kg really needs to be available on pypi/conda-forge. Happy to give a hand, I think it's a really powerful project.