Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

IoP (Interoperability On Python)

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

Welcome to Interoperability On Python (IoP), a production-stable Python-first toolkit for building on the IRIS Interoperability Framework.

Documentation can be found here. For prompt-driven workflows, see AI-assisted coding with IoP. For task-oriented examples, see the IoP cookbooks. For application repositories, start from the reusable AGENTS.md template.

Example

Here's a tiny Python-authored production:

from dataclasses import dataclass

from iop import BusinessOperation, Message, PollingBusinessService, Production, target


@dataclass
class HelloRequest(Message):
    text: str = "Hello World"


class HelloService(PollingBusinessService):
    Output = target()

    def on_poll(self):
        self.send_request_async(self.Output, HelloRequest())


class HelloOperation(BusinessOperation):
    def on_message(self, request: HelloRequest):
        self.log_info(request.text)
        return request


prod = Production("HelloWorld.Production", testing_enabled=True)
service = prod.service("HelloService", HelloService)
operation = prod.operation("HelloOperation", HelloOperation)
service.connect(HelloService.Output, operation)

PRODUCTIONS = [prod]

Installation

Install the production-stable package using pip:

pip install iris-pex-embedded-python

Getting Started

If you're new to this project, begin by reading the installation guide. Then, follow the first steps to create your first Python-authored production.

If you are using an AI coding assistant, start with AI-assisted coding with IoP. For concrete workflows, use the IoP cookbooks. For healthcare productions, also see Healthcare AI-assisted coding.

Happy coding!

Compatibility and support

IoP supports Python 3.10 through 3.14 and InterSystems IRIS 2021.2 or newer. Changes follow semantic versioning: backward-compatible features and deprecations ship in minor releases, while removals are reserved for major releases and are announced in the changelog. IRIS compatibility is continuously checked against the latest Community image; the preview image is tested nightly to identify upcoming incompatibilities.

Contributing

Create a Python 3.10 or newer virtual environment, then install and verify the development environment with:

python -m pip install -e ".[dev]"
tox

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iris_pex_embedded_python-4.1.0b1.tar.gz (215.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iris_pex_embedded_python-4.1.0b1-py3-none-any.whl (185.0 kB view details)

Uploaded Python 3

File details

Details for the file iris_pex_embedded_python-4.1.0b1.tar.gz.

File metadata

File hashes

Hashes for iris_pex_embedded_python-4.1.0b1.tar.gz
Algorithm Hash digest
SHA256 0f1664dd10cdb4cac29bdd14c76a139ed6820462d8bda220d5d05bf725c596cd
MD5 4fff95d0d7709afc00b01b986df9db9f
BLAKE2b-256 ba7ad067b3ecf28ea07d5728b036f8e872309ae39182163f497ffb6f77647cf3

See more details on using hashes here.

File details

Details for the file iris_pex_embedded_python-4.1.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for iris_pex_embedded_python-4.1.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee80db7b1486eb9819d80d0eba131bb52d047660623e6a8a73d1b0113fa451fc
MD5 28b5c3ac9d7b08e58cb8eaaab25ac772
BLAKE2b-256 3c8d8d6c2f4d495e855ec8fecee6238db5906916cf065c27665c7b79074080ee

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page