Skip to content

Instantly share code, notes, and snippets.

@disarticulate
Last active May 7, 2016 22:55
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save disarticulate/dfe91dbbee6fa8daa5add53d71b083ff to your computer and use it in GitHub Desktop.
Save disarticulate/dfe91dbbee6fa8daa5add53d71b083ff to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@disarticulate
Copy link
Author

disarticulate commented May 7, 2016

Obreros in a Bottle.

Notebook illustrates multi-part bottle application testing in Jupyter Notebook. Interesting features:

  • Javascript magic for cell folding
  • requireJS dependency injection
  • Jinja2 templating for server.py file
  • INSECURE exec to work around Ipython cell calculations
  • shell commands
  • Docker container startup, build and destroy to interact with Docker containers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment