{"id":23894,"library":"intersystems-irispython","title":"InterSystems IRIS Python SDK","description":"Official InterSystems IRIS Python SDK for connecting to and interacting with InterSystems IRIS data platform. Current version 5.3.2, supporting Python >=3.8. Released on a per-release cadence aligned with IRIS updates.","status":"active","version":"5.3.2","language":"python","source_language":"en","source_url":"https://github.com/intersystems/iris-python-sdk","tags":["interSystems","IRIS","database","SDK","python","data platform"],"install":[{"cmd":"pip install intersystems-irispython","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Core SDK package","package":"intersystems_irispython","optional":false}],"imports":[{"wrong":"from intersystems_irispython import IRIS","symbol":"IRIS","correct":"from iris import IRIS"},{"symbol":"IRISConnection","correct":"from iris import IRISConnection"},{"symbol":"createConnection","correct":"from irisnative import createConnection"}],"quickstart":{"code":"import os\nfrom intersystems_irispython import IRIS\n\n# Connect using environment variables\nconn = IRIS.connection(\n    hostname=os.environ.get('IRIS_HOSTNAME', 'localhost'),\n    port=int(os.environ.get('IRIS_PORT', 1972)),\n    namespace=os.environ.get('IRIS_NAMESPACE', 'USER'),\n    username=os.environ.get('IRIS_USERNAME', '_SYSTEM'),\n    password=os.environ.get('IRIS_PASSWORD', '')\n)\nprint('Connected:', conn.is_connected())\nconn.close()","lang":"python","description":"Connect to IRIS using environment variables for credentials."},"warnings":[{"fix":"Replace `iris.create_connection(...)` with `IRIS.connection(...)`.","message":"In v5.x, the `IRIS.connection()` method replaced the old `iris.create_connection()` pattern from v4.x. Existing code using `create_connection` will break.","severity":"breaking","affected_versions":">=5.0.0"},{"fix":"Use `from intersystems_irispython import IRIS` (exact casing).","message":"The class name `IRIS` is all uppercase. A common mistake is to use `Iris` or `iris` (lowercase) which will raise AttributeError.","severity":"gotcha","affected_versions":"all"},{"fix":"Ensure port number matches IRIS Superserver port (default 1972).","message":"Default port is 1972 (Superserver), not 51773 or 9091. Using wrong port leads to connection timeout.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'3.8':25 '5.3.2':22 'align':33 'cadenc':32 'connect':11 'current':20 'data':18,42 'databas':39 'interact':14 'intersystem':1,6,16,37 'iri':2,7,17,35,38 'offici':5 'per':30 'per-releas':29 'platform':19,43 'python':3,8,24,41 'releas':26,31 'sdk':4,9,40 'support':23 'updat':36 'version':21","created_at":"2026-05-01T08:10:11.548460+00:00","updated_at":"2026-05-01T08:10:11.548460+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"5.3.2","cli_name":"irispython","cli_version":"sh: 1: irispython: not found","type":"library","homepage":"https://www.intersystems.com/","github":null,"docs":"https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls?KEY=PAGE_python_native","changelog":null,"pypi":"https://pypi.org/project/intersystems-irispython/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database","aws","gcp","azure"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}