Skip to main content

Compatibility shim: import intersystems_iris resolves to the iris package from intersystems-irispython

Project description

intersystems-iris

intersystems-iris is a compatibility shim for the intersystems_iris import name.

The problem

The InterSystems IRIS Python client is distributed as intersystems-irispython but imported as iris. Some packages (including older versions of iris-vector-graph) import it as intersystems_iris. This package makes that work.

import intersystems_iris          # same as: import iris
intersystems_iris.connect(...)    # works
intersystems_iris.createIRIS(...) # works
intersystems_iris.dbapi           # works

For new code

Use import iris directly. This shim exists for compatibility only.

import iris
conn = iris.connect("iris://_SYSTEM:SYS@localhost:1972/USER")

Install

pip install intersystems-iris

This pulls in intersystems-irispython as a dependency automatically.

Project details


Download files

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

Source Distribution

intersystems_iris-1.0.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

intersystems_iris-1.0.0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file intersystems_iris-1.0.0.tar.gz.

File metadata

  • Download URL: intersystems_iris-1.0.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for intersystems_iris-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7fd1da538a16fb2f60118ea74e04e0899dc568ef43d8e5d98790f0d4ec0def12
MD5 da6491ff1b5e5e5385bf7ae7fca57763
BLAKE2b-256 45bdad71e3a80abb56fba9eaf4327395cea933fbe4551e52457807d71c4f175c

See more details on using hashes here.

File details

Details for the file intersystems_iris-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for intersystems_iris-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8161db6d15a4cff340b252f6fa1813f7bbdf350ad04c43d50589f04aef0f0754
MD5 f23fd4a16dcc0727a80d89b159d4a100
BLAKE2b-256 1b66dad2bd2802920e29284982dc572c66faaf6afa9869c465f95c5f7529fb36

See more details on using hashes here.

Supported by

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