Instant Temporary IPython Notebooks
It’s about time I write about tmpnb, a project the Jupyter/IPython developers have been working on. Brian Granger, one of the project leads, has been asking me over the past few months about enabling some more ambitious use cases of our Docker containers within IPython and Jupyter:
- Provisioned notebooks for usability studies
- Instant notebooks for demos
- JupyterHub for our team
Helen Shen, science writer, and Richard Van Noorden, Nature reporter, have been working on an article on the IPython Notebook. They asked us if we could create a way for readers to try the notebook. After reflecting on the current JupyterHub code, I realized that with our Docker images and our configurable http proxy (node-http-proxy with an admin API), we could easily setup paths and route users. Like any good (deranged) programmer, I first wrote this in bash:
#!/usr/bin/env bash myrand=`head -c 30...
Continue reading →