Skip to content

arthurxlee/pyfirebirdsql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyfirebirdSQL

image

image

image

firebirdsql package is a set of Firebird RDBMS (http://firebirdsql.org/) bindings for Python (Written in pure Python : no C compiler needed or fbclient library)

It works on Python 2.6+ and 3.3+.

see https://pyfirebirdsql.readthedocs.io/en/latest/

Example

import firebirdsql
conn = firebirdsql.connect(
    host='localhost',
    database='/foo/bar.fdb',
    port=3050,
    user='alice',
    password='secret'
)
cur = conn.cursor()
cur.execute("select * from baz")
for c in cur.fetchall():
    print(c)
conn.close()

Test with Firebird3

You can unit test with Firebird3.

Set firebird.conf like this :

AuthServer = Srp, Legacy_Auth
WireCrypt = Enabled

and execute bellow command:

$ python setup.py test

On the other hand, you can use it with Firebird3 wire protocol 13 (Srp authentication and wire encryption) with default firebird.conf

About

Python DBAPI module for FirebirdSQL

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 74.7%
  • Objective-C 22.5%
  • CSS 2.0%
  • Other 0.8%