Skip to main content

The Python driver for Firebird

Project description

Documentation Status || Home || Bug Reports || Source || Say Thanks!

FDB is a Python library 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, FDB 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.

  • All transaction parameters that Firebird supports, including table access specifications.

  • Distributed transactions.

  • Firebird BLOB support, including support for stream BLOBs.

  • Support for Firebird Events.

  • Support for Firebird ARRAY data type.

  • Support for all Firebird Services

FDB also contains extensive collection of submodules that simplify various Firebird-related tasks. Notably:

  • Database schema

  • Firebird monitoring tables

  • Parsing Firebird trace & audit logs

  • Parsing Firebird server log

  • Parsing Firebird gstat utility output

FDB is implemented on top of Firebird client library using ctypes, and currently uses only traditional Firebird API.

FDB works with Firebird 2.0 and newer, and Python 2.7 and 3.4+.

FDB is free – covered by a permissive BSD-style license that both commercial and noncommercial users should find agreeable.

FDB is replacement for discontinued KInterbasDB library, and as such it’s designed to be as much compatible with KInterbasDB as possible, but there are some differences. See FDB documentation for full description of these differences.

Contribute to the development

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fdb-2.0.0.tar.gz (896.8 kB view hashes)

Uploaded Source

Built Distribution

fdb-2.0.0-py2.py3-none-any.whl (159.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page