I'm happy to announce the latest Python Gateway release.
This is not an InterSystems product, it is community supported open source project.
Download new release from GitHub.
Now for the new features.
Fast transfer. Pass globals, classes and tables from InterSystems IRIS to Python with ease and speed (10x faster than old QueryExecute
). Documentation.
Proxy Gateway allows generation of ObjectScript classes for Python classes. Instantinate objects, call object and class methods using familiar ObjectScript code (docs).
set module = "random"
set sc = ##class(isc.py.gw.Generator).Generate(module)
set sc = ##class(isc.py.Main).ImportModule(module)
write ##class(py.random).randint(1,100)
Annotation evaluation - business processes inheriting from isc.py.ens.ProcessUtils
now can use activity annotations with variables which would be calculated on ObjectScript side before being passed to Python.
Jupyter support - Jupyter can now be used to browse and edit Interoperability processes. Documentation.
Last but not least and thanks to Benjamin De Boe we added PMML support via isc.py.util.PMML
allowing imports of predictive models from Python into InterSystems IRIS via PMML.
Installation instructions are available in Readme.
Update instructions (from v0.7):
- Load new code and library from GitHub.
The Jupyter support is very exciting, adding a neat and highly appropriate mechanism for exposing IRIS-side concepts to a typical Python environment (Jupyter). This release is introducing a first taste of such an interaction, but we're very interested in learning from your experiences and ideas on making this even more effective at adding process control to your Python work.
Hi Ed!
Thanks for the release!
Tried to build container got the following:
Could you please check?
Please use v0.8 release.
Do not use repository - it is should not be used for anything besides development.
Also we already had the same discussion.
Thanks! That helped, again! It's not obvious though.
It is a common distribution method for compiled libraries.
The distribution method is obvious, of course ;) Thanks Ed.
What do you recommend to use Python Gateway in docker container instead?
Use published container.
docker run -d \ -p 52773:52773 \ --name irispy \ intersystemscommunity/irispy:latest