Home Applications ObjectScript Kernel

ObjectScript Kernel

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
5
1 reviews
1
Awards
424
Views
0
IPM installs
1
3
Details
Releases  (3)
Reviews  (1)
Awards  (1)
Issues
Articles  (2)
Execute ObjectScript in Jupyter Notebook

What's new in this version

Updated IRIS image

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

Just open it and run examples in cells:
alt text

Made with
Version
1.0.218 Jul, 2022
Category
Integration
Works with
InterSystems IRIS
First published
29 May, 2020
Last checked by moderator
26 Nov, 2024Works