Skip to main content

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


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