Skip to main content

InterSystems IRIS for SQLAlchemy

Project description

sqlalchemy-iris

An InterSystems IRIS dialect for SQLAlchemy.

Pre-requisites

This dialect requires SQLAlchemy, InterSystems DB-API driver. They are specified as requirements so pip will install them if they are not already in place. To install, just:

pip install sqlalchemy-iris

Usage

In your Python app, you can connect to the database via:

from sqlalchemy import create_engine
engine = create_engine("iris://_SYSTEM:SYS@localhost:1972/USER")

InterSystems IRIS

You can run your instance of InterSystems IRIS Community Edition with Docker

docker run -d --name iris \
 -p 1972:1972 \
 -p 52773:52773 \
 intersystemsdc/iris-community:preview

Port 1972 is used for binary communication (this driver, xDBC and so on), and 52773 is for web (Management Portal, IRIS based web-applications and API's).

The System Management Portal is available by URL: http://localhost:52773/csp/sys/UtilHome.csp

The default password - SYS, has to be changed after the first login to the management portal. Or start the container with a command that resets the change password flag

docker run -d --name iris \
 -p 1972:1972 \
 -p 52773:52773 \
 intersystemsdc/iris-community:preview \
 -a "iris session iris -U%SYS '##class(Security.Users).UnExpireUserPasswords(\"*\")'"

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

sqlalchemy-iris-0.10.4b2.tar.gz (115.1 kB view details)

Uploaded Source

Built Distribution

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

sqlalchemy_iris-0.10.4b2-py3-none-any.whl (137.9 kB view details)

Uploaded Python 3

File details

Details for the file sqlalchemy-iris-0.10.4b2.tar.gz.

File metadata

  • Download URL: sqlalchemy-iris-0.10.4b2.tar.gz
  • Upload date:
  • Size: 115.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for sqlalchemy-iris-0.10.4b2.tar.gz
Algorithm Hash digest
SHA256 2805d21c3f802d9bbc233d27dffaa0be3cdd381777491fcac238fa832d4d8a21
MD5 154e3dcafe816c04f7c0704e143e18ed
BLAKE2b-256 a7ffcb24eafc6d179996c99e30f2c7d8cc6d7eafb63574f923e72e00b5db20b1

See more details on using hashes here.

File details

Details for the file sqlalchemy_iris-0.10.4b2-py3-none-any.whl.

File metadata

File hashes

Hashes for sqlalchemy_iris-0.10.4b2-py3-none-any.whl
Algorithm Hash digest
SHA256 39fa5c10d69bdccd5ccb0c9afe4b9a0cf23bf9efa7bd1ab6b8b1dd7f17bbee8f
MD5 a3bb9bf64b6eeae5644bb03f193130fc
BLAKE2b-256 c560080e2870ca46abe95ccb4e9994929238e358b60e939c392cbbd22814a6b4

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