How to use Firebird with Python?
To access Firebird from Python, you can use the fdb bindings:
https://pypi.python.org/pypi/fdb/
There is also an older interface called KInterbasDB, which is no longer actively developed. However, here is information about it you might find useful:
KInterbasDB is a Python extension package that implements Python Database API 2.0-compliant support for the open source relational database Firebird. In addition to the minimal feature set of the standard Python DB API, KInterbasDB also exposes nearly the entire native client API of the database engine.
http://kinterbasdb.sourceforge.net/
The package is free, covered by a permissive BSD-style license that both commercial and noncommercial users should find agreeable.
Due to the death of David Rushby, the creator of kinterbasdb, the project was dormant for some time. Since the Firebird project uses Python internally for Q&A, Pavel Cisar started a fork which will bring the driver up-to-date with latest Firebird versions. This fork is developed as a subproject of the Firebird project and it does not support InterBase anymore. Reasons for all this can be found here:
http://tech.groups.yahoo.com/group/firebird-python/message/50
If you have problems running KinterbasDB with Firebird 2.1, please try with this new __init__.py:
https://firebird.svn.sourceforge.net/svnroot/firebird/qa/trunk/kinterbasdb/__init__.py