Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Firebird RDBMS bindings for Python

Project description

pyfirebirdsql package is a set of Firebird RDBMS bindings for Python.

It is implemented using ctypes and allows connection to the database by Classic Firebird Server or through the Embedded Firebird Server

connection via the Classic Firebird Server:

import pyfirebirdsql
conn = pyfirebirdsql.connect(dsn='localhost:database.fdb', user='sysdba', password='***')
cur = conn.cursor()
cur.execute("select * from table")
for row in cur.fetchall():
    print(row)

connection via the Embedded Firebird Server:

import pyfirebirdsql
conn = pyfirebirdsql.connect(dsn='localhost:database.fdb', user='sysdba', password='***', embedded=True)
cur = conn.cursor()
cur.execute("select * from table")
for row in cur.fetchall():
    print(row)

Project details


Release history Release notifications

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page