skillfed

fdb

Legacy Python driver for Firebird 2.5

fdb v2.0.4 249.8K downloads/30d#8,647 on PyPI63
Permissive license ======= LICENSE ======= The following contributors hold Copyright (c) over their respective portions of code and documentation: The main portion of initial code (~95%); Current maintainer: Pavel… (full text in the JSON record) AGING released

What it is and what it does

FDB is a legacy Python driver that implements the DB API 2.0 standard for Firebird 2.5 databases. It provides connection pooling, query execution, and transaction management for Python applications that need to interact with older Firebird installations. The package has no external runtime dependencies and installs as a pure Python wheel, making it lightweight to add to an existing project.

The maintainers are explicit that this is a legacy driver no longer under active development. It offers limited support for Firebird 3.0 and does not support Firebird 4 or newer. If you are working with Firebird 3 or later, the official firebird-driver package is the recommended alternative. FDB is appropriate only for maintaining or extending existing applications tied to Firebird 2.5 or for legacy system integration where upgrading the database is not an option.

Use it for:

  • Maintain or extend legacy Python applications that connect to existing Firebird 2.5 databases without upgrading the database engine
  • Integrate Firebird 2.5 data sources into Python ETL pipelines or reporting tools where the database cannot be migrated
  • Port older Python code written against Firebird to modern Python versions while keeping the database unchanged
  • Query Firebird 2.5 databases from Python scripts in environments where the official driver is not available or compatible

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

FDB is a Python Database API 2.0-compliant driver for connecting to and querying Firebird 2.5 relational databases, with limited support for Firebird 3.0.

Yes, but only if you are locked into Firebird 2.5 or have a specific legacy integration requirement. The package is stable and has no known vulnerabilities, but it is not actively maintained and development has stalled. If you have any flexibility to upgrade to Firebird 3 or newer, use the official firebird-driver instead. For new projects, do not choose this package.

Install

fdb on PyPI

pip

pip install fdb

uv

uv add fdb

poetry

poetry add fdb

Installing fdb

Before you install

Installation is straightforward with no runtime dependencies. However, the package is aging—last release was 388 days ago—and the maintainers explicitly state that development is not active and maintenance is very limited. For Firebird 3 or newer, the official firebird-driver is recommended instead.

License in practice

FDB is distributed under a permissive license (MIT per the description excerpt, though classifiers list BSD). You can use, modify, and distribute the software freely for any purpose without fee or royalty, provided copyright notices are retained.

Quickstart

pip install fdb

import fdb

conn = fdb.connect(dsn='localhost:/path/to/database.fdb',
                   user='sysdba', password='masterkey')
cur = conn.cursor()
cur.execute('SELECT * FROM my_table')
for row in cur.fetchall():
    print(row)
conn.close()

Firebird 2.5 or 3.0 database engine must be installed and accessible at the DSN path; the driver does not include the database server itself.

Verify before relying

  • Whether Firebird 2.5 or 3.0 is actually installed and accessible on the target system (FDB does not bundle the database engine)
  • Exact scope of Firebird 3.0 support limitations beyond the stated 'limited' qualifier
  • Whether the package works reliably with modern Python versions despite classifiers listing only up to 3.6

Package facts

License ======= LICENSE ======= The following contributors hold Copyright (c) over their respective portions of code and documentation: The main portion of initial code (~95%); Current maintainer: Pavel… (full text in the JSON record) (permissive)
Python support supports the current Python release (!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,<4,>=2.7)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance aging — 388 days since the last release
Last repo commit
First released
Downloads 249,755/month — #8,647 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: fdb-2.0.4-py2.py3-none-any.whl

Keywords: Firebird, RDBMS, driver

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Topic :: DatabaseTopic :: Software Development

Tags

firebird database driver pythonpython firebird connectorfirebird 2.5 driverdb api firebirdfirebird sql pythonlegacy firebird driverfirebird database api
legacyfirebirddb-api

More Software Development packages