Index

Part 1

  • Introducing Flask: a quick review of the Flask Docs, where you will find all the information you need for this tutorial;
  • Connecting to InterSystems IRIS: a detailed step-by-step of how to use SQLAlchemy to connect to an IRIS instance;

Part 2

  • A discussion about this kind of implementation: why we should use it and situations where it is applicable.
6 2
0 403


Hi Community

In this article, I will introduce my application IRIS-GenLab.

IRIS-GenLab is a generative AI Application that leverages the functionality of Flask web framework, SQLALchemy ORM, and InterSystems IRIS to demonstrate Machine Learning, LLM, NLP, Generative AI API, Google AI LLM, Flan-T5-XXL model, Flask Login and OpenAI ChatGPT use cases.

6 0
1 245
Article
· Jan 30, 2023 2m read
JSONfile-to-Global #1

The similarity between JSON objects + arrays and Globals in IRIS or Caché is evident.
With small and medium size JSON objects navigation across %Dynamic Objects is comfortable.
But with large and/or deep cascaded objects it becomes a challenge.

The presented tool offers 3 variants

  • loading an already existing %Dyamic object or Array into a global of your choice
  • loading a %Stream containing a JSON object into a global of your choice
  • loading an external File containing a JSON object into a global of your choice

6 1
2 233
Article
· Jul 12, 2019 2m read
Basic Database Metrics example

This is a self contained class that can be run from the Intersystems Task Scheduler which records peak usage details for databases and licenses built up throughout the day and retaining 30 days history.

To schedule the task to run every hour:

d ##class(Metrics.Task).Schedule()

You can also specify your own start time, stop time, and run interval:

d ##class(Metrics.Task).Schedule(startTime, stopTime, intervalMins)

Metrics are stored in ^Metrics in the namespace that the class resides in/is run from.

6 3
3 527

Hi Community,

We're super excited to share with you a special session from Global Summit 2022! And it is so special to us because it is about us and with us! Please welcome:

🤩 InterSystems Developer Ecosystem @ Global Summit 2022 🤩

https://www.youtube.com/embed/FoE4qucf7wM
[This is an embedded link, but you cannot view embedded content directly on the site because you have declined the cookies necessary to access it. To view embedded content, you would need to accept all cookies in your Cookies Settings]

6 1
0 166
Article
· Apr 5, 2022 4m read
Serializing Python objects in globals

Motivation

This project was thought of when I was thinking of how to let Python code deal naturally with the scalable storage and efficient retrieving mechanism given by IRIS globals, through Embedded Python.

My initial idea was to create a kind of Python dictionary implementation using globals, but soon I realized that I should deal with object abstraction first.

So, I started creating some Python classes that could wrap Python objects, storing and retrieving their data in globals, i.e., serializing and deserializing Python objects in IRIS globals.

6 1
1 2.2K

Hi Community,

This post is a introduction of my open exchange iris-fhir-client application.

iris-fhir-client can connect to any open FHIR Server by using embedded python with the help of fhirpy Library.
Get Resource information by terminal and by using CSP web application.

6 2
0 613

Hi Community,

Let's meet together at the online meetup with the winners of the InterSystems Datasets contest!

You'll have an opportunity to have a discussion with InterSystems Product Managers on new LOAD DATA functionality, Q&A on datasets, etc. Our winners' demo included!

Date & Time: Thursday, January 20, 2022 – 11:00 EDT

https://www.youtube.com/embed/Cp6PfN0uTIY
[This is an embedded link, but you cannot view embedded content directly on the site because you have declined the cookies necessary to access it. To view embedded content, you would need to accept all cookies in your Cookies Settings]

6 2
0 224
Article
· Jun 12, 2021 2m read
Running reviews on Open Exchange

For several weeks I'm creating reviews on OEX.
So I'd like to explain to you the criteria that I apply to find my ratings.
Of course, each reviewer is an independent person and has his own criteria and his own opinion.
And that's good and important! As Winston Churchill once said:

"If 2 people always have the same opinion, then 1 of them is superfluous"

6 6
0 242

Hey Community,

Please join the next InterSystems online programming competition:

🏆 InterSystems FHIR Accelerator Programming Contest 🏆

Submit an application that uses InterSystems FHIR-as-a-service on AWS or helps to develop solutions using InterSystems IRIS FHIR Accelerator.

    Duration: May 10 - June 06, 2021

    Total prize: $8,750

    👉 Landing page 👈

    6 15
    1 2.7K

    Hi Developers!

    Recently we released the updated version 0.1.3 of ObjectScript Package Manager (ZPM) which comes with the support of simplified ObjectScript sources folder structure.

    What 'simplified' does mean?

    Before 0.1.3 ZPM expected the following structure:

    /src
    
    ---/cls  - for ObjectScript classes
    
    ---/cls/package_name/class_name.cls
    
    ---/cls/package_name/class_name2.cls
    
    ---/mac - or Mac ObjectScript routines
    
    ---/mac/package_name/mac_routine.mac
    
    ---/mac/package_name/mac_routine2.mac
    
    ---/inc - for ObjectScript macro include files.
    
    ---/inc/package_name/include_file.inc

    6 3
    1 754

    Hey Developers,

    Enjoy watching this brief explanation of a new feature in IRIS RAD Studio – a new project by @José Pereira and @Henrique Dias:

    Automated user management in IRIS RAD Studio

    https://www.youtube.com/embed/-Y2kaKES8yg
    [This is an embedded link, but you cannot view embedded content directly on the site because you have declined the cookies necessary to access it. To view embedded content, you would need to accept all cookies in your Cookies Settings]

    6 0
    0 234

    Hey Developers,

    We're pleased to invite you to the upcoming webinar in Russian called "Virtual Summit + Open Exchange"!

    🗓 Date & time: Febraury 16, 10:00 (UTC+3, Moscow time)

    🗣 Speaker: @Eduard Lebedyuk, Sales Engineer, InterSystems

    https://www.youtube.com/embed/oCC0aoMh70U
    [This is an embedded link, but you cannot view embedded content directly on the site because you have declined the cookies necessary to access it. To view embedded content, you would need to accept all cookies in your Cookies Settings]

    6 1
    0 121

    Hi Community,

    We're pleased to invite you to the online meetup with the winners of the InterSystems Analytics Contest!

    Date & Time: Monday, January 4, 2021 – 10:00 EDT

    What awaits you at this virtual Meetup?

    • Our winners' bios.
    • Short demos on their applications.
    • An open discussion about technologies being used, bonuses, questions. Plans for the next contests.

    6 3
    0 336

    Hi Developers!

    Recently we launched InterSystems Package Manager - ZPM. And one of the intentions of the ZPM is to let you package your solution and submit into the ZPM registry to make its deployment as simple as "install your-package" command.

    To do that you need to introduce module.xml file into your repository which describes what is your InterSystems IRIS package consists of.

    This article describes different parts of module.xml and will help you to craft your own.

    I will start from samples-objectscript package, which installs into IRIS the Sample ObjectScript application and could be installed with:

    zpm: USER>install samples-objectscript

    It is probably the simplest package ever and here is the module.xml which describes the package:

    <?xml version="1.0" encoding="UTF-8"?>
    <Export generator="Cache" version="25">
      <Document name="samples-objectscript.ZPM">
        <Module>
          <Name>samples-objectscript</Name>
          <Version>1.0.0</Version>
          <Packaging>module</Packaging>
          <SourcesRoot>src</SourcesRoot>
          <Resource Name="ObjectScript.PKG"/>
        </Module>
      </Document>
    </Export>

    6 12
    6 1.4K