How to use Firebird with Python?


So far, the KInterbasDB has been used as Python interbase to Firebird and InterBase. To quote the website:

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 will not support InterBase anymore (at least, nothing will be done to ensure InterBase compatibility). 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


Do you find this FAQ incorrect or incomplete? Please e-mail us what needs to be changed. To ensure quality, each change is checked by our editors (and often tested on live Firebird databases), before it enters the main FAQ database. If you desire so, the changes will be credited to your name. To learn more, visit our add content page.

If you are a commercial tool maker and your tool features a great way to handle the issue written about in this FAQ, please check out our advertisement page.



All contents are copyright © 2007-2014 FirebirdFAQ.org unless otherwise stated in the text.


Links   Firebird   News   FlameRobin   Home Inventory powered by FB  
Add content   Advertise   About  

Categories
 Newbies
 SQL
 Installation and setup
 Backup and restore
 Performance
 Security
 Connectivity and API
 HOWTOs
 Errors and error codes
 Miscellaneous