The PyDB2 package provides a Python DB API 2.0 interface to IBM's DB2 database management system. The package also includes various tools for working with DB2.
Follow PyDB2 - Python DB2 Interface And Tools
Rate This ProjectLogin To Rate This Project
pydb2 is fast and stable
Good, lacks some documentation, but use test_basic.py as guide. Also if you cannot find sqlcli1.h while building, you must install the development libs that come with DB2. This can be done by doing a custom install
Can not use it because of two big documentation omissions. First, no info about building requirements. This needs IBM's libraries and include files. I finally got by this after a few hours (get them by installing IBM DB2 Express-C). Second, no code examples. In particular: How do you connect to the database? The connect() function does not accept a host parameter.