{"categories":[{"label":"Front-Ends","url":"https://skillfed.io/packages/category/database-front-ends"}],"enrichment":{"capability":"Python driver for connecting to IBM Db2 for LUW and IBM Db2 for z/OS databases, providing both a native interface and a DB-API 2.0-compliant wrapper.","skillfed_tags":["db2-driver","odbc-cli","mainframe"],"use_cases":["Connect Python applications to IBM Db2 LUW databases for transactional workloads and reporting.","Execute SQL queries and stored procedures against Db2 z/OS mainframe databases from Python scripts.","Build DB-API 2.0-compliant applications using ibm_db_dbi for portable Db2 access.","Migrate legacy Db2 applications to Python while maintaining existing database infrastructure.","Integrate Db2 data into Python data pipelines and analytics workflows."],"what_it_does":"ibm_db is a Python driver for IBM Db2 databases (LUW and z/OS variants) that wraps the IBM Data Server Driver for ODBC and CLI. It provides two interfaces: a native ibm_db driver for direct ODBC/CLI access, and ibm_db_dbi, a DB-API 2.0-compliant wrapper for standard Python database programming. The package is actively maintained and supports Python 3.9 through 3.14 across Linux, macOS (including ARM64 from 3.9 onwards), Windows, and Unix platforms.\n\nInstallation is straightforward via pip for most platforms\u2014prebuilt wheels bundle the clidriver, eliminating external dependencies for typical setups. However, on Linux systems with older glibc or CPUs predating 2009, or when using an external Db2 client installation, you must build from source, which requires a GCC compiler and ODBC headers. Windows users with an existing Db2 client may need to configure the IBM_DB_HOME environment variable. The package handles Windows DLL resolution automatically via a .pth file, though manual fallback configuration is documented if needed.","worth_installing":"Yes. ibm_db is production-stable (Development Status 5) with no known vulnerabilities, active maintenance (released 3 days ago), and permissive Apache 2.0 licensing. Install friction is moderate but manageable for most platforms via prebuilt wheels. Choose it if you need reliable Db2 connectivity from Python; the DB-API 2.0 wrapper provides portability. Avoid if your system has glibc < 2.34 and you cannot build from source, or if you lack Db2 server/client access."},"id":"ibm-db","links":{"html":"https://skillfed.io/packages/ibm-db","md":"https://skillfed.io/packages/ibm-db.md","pypi":"https://pypi.org/project/ibm-db/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-11","license_spdx":null,"license_treatment":"permissive","name":"ibm-db","python_support":"unspecified","summary":"Python DBI driver for DB2 (LUW, zOS, i5)"},"popularity":{"monthly_downloads":4008623,"position":2402,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.3.0"}
