SQLAlchemy support for Db2 on IBM i
Maintained. Last release 5 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install sqlalchemy-ibmiSQLAlchemy adapter for IBM i
The IBM i SQLAlchemy adapter provides an SQLAlchemy interface to Db2 for IBM i.
Please note that this project is still under active development. Please report any bugs in the issue tracker :rotating_light:
Requirements
SQLAlchemy
| SQLAlchemy Version | Supported | Notes |
|---|---|---|
| SQLAlchemy 2.0 | ✅ | Support added in 0.9.4. |
| SQLAlchemy 1.4 | ✅ | Support added in 0.9.3. |
| SQLAlchemy 1.3 | ❌ | Support removed in 0.9.4. |
Python
Python 3.10+ is supported.
IBM i Access ODBC Driver
It is best to use the latest version of the driver, which is currently available in the IBM i Access Client Solutions Application Package 1.1.0.29.
Some options may require certain minimum driver versions to be enabled. Because the driver ignores any unknown options, using them on older driver versions will not cause an error but instead be silently ignored.
| Connection Option | Required Version |
|---|---|
trim_char_fields | 1.1.0.25 |
IBM i
This adapter is only tested against IBM i 7.5 and up. It may support older IBM i releases, but no support is guaranteed.
Installation
pip install sqlalchemy-ibmi
Getting Started
You will need to have the IBM i Access ODBC Driver installed in order to use this adapter. Please read these docs for the simplest way to install for your platform.