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


Release history Release notifications

This version
History Node

0.0.1

Supported by

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