Skip to main content

Firebird RDBMS bindings for python.

Project description

https://travis-ci.org/nakagami/pyfirebirdsql.svg?branch=master https://img.shields.io/pypi/v/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+ 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

firebirdsql-1.1.2.tar.gz (53.8 kB view details)

Uploaded Source

File details

Details for the file firebirdsql-1.1.2.tar.gz.

File metadata

  • Download URL: firebirdsql-1.1.2.tar.gz
  • Upload date:
  • Size: 53.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7

File hashes

Hashes for firebirdsql-1.1.2.tar.gz
Algorithm Hash digest
SHA256 0e9d49c7f6f8b96aaf75a705c50bfe096066e8b10de5676929adcbfe55ece0e3
MD5 8b2e06591d7a35cc450f827bf10c22f4
BLAKE2b-256 2f70e6731e0d26f43ef3a8838e19844b9cb007a0d370509db64a308dce351294

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page