Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

Firebird SQL backend for django

Repo Note: The master branch is an in development version of django-firebird. This may be substantially different from the latest release of django-firebird

This version of django-firebird is working with fbd [1], therefore it will work only with firebird 2.x and later. The stable version corresponds with django 2.2 and live into stable/2.2.x branch. The current master branch of this repository is being developed under django 3.0.x. For previous Django stable version check the branch list of this repository. fbd is the official stable python-firebird driver, also it has support for python 3.

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

Requirements

Installation

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 Installation

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'}
    }
}

Known bugs and issues

  • Some database migrations doesn’t work by default. Sometimes is better make intermediate migrations for solve problems.

  • Some Query Expressions doesn’t work by default. We need to make some workaround, ie: Use Cast().

  • Combined duration expressions need more research. No all combination of expressions works.

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

Release files for django-firebird 2.2a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-firebird 2.2a1
File Size Uploaded
django-firebird-2.2a1.tar.gz 31.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-firebird 2.2a1
File Interpreter ABI Platform
django_firebird-2.2a1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 66.5 kB

Release files / django-firebird-2.2a1.tar.gz

Download URL django-firebird-2.2a1.tar.gz
Size 31.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d735b228a419744effe5c954b5e5f010c75710077fdefbb38248d53b39162161
BLAKE2b-256 checksum
How to use checksums
4073f1fb8d741f3f25e0e0ab62f3aaf323c1017b934db7a35de1323c68f7983f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.6.6

Release files / django_firebird-2.2a1-py2.py3-none-any.whl

Download URL django_firebird-2.2a1-py2.py3-none-any.whl
Size 35.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ccfb5c01048c1c44ce8713fe47e35074056db4165b4faecf351109511d306a94
BLAKE2b-256 checksum
How to use checksums
8321172fc2ffcf2fe9db18e1aa221455518bd890fdf0dccfdd8614f990f4f007
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.6.6
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page