Join Firebird!

Join Firebird Foundation to support Firebird SQL development and receive multiple bonuses

Follow Us

Select your media preference

Newsletter

Subscribe to Firebird’s Newsletter to receive the latest news

Python Drivers and Libraries

The firebird-driver

The firebird-driver package provides Python Database API 2.0-compliant driver. In addition to the minimal feature set of the standard Python DB API, this driver also exposes the new (interface-based) client API introduced in Firebird 3, and number of additional extensions and enhancements for convenient use of Firebird RDBMS.
  • firebird-driver is implemented in Python on top of Firebird client library using ctypes.
  • firebird-driver works with Firebird 3.0 and newer, and requires Python 3.8+.
  • firebird-driver is free – covered by a permissive MIT license that both commercial and noncommercial users should find agreeable.
  • firebird-driver was developed as replacement for (legacy) FDB driver.
  • firebird-driver is available at Python Package Index and could be installed via pip.
  • firebird-driver source code is available at GitHub.

The firebird-lib

The firebird-lib package provides extensions to firebird-driver.

This package provides modules for:

  • Work with Firebird database schema.
  • Work with Firebird monitoring tables.
  • Processing output from gstat Firebird utility.
  • Processing Firebird server log.
  • Processing output from Firebird server trace & audit sessions.
  • firebird-lib works with Firebird 3.0 and newer, and requires Python 3.8+.
  • firebird-lib is free – covered by a permissive MIT license that both commercial and noncommercial users should find agreeable.
  • firebird-lib is available at Python Package Index and could be installed via pip.
  • firebird-lib source code is available at GitHub.
The firebird-base

The firebird-base package provides common Python 3 modules used by Firebird Project in various development projects. However, these modules have general applicability outside the scope of development for Firebird RDBMS.

Topic covered by firebird-base package:

  • General data types like singletons, sentinels and objects with identity.
  • Unified system for data conversion from/to string.
  • DataList and Registry collection types with advanced data-processing cappabilities.
  • Work with structured binary buffers.
  • Global registry of Google protobuf messages and enumerations.
  • Extended configuration system based on ConfigParser.
  • Context-based logging.
  • Trace/audit for class instances.
  • General “hook” mechanism.
  • firebird-base requires Python 3.8+.
  • firebird-base is free – covered by a permissive MIT license that both commercial and noncommercial users should find agreeable.
  • firebird-base is available at Python Package Index and could be installed via pip.
  • firebird-base source code is available at GitHub.

The FDB

The FDB package provides Python Database API 2.0-compliant driver 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 and number of additional extensions and enhancements for convenient use of Firebird.
  • FDB is implemented in Python on top of Firebird client library using ctypes.
  • FDB works with Firebird 2.0 and newer, Python 2.7+ and 3.0+.
  • FDB is free – covered by a permissive BSD-style license that both commercial and noncommercial users should find agreeable.
  • FDB was developed as replacement for (no longer maintained) KInterbasDB driver.
  • FDB is available at Python Package Index and could be installed via pip.
  • FDB source code is available at GitHub.
Contacts

Pavel Cisar: pcisar at users.sourceforge.net

Resources

The firebird-driver

The firebird-driver package provides Python Database API 2.0-compliant driver. In addition to the minimal feature set of the standard Python DB API, this driver also exposes the new (interface-based) client API introduced in Firebird 3, and number of additional extensions and enhancements for convenient use of Firebird RDBMS.
  • firebird-driver is implemented in Python on top of Firebird client library using ctypes.
  • firebird-driver works with Firebird 3.0 and newer, and requires Python 3.8+.
  • firebird-driver is free – covered by a permissive MIT license that both commercial and noncommercial users should find agreeable.
  • firebird-driver was developed as replacement for (legacy) FDB driver.
  • firebird-driver is available at Python Package Index and could be installed via pip.
  • firebird-driver source code is available at GitHub.

The firebird-lib

The firebird-lib package provides extensions to firebird-driver.

This package provides modules for:

  • Work with Firebird database schema.
  • Work with Firebird monitoring tables.
  • Processing output from gstat Firebird utility.
  • Processing Firebird server log.
  • Processing output from Firebird server trace & audit sessions.
  • firebird-lib works with Firebird 3.0 and newer, and requires Python 3.8+.
  • firebird-lib is free – covered by a permissive MIT license that both commercial and noncommercial users should find agreeable.
  • firebird-lib is available at Python Package Index and could be installed via pip.
  • firebird-lib source code is available at GitHub.
The firebird-base

The firebird-base package provides common Python 3 modules used by Firebird Project in various development projects. However, these modules have general applicability outside the scope of development for Firebird RDBMS.

Topic covered by firebird-base package:

  • General data types like singletons, sentinels and objects with identity.
  • Unified system for data conversion from/to string.
  • DataList and Registry collection types with advanced data-processing cappabilities.
  • Work with structured binary buffers.
  • Global registry of Google protobuf messages and enumerations.
  • Extended configuration system based on ConfigParser.
  • Context-based logging.
  • Trace/audit for class instances.
  • General “hook” mechanism.
  • firebird-base requires Python 3.8+.
  • firebird-base is free – covered by a permissive MIT license that both commercial and noncommercial users should find agreeable.
  • firebird-base is available at Python Package Index and could be installed via pip.
  • firebird-base source code is available at GitHub.

The FDB

The FDB package provides Python Database API 2.0-compliant driver 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 and number of additional extensions and enhancements for convenient use of Firebird.
  • FDB is implemented in Python on top of Firebird client library using ctypes.
  • FDB works with Firebird 2.0 and newer, Python 2.7+ and 3.0+.
  • FDB is free – covered by a permissive BSD-style license that both commercial and noncommercial users should find agreeable.
  • FDB was developed as replacement for (no longer maintained) KInterbasDB driver.
  • FDB is available at Python Package Index and could be installed via pip.
  • FDB source code is available at GitHub.
Contacts

Pavel Cisar: pcisar at users.sourceforge.net

Resources