Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 694 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 694 Bytes

pyfirebirdsqla

how to use

add this code before using sqlalchemy

from firebirdsqla import compat
compat.register()

compat.register will register pyfirebirdsql as "fdb" driver

Why

pyfirebirdsql works just like the "fdb" dbpapi driver for SQLA

Except..

pyfirebirdsql takes "host" rather than "host/port"

This shim

  • fixes the call to match what sqlalchemy expects - provides a compatability module to insert pyfirebirdsqla into the sqlalchemy engine

in the same manner as psycopg2cffi