Skip to main content

Firebird backend for Django web framework

Project description

https://img.shields.io/pypi/v/django-firebird.svg https://img.shields.io/pypi/dm/django-firebird.svg https://caniusepython3.com/project/django-firebird.svg

Firebird SQL backend for django

This version of django-firebird is working with fbd [1] .Therefore it will work only with firebird 2.x and later. Also, the current master version of this repository is being developed under django 1.7.x. For previous Django stable version there is the stable/1.6.x branch and we consider the driver stable. fbd is the official stable python-firebird driver, also it has support for python 3.

[1] http://pypi.python.org/pypi/fdb/

Update: django-firebird beta 1 status with support for django 1.7

Requirements

Instalation

Using pip

pip install django-firebird

From repository

git clone git://github.com/maxirobaina/django-firebird.git

cd django-firebird

sudo python setup.py install

Manual Instalation

Instructions for Ubuntu/Debian I assume you have installed django from source with python setup.py install

cd /usr/local/lib/python2.7/dist-packages

sudo git clone git://github.com/maxirobaina/django-firebird.git

sudo ln -s django-firebird/firebird firebird

cd /usr/local/lib/python2.7/dist-packages/django/db/backends

sudo ln -s /usr/local/lib/python2.7/dist-packages/django-firebird/firebird

Configuration

Modify your setting.py

DATABASES = {
    'default': {
        'ENGINE' : 'firebird',
        'NAME' : '/var/lib/firebird/2.5/data/django_firebird.fdb', # Path to database or db alias
        'USER' : 'SYSDBA',           # Your db user
        'PASSWORD' : '*****',    # db user password
        'HOST' : '127.0.0.1',        # Your host machine
        'PORT' : '3050',             # If is empty, use default 3050
        #'OPTIONS' : {'charset':'ISO8859_1'}
    }
}

Contributing

Code and issues is in GitHub:

https://github.com/maxirobaina/django-firebird

We also have a mailing list:

http://groups.google.com/group/django-firebird-dev

Legacy driver

Why the change from kinterbasdb to fdb?

If you want to know more about the differences between fdb and kinterbasdb you can look at:

http://thread.gmane.org/gmane.comp.db.firebird.python/185/focus=187

http://pythonhosted.org//fdb/differences-from-kdb.html

If you still use kinterbasdb, the original google code repository has an updated django-firebird 1.4.x LTS version.

https://github.com/mariuz/django-firebird-1.4

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

django-firebird-1.7.1.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

django_firebird-1.7.1-py2.py3-none-any.whl (24.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django-firebird-1.7.1.tar.gz.

File metadata

File hashes

Hashes for django-firebird-1.7.1.tar.gz
Algorithm Hash digest
SHA256 838affc5e2a47d357977eb440ec77d4da56c96a346cc24d9552cf381228806a3
MD5 452b2ab96a98c6cfe760d9e4dbe7c384
BLAKE2b-256 3d52d2b96f1ddf14745d1eab3e1391979f8e92cc83d0f7d843b377107b2336e1

See more details on using hashes here.

File details

Details for the file django_firebird-1.7.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_firebird-1.7.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d348486b0cb9a9b4e38e9da14c66207db8e2bc6abc0bfd6ea7dcb9b3e18aedfd
MD5 96bd2c4df8277f36477ea945b0bc16d4
BLAKE2b-256 7cb07ed370a22a543203d28f500b9b6dc7cb16e443987c9a1575f03d7634680a

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