Skip to content

sparverius/iats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minimal ats kernel for jupyter

goals:

  • Teaching ats
  • Sharing source code
  • Make ats available to a larger audience.
  • With the existence of Google Colab, mybinder and the like we can distribute interactive notebooks using the ats kernel through a web browser.

Example colab notebook

Try out ATS in Google Colaboratory

Manual installation

Example of notebook

requirements:

  • gcc
  • python 3, pip, jupyter
  • ats-temptory

steps:

  • pip install iats --user
  • install_ats_kernel
  • jupyter notebook

package

  • view online on pypi.org here

for use with Docker

  • docker pull telos/iats
  • docker run -p 8888:8888 telos/iats
  • Copy the given URL containing the token, and browse to it. For instance:
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
   http://localhost:8888/?token=66750c80bd0788f6ba15760aadz53beb9a9fb4cf8ac15ce8

editing

The docker image installs the kernel in editable mode, meaning that you can change the code in real-time in Docker. For that, just run the docker box like that:

git clone https://github.com/sparverius/iats.git
cd iats
docker run -v $(pwd):/jupyter/iats/ -p 8888:8888 sparverius/iats

This clones the source, run the kernel, and binds the current folder (the one you just cloned) to the corresponding folder in Docker. Now, if you change the source, it will be reflected in http://localhost:8888 instantly. Do not forget to click "restart" the kernel on the page as it does not auto-restart.

in progress:

  • get ats kernel installed in a Google Colaboratory Notebook Example installing notebook
  • syntax highlighting! (through codemirror)
  • many features available to program (i.e. code completion etc.)