Counting 1,690 Big Data & Machine Learning Frameworks, Toolsets, and Examples...
Suggestion? Feedback? Tweet @stkim1

Author
Last Commit
Apr. 28, 2017
Created
Apr. 18, 2017

Jupyter + DevOps

DevOps crestomathy in jupyter notebooks. This is a kernel for Jupyter

Get it while it's hot! or view the example notebook

Prereqs

  • IPython 3.x
  • node
  • Angular2

Installation

docker build -t jupytangular .

Windows

Set-NetConnectionProfile -InterfaceAlias "vEthernet (DockerNAT)" -NetworkCategory Private

docker run --name jupytangular -it -p 8888:8888 -p 6080:6080 -p 5900:5900 -v "C:\Users\brian.cullinan\Documents\jupytangular2\notebooks":/home/jovyan/notebooks jupytangular

*nix

docker run --name jupytangular -it -p 8888:8888 -p 6080:6080 -p 5900:5900 -v ~/jupytangular2/notebooks/:/home/jovyan/notebooks jupytangular And viola!

image

Also, in the iPython notebook:

image

Supported features:

  • tab-completion (both for variables and paths)
  • error reporting
  • magics! The available extensions can be configured via package/config.js

Installation

node install.js [install-dir] will install the kernel.json file that ipython looks for. The default is for linux machines, ~/.ipython/kernels/nodejs/. You will have to specify an install dir for Mac and Windows (see the docs for info about what that should be)

BabelJS Magic for es6+ goodness

%load_ext babel and then

%%babel
class Awesome {
  constructor() {
    console.log('yeah!')
  }
}

Hovever: import ... syntax doesn't work because of live bindings foo, so just use require() normally and all will be well.

Clojurescript compilation via a himera server

%load_ext clojurescript http://himera-emh.herokuapp.com and then

%%clojurescript
(clojurey goodness)