Skip to main content

Experimental SQLAlchemy dialect for IBM Informix

Project description

PyInformix

Experimental SQLAlchemy dialect for IBM Informix

Installation

pip install PyInformix

Usage

Connect via ODBC*

from sqlalchemy.engine import create_engine

engine = create_engine('informix+ibm_db://{username}:{password}@{hostname}:{port}/{database}')

*Requires IBM Data Server Driver for ODBC and CLI software.

Connect via JDBC*

from sqlalchemy.engine import create_engine

engine = create_engine('informix+ifx_jdbc://{hostname}:{port}/{database};INFORMIXSERVER={server};delimident=y;user={username};password={password}')

Export CLASSPATH environment variable:

CLASSPATH=/path/to/informix_jdbc_x_x_x_x/jdbc-x.x.x.x.jar:/path/to/informix_jdbc_x_x_x_x/bson-x.x.x.jar

*Requires IBM Informix JDBC Driver and Java Runtime Environment (JRE).

License

Distributed under the Apache, version 2.0 license.

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

PyInformix-0.2.0.tar.gz (11.3 kB view hashes)

Uploaded Source

Supported by

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