Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/msabramo/django-netezza
Django Netezza backend using pyodbc
https://github.com/msabramo/django-netezza
Last synced: 28 days ago
JSON representation
Django Netezza backend using pyodbc
- Host: GitHub
- URL: https://github.com/msabramo/django-netezza
- Owner: msabramo
- Created: 2011-04-25T19:26:47.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2014-04-21T17:27:25.000Z (over 10 years ago)
- Last Synced: 2024-11-21T00:13:05.017Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 137 KB
- Stars: 5
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
==============
django-netezza
==============*FYI. I no longer have access to Netezza, so I'm not working on this anymore.*
------------------------------------------------------------------------------
A Django_ Netezza DB backend that uses ODBC by employing
the pyodbc_ library... _Django: http://djangoproject.com/
.. _pyodbc: http://pyodbc.sourceforge.netCurrently, this is in a very, very experimental state. For one thing, I've only
tested this with read-only operations, because that's all I need at the moment.
I have only tried very simple models and simple queries and have not tested
anything with foreign keys, full-text search, etc.Dependencies
============* Django 1.3
* pyodbc 2.1.8 or newer
* Netezza ODBC driverInstallation
============1. Install pyodbc.
2. Add the directory where you have copied the project files to your Python
path. So, for example, if you have the following directory structure::/home/user/src/django-netezza
|
+- netezza
|
+- pyodbcyou should add ``/home/user/src/django-netezza`` to you Python module search
path. One way to do this is setting the ``PYTHONPATH`` environment
variable::$ export PYTHONPATH=/home/user/src/django-netezza
3. Now you can point the ``ENGINE`` setting in the settings file used
by your Django application or project to the ``'netezza.pyodbc'``
module path::DATABASES = {
'default': {
'OPTIONS': {'dsn': 'NETEZZA'},
'ENGINE': 'netezza.pyodbc',
},
}License
=======New BSD LICENSE
Credits
=======This project is a fork of django-pyodbc_ and so most credit goes to the folks who worked on that:
* Ramiro Morales ``_
* Filip Wasilewski (http://code.djangoproject.com/ticket/5246)
* Wei guangjing ``_
* mamcx (http://code.djangoproject.com/ticket/5062)The Netezza modifications were made by `Marc Abramowitz`_ of BlueKai_ (marc at nospam bluekai dot nospam com).
.. _Marc Abramowitz: http://marc-abramowitz.com/
.. _django-pyodbc: http://code.google.com/p/django-pyodbc/
.. _BlueKai: http://bluekai.com/