Skip to main content

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(\"*\")'"

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.5.0.tar.gz (108.5 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.5.0-py3-none-any.whl (132.5 kB view details)

Uploaded Python 3

File details

Details for the file sqlalchemy-iris-0.5.0.tar.gz.

File metadata

  • Download URL: sqlalchemy-iris-0.5.0.tar.gz
  • Upload date:
  • Size: 108.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for sqlalchemy-iris-0.5.0.tar.gz
Algorithm Hash digest
SHA256 bb5468bddb20c9db4636624ef4de5eaf41cb63ff9165399af9fc5327d623bb94
MD5 9674b2f95e98a65aff6a2b85769f58b7
BLAKE2b-256 edf2550d55ab71d03aa5c283d5a484a621d5f479ec8552b3f3804569dfacfb70

See more details on using hashes here.

File details

Details for the file sqlalchemy_iris-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sqlalchemy_iris-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 776ec64358a5d130ec59071e65f85a1c6c6b8f19d400bcad278b90750cbbe8d3
MD5 84ad0652b5f09015dac831212ee67651
BLAKE2b-256 f44a36801bfa40bdc6dae72882cf932a557855db3e6c90ba5c34e372427aac57

See more details on using hashes here.

Release history Release notifications | RSS feed

0.20.0

2 files

0.19.1

2 files

0.19.0

2 files

0.18.1

2 files

0.18.0

2 files

0.17.1

2 files

0.17.0

2 files

0.16.1

2 files

0.16.0

2 files

0.15.5

2 files

0.15.4

2 files

0.15.3

2 files

0.15.2

2 files

0.15.1

2 files

0.15.0

2 files

0.14.0

2 files

0.13.3

2 files

0.13.2

2 files

0.13.1

2 files

0.13.0

2 files

0.12.1

2 files

0.12.0

2 files

0.11.0

2 files

0.10.5

2 files

0.10.4

2 files

0.10.3

2 files

0.10.2

2 files

0.10.1

2 files

0.10.0

2 files

0.9.0

2 files

0.8.0

2 files

0.7.0

2 files

0.6.0

2 files

This release

0.5.0 This release

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.0

2 files

Supported by

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