Python DBAPI module for FirebirdSQL
Python C++ CSS Other
Latest commit ac29951 Jul 17, 2016 @nakagami fix _fetch_generator()
Permalink
Failed to load latest commit information.
firebirdsql fix _fetch_generator() Jul 17, 2016
misc modify error messages Nov 27, 2015
sphinx revision number up. Jul 17, 2016
.gitignore ignore docs folder Nov 15, 2011
.travis.yml add python 3.5 ci Jul 17, 2016
MANIFEST.in add MANIFEST.in Dec 5, 2014
README.rst add link to firebirdsql.org Jun 29, 2016
setup.py flake8 Sep 10, 2015

README.rst

PyfirebirdSQL

https://travis-ci.org/nakagami/pyfirebirdsql.svg?branch=master https://img.shields.io/pypi/v/firebirdsql.png https://img.shields.io/pypi/dm/firebirdsql.png https://img.shields.io/pypi/l/firebirdsql.png

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+ (including Python 3.x)

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

Example

import firebirdsql
conn = firebirdsql.connect(dsn='localhost:3050/foo/bar.fdb',
                            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:

$ pytohn 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