Compatibility shim: import intersystems_iris resolves to the iris package from intersystems-irispython. Tracks intersystems-irispython 5.3.x.
Project description
intersystems-iris
Compatibility shim: import intersystems_iris resolves to the iris module from intersystems-irispython.
The problem
The InterSystems IRIS Python client is distributed as intersystems-irispython but imported as iris. This mismatch between package name and import name has led the community to independently converge on intersystems_iris as a more intuitive import name — and several widely-used packages depend on it:
sqlalchemy-iris(caretdev) —import intersystems_iris.dbapi._DBAPIin 4 filesdjango-iris(caretdev) —import intersystems_iris.dbapi._DBAPI as Databaseiris-kafka-python(grongierisc / ISC) —import intersystems_iris+intersystems_iris.IRIS(conn)iris-vector-graph(intersystems-community) —import intersystems_irisin bulk_loader and engine
These packages were not wrong. intersystems_iris was the intended public import name of the legacy intersystems-iris distribution before ISC renamed the package to intersystems-irispython and shortened the import to iris. This shim restores that name so all of the above packages work without modification.
import intersystems_iris # same as: import iris
intersystems_iris.connect(...) # works
intersystems_iris.createIRIS(...) # works
intersystems_iris.dbapi # works
intersystems_iris.IRIS(conn) # works
Install
pip install intersystems-iris
Pulls in intersystems-irispython automatically.
For new code
Use import iris directly. This package exists for ecosystem compatibility.
import iris
conn = iris.connect("iris://_SYSTEM:SYS@localhost:1972/USER")
Embedded Python (in-process)
When running inside IRIS via irispython, import iris is provided by the IRIS runtime — intersystems-irispython is not installed. The intersystems_iris shim still works because it imports from iris, which is always present.
# Inside irispython — no pip install needed
import intersystems_iris # resolves to the embedded iris module
intersystems_iris.sql.exec("SELECT 1")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file intersystems_iris-5.3.3.tar.gz.
File metadata
- Download URL: intersystems_iris-5.3.3.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ab19a34f690da6c79bf9f392fa28f3b4e51f3be5c70b040ff1cadafe1cb5454
|
|
| MD5 |
e657ad00efadadd12161fbee54edb69b
|
|
| BLAKE2b-256 |
47d3ecc052c8fee32c36128b69c7c55b0f2d8dfb40681a0386ef2451a2435735
|
File details
Details for the file intersystems_iris-5.3.3-py3-none-any.whl.
File metadata
- Download URL: intersystems_iris-5.3.3-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c9a14c72e72ae69e49c8811ccfb74914c44149c787657f0db31a18d05ef2a6a
|
|
| MD5 |
b3a54e6b84e817c0b138f59716500154
|
|
| BLAKE2b-256 |
a11986661bb151c813c9eb012d59c22c3a1f4834b036f0c92a6bf14e2ac7d951
|