ObjectScript Kernel


Follow
0
Star
0
Details
Releases
Issues
This application is not supported by InterSystems Corporation. Use it at your own risk.
Execute ObjectScript in Jupyter Notebook

objectsriptkernel

This is an ObjectScript wrapper kernel for Project Jupyter.

Demo: http://objectscriptkernel.eastus.cloudapp.azure.com/

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. alt text

Just open it and run examples in cells: alt text

Category
Interoperability
Works with
InterSystems IRIS
Tags
Info
Author
Version
1.0.0.4
Last updated
2020-06-03
Repository
Open
Documentation
Open
License
Link