IoP (Interoperability On Python)

PyPI - Status PyPI PyPI - Downloads PyPI - License GitHub last commit

Welcome to the Interoperability On Python (IoP) proof of concept! This project demonstrates how the IRIS Interoperability Framework can be utilized with a Python-first approach.

Example

Here's a simple example of how a Business Operation can be implemented in Python:

from iop import BusinessOperation

class MyBo(BusinessOperation):
    def on_message(self, request):
        self.log_info("Hello World")

Installation

To start using this proof of concept, install it using pip:

pip install iris-pex-embedded-python

with zpm/ipm:

install zpm :

set r = ##class(%Net.HttpRequest).%New(),r.Server="pm.community.intersystems.com",r.SSLConfiguration="ISC.FeatureTracker.SSL.Config" d r.Get("/packages/zpm/0.9.0/installer"),$system.OBJ.LoadStream(r.HttpResponse.Data,"c") 

Then install the package:

zpm "install pex-embbeded-python"

Getting Started

If you're new to this proof of concept, begin by reading the installation guide. Then, follow the first steps to create your first Business Operation.

Happy coding!