objectsriptkernel
This is an ObjectScript wrapper kernel for Project Jupyter.
Inspiration
To make a useful tool for other ObjectScript beginners to learn and easily share info.
What it does
It allows us to execute ObjectScript inside a Jupyter Notebook.
Great for quick prototyping, teaching, creating business presentations showing IRIS features.
Challenges I ran into
Almost every step was a new challenge as I’ve never used either Docker or ObjectScript.
Accomplishments that I proud of
Finding (well, literally) how to capture ObjectScript console output.
I believe that I get the general gist of it.
What I learned
How to create Docker files, simple Jupyter wrapper kernels. That ObjectScript can execute its code.
Built with
Using VSCode and ObjectScript plugin (which is great, by the way), IRIS Community Edition in Docker,
Jupyter in Docker, IRIS Native API for Python
Installation with Docker
Prerequisites
Make sure you have git and Docker desktop installed.
Clone/git pull the repo into any local directory e.g. like it is shown below:
$ git clone https://github.com/Vekkby/objectsriptkernel.git
Open the terminal in this directory and run:
$ docker-compose up -d --build
How to Work With it
You may access the notebook server from the browser using
localhost:8888
There’s a sample notebook named ‘hello.ipynb’ in the ‘work’ directory.
Just open it and run examples in cells: