I took a look in the db.py module and it does indeed have support for firebird .
web.py is a web framework for python that is as simple as it is powerful.
“Django lets you write web apps in Django. TurboGears lets you write web apps in TurboGears. Web.py lets you write web apps in Python”