Rechercher

記事
· 2025年12月11日 3m read

Jupyter Notebook から InterSystems ObjectScript を動かしてみよう!

開発者の皆さん、こんにちは。

先日の 第3回InterSystemsJapan開発者コミュニティミートアップでは、Google Colab を使ったワークショップを実施しました。
その際、解説を読みながら、その場でコードを実行できる Jupyter Notebook の良さを改めて実感しました。

  • 「このメソッド、どう使うんだっけ…?」
  • 「処理の途中で変数の中身を確認したい…」
  • 「現場で実行するルーチンと作業手順を一緒に残しておきたい…」

こうした課題は、Notebook 形式にするだけで驚くほど解決します。
サンプルコードのすぐ横に解説を置けるので、迷う時間が減り、そのまま作業ドキュメントにもできます。
ObjectScript でも同じことができれば、学習にも現場作業にもとても便利ですよね。


ObjectScript を Notebook から実行したい…でも...

実は以前、開発者コミュニティに Jupyter Notebooks に ObjectScript を追加する方法https://jp.community.intersystems.com/node/521496)といった記事が紹介されていました。「これは便利そう!」と思い GitHub リポジトリ(https://github.com/Vekkby/objectsriptkernel)を試してみたものの、バージョンが古く、そのままでは動作しませんでした。

そこで、動作するように修正版を作成し、使い方もまとめました!

「ObjectScript を Notebook で動かしてみたい」
「学習環境やデモ環境を簡単につくりたい」

そんな方はぜひお試しください!


使い方(セットアップ手順)

とてもシンプルです。
以下の手順どおりに進めるだけで、Jupyter Notebook 上で ObjectScript を実行できる環境が立ち上がります。

1. 仮想環境の準備(WSL 2 / Docker)

Docker コンテナを利用するため、Windows の場合は以下の記事などを参考に WSL2 + Dockerのインストールを行ってください。

https://qiita.com/hiroakikka/items/b7a63383fb8cb989e722
https://qiita.com/haveAbook/items/0d0ae20a19214f65e7cd

(すでに Docker が動く方はこのまま次へ進めます。)

2. リポジトリをクローン

Ubuntuターミナルを起動し、修正版を GitHub から取得します。

git clone https://github.com/miniclub/objectscriptkernel

3. docker-compose で Notebook 環境を起動

docker-compose up -d --build 

数十秒ほどで、ObjectScript が使える Jupyter Notebook が起動します。

4. Notebook にアクセス

ブラウザで以下を開くだけです

👉 http://localhost:8888

Jupyter Notebook の画面が表示され、
ObjectScript カーネルを選べば、すぐにコードを実行できます。


おわりに

Notebook 上で ObjectScript を動かせると、学習・検証・現場作業のすべてが一段と効率的になります。
ぜひ試していただき、フィードバックや改善案などお寄せいただけると嬉しいです。

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
お知らせ
· 2025年12月11日

開発者コミュニティが10周年を迎えました!

開発者の皆さん、こんにちは!

2025年12月7日、InterSystems開発者コミュニティ(US)は10周年を迎えました!🥳🎉

この10年間、学び、コラボレーション、問題解決、そして InterSystems の技術の進化を共に歩んできたことを称えたいと思います。設立当初から参加していただいた方も、最近参加された方も、これまでの貢献、ご質問、アイデア、そしてサポートに感謝いたします。この節目は、皆様のものです! 皆様のおかげで、このコミュニティは今日のような形に築き上げられました。心から感謝いたします!

記念すべき一環として、特別なアニバーサリービデオへのご参加をお願いしました。そして、素晴らしい内容が投稿されました!お時間を割いていただき、お祝いの言葉や思い出、温かいお言葉を共有してくださった皆様、本当にありがとうございました。

これからの10年間もイノベーションとコラボレーションを続けていきましょう!🔥

追伸:日本のFAQチームも参加してみました。一瞬ですが登場します。ぜひ探してみてください!


この後の投稿もどうぞお楽しみに。これはほんの始まりに過ぎません。さらなる記念日のハイライトやサプライズが近日中に登場します!

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
ダイジェスト
· 2025年12月11日

Join the 3rd InterSystems Teach Article Writing Contest

Dear colleague,

We're happy to announce the new internal InterSystems Technical Article Writing Contest:

✍️ Tech Article Writing Contest for InterSystems Employees ✍️

Write an article on any topic related to InterSystems IRIS or IRIS for Health (and all related products, e.g. HealthShare, Cloud Smart Data Services, etc.) and publish it on the Developer Community during the contest period: December 1, 2025 - January 25, 2026.

🎁 Prizes for everyone: A special gift for each author who takes part in the competition!

Important Dates:

  • December 1, 2025 12:00 am EST: Contest begins.
  • January 25, 2026 11:59 pm EST: Deadline for submissions.
  • January 26 - February 1, 2026: Voting period.

READY. SET. WRITE.

➡️ All details can be found on this SharePoint Page.

お知らせ
· 2025年12月11日

[Video] Streamlining CDA Data Feed Setup in Health Connect Cloud

Hi, Community!

See how to efficiently validate incoming CDA documents and comply with standards using the cloud-based CDA Validation Service!

Streamlining CDA Data Feed Setup in Health Connect Cloud

In this video, you will see how to use the the InterSystems CDA Validation Service in HealthShare® Health Connect Cloud™ to:

  • Set up and validate CDA document feeds.
  • Run validations.
  • Identify and resolve schema issues.

💡With this service, you can reduce time spent on manual review of documents and ensure they are compliant with current standards.

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
ディスカッション
· 2025年12月11日

Share your highlights: 10 Years of the Developer Community!

As part of our 10th anniversary celebration, we invite you to take part in a discussion reflecting on your experience with the InterSystems Developer Community.

Over the past decade, thousands of members have shaped this space through knowledge sharing, collaboration, and meaningful connections — and your voice is an integral part of that history.

We encourage you to join the conversation and share your story. In the comments, please tell us:

1️⃣ When you joined the Developer Community and how you first discovered it.
2️⃣ A meaningful moment or story from your personal journey here.
3️⃣ An article, question, or discussion you consider especially valuable — one you believe others should take the time to revisit.

Your reflections help highlight the impact the Community has had over the years and continue to inspire its future growth.

Thank you for being part of this milestone and for contributing to the success of the Developer Community!

6 Comments
ディスカッション (6)4
続けるにはログインするか新規登録を行ってください