Morph AppSpace - Platform as a Service for RoR

IBM’s Python and DB2 drivers released

Antonio Cangiano October 29th, 2007

I’m glad to inform you that the beta version of the Python and DB2 (IBM databases to be more exact) driver and DBI wrapper have been released in the Python Package Index. You can download the source for version 0.1.0 from here. This includes two components:

  • An IBM defined API based driver to access IBM databases (entirely similar to the Ruby and PHP ones)
  • A Python DBI based wrapper to access IBM databases

The DBI wrapper utilizes the IBM defined API driver, but you can also use the feature-rich API indipendently without the DBI wrapper.

I plan to provide a few examples about the usage of the IBM specific API. The Python driver is almost identical to the Ruby one, hence I may create a joined post for both languages. Now go try it and have fun. If you have any questions, feel free to comment below or send an email to the address opendev@us.ibm.com.


If you enjoyed this post, then make sure you subscribe to my RSS Feed.

  • DB2 , Django , Python
  • Comments(5)

5 Responses to “IBM’s Python and DB2 drivers released”

  1. Oleg Deribas UKRAINE Linux Flock 1.0RC3 on 29 Oct 2007 at 6:00 pm

    1. Is any DB API 2.0 compatibility planned?
    2. Will windows binaries be provided?

  2. brad clements UNITED STATES Ubuntu Linux Mozilla Firefox 2.0.0.8 on 29 Oct 2007 at 10:02 pm

    Hurah!

    Too bad it wasn’t mature enough for the DB2 9.5 release. :-(

    Now .. about sqlalchemy.. ;-)

  3. DR BERMUDA Windows XP Mozilla Firefox 2.0.0.9 on 03 Nov 2007 at 2:12 pm

    2nd #Oleg…

    Will also need eggs and binaries for standard platforms, since I NEVER count on any software I have to compile myself (eggs help make the compilation process pretty seamless…); sorry, but my tech support guys are not C programmers, and don’t know what the hell a header file is, so when the compilation fails (always when you need the software the most), they can’t fix it without having to call little old me.

  4. Nildevice CHILE Windows XP Mozilla Firefox 2.0.0.9 on 21 Nov 2007 at 5:00 pm

    For the poor guys that need to install the Python driver in Windows 32bit (I installed in Windows XP Pro) the instructions in the README file are useless (because the info from URL http://wiki.tcl.tk/11431 is too old and the Visual C++ 2005 Express offered by Microsoft instead is binary incompatible with the Visual Studio 2003 used to build the Python interpreter).

    However, you can use the MinGW compiler. I installed the 5.1.3 (from SourceForge) and build the driver with the commands:

    python setup.py build –compiler=mingw32
    python setup.py install –skip-build

  5. meapp BELARUS Windows XP Opera 9.25 on 28 Dec 2007 at 10:47 am

    http://code.djangoproject.com/ticket/5052

Trackback URI | Comments RSS

Leave a Reply