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
Built Distribution
Hashes for sqlalchemy_iris-0.7.1b2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12e9e76ee5243f2232a453d49cb450a3480407249ca9773ac96051c8d3b0ed25 |
|
MD5 | cc6c8d2b3c08822d9c6a0e2818d70a11 |
|
BLAKE2b-256 | 5e7821bffdfeb7c296a4b1526679ebfbe50f528ffbe5b16b8198a3f66b4763bc |