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

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page