InterBasePython

An InterBase driver that implements Python Database API 2.0 support

15
1
Python

InterBase Driver for Python, supporting 32-bit and 64-bit

InterBase Documentation *
InterBase Source *
Based On FDB

Changes implemented are based on this blog post

InterBase Driver for Python is a Python library package that implements
Python Database API 2.0-compliant support for the Embarcadero SQL Database
InterBase ®. In addition to the minimal
feature set of the standard Python DB API, InterBase Driver for Python also exposes the entire
native (old-style) client API of the database engine. Notably:

  • Automatic data conversion from strings on input.
  • Automatic input/output conversions of textual data between UNICODE
    and database character sets.
  • Support for prepared SQL statements.
  • Multiple independent transactions per single connection.
    access specifications.
  • Distributed transactions.

Install (32-bit or 64-bit version of python 3.* required)

You can use one of the following ways to do it.

pip install interbase

pip install git+https://github.com/Embarcadero/InterBasePython.git

pip install git+ssh://[email protected]/Embarcadero/InterBasePython.git

To create a test DB:

cd test/files && isql -i create-test-db.sql