firebird-driver
Firebird driver for Python
What it is and what it does
firebird-driver is the official Python driver for Firebird, an open-source relational database. It implements the Python Database API 2.0 standard, meaning you can use it with any code expecting a standard DB API driver—but it also exposes Firebird 3's newer interface-based client API and additional extensions for more direct control when needed. The driver depends on firebird-base and python-dateutil for its core functionality.
You would use this package when you need to connect Python applications to a Firebird database server. It handles connection management, query execution, result fetching, and transaction control. The driver is maintained by the Firebird Project itself and supports modern Python versions (3.11, 3.12, 3.13) across Linux, macOS, and Windows.
Use it for:
- Connect a Python web application or service to an existing Firebird database for queries and updates.
- Migrate legacy Firebird applications from older languages to Python while preserving database compatibility.
- Build data analysis or reporting tools that pull from Firebird databases using standard DB API patterns.
- Develop Python scripts that leverage Firebird 3's advanced client API features for performance-critical operations.
- Test Firebird database schemas and stored procedures from Python test suites.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python Database API 2.0-compliant driver for Firebird 3+ that provides both standard DB API access and Firebird's interface-based client API with additional extensions.
Yes. This is the official Firebird driver for Python, actively maintained, production-stable, and carries no known vulnerabilities. Install friction is low, licensing is permissive, and it supports current Python versions. Install it if you need to connect Python to Firebird 3+; it's the standard choice for that task.
Install
firebird-driver on PyPI
pip
pip install firebird-driveruv
uv add firebird-driverpoetry
poetry add firebird-driverInstalling firebird-driver
Before you install
Low install friction with a pure-wheel distribution. Actively maintained as of 116 days ago with production-stable status. Requires Firebird 3+ server and Python 3.11 or later.
License in practice
MIT license permits unrestricted use, modification, and redistribution with minimal restrictions—suitable for proprietary and open-source projects alike.
Quickstart
pip install firebird-driver
import firebird.driver
conn = firebird.driver.connect(
host='localhost',
database='/path/to/database.fdb',
user='sysdba',
password='password'
)
cursor = conn.cursor()
cursor.execute('SELECT * FROM table')
results = cursor.fetchall()
Requires Firebird 3+ server installed and accessible; Python 3.11 or later.
Verify before relying
- Whether firebird-base and python-dateutil are bundled or require separate installation steps.
- Performance characteristics and connection pooling capabilities compared to other Firebird drivers.
- Extent of Firebird 3 interface-based API coverage and which extensions are most commonly used.
Package facts
| License | MIT License Copyright (c) 2020 The Firebird Project (www.firebirdsql.org) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — firebird-base, python-dateutil |
| Maintenance | actively maintained — 116 days since the last release |
| First released | |
| Downloads | 197,211/month — #9,766 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: firebird_driver-2.0.3-py3-none-any.whl
Keywords: Firebird, RDBMS, driver
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
fdbFDB is a Python Database API 2.0-compliant…
permissive · top 15,000 on PyPI
firebird-baseProvides a collection of utility modules for…
permissive · top 15,000 on PyPI
sqlalchemy-firebirdProvides a SQLAlchemy 2.0+ dialect for…
permissive · top 15,000 on PyPI
pyodbcpyodbc provides Python access to ODBC databases…
permissive · top 1,000 on PyPI
mariadbMariaDB Connector/Python provides a DB API…
copyleft · top 15,000 on PyPI
mysql-connector-python-rfA pure-Python MySQL driver that implements the…
copyleft · top 15,000 on PyPI
oracledbA Python driver for connecting to Oracle…
unclear · top 1,000 on PyPI
teradatasqlA PEP-249 compliant Python database driver that…
unclear · top 5,000 on PyPI
mysql-connectorMySQL driver written in Python that enables…
copyleft · top 5,000 on PyPI
mssql-pythonA Python driver for connecting to and querying…
unclear · top 5,000 on PyPI