A SQLAlchemy dialect for MonetDB
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
sqlalchemy_monetdb
test
.gitignore
.travis.yml
LICENSE
README.md
TODO
requirements.txt
run_tests.py
setup.cfg
setup.py

README.md

MonetDB dialect for SQLAlchemy

installation

to install this dialect run::

$ pip install -r ./requirements.txt
$ python ./setup.py install

usage

To start using this dialect::

from sqlalchemy import create_engine
engine = create_engine('monetdb:///demo:', echo=True)

If you don't want to install this library (for example during development) add this folder to your PYTHONPATH and register this dialect with SQLAlchemy::

from sqlalchemy.dialects import registry
registry.register("monetdb", "sqlalchemy_monetdb", "MDBDialect")

testing

to test run::

$ ./test_suite.py

note: you need to have nose and mock installed::

$ pip install nose mock

more info

credits

This is based on Matt Harrison's earlier MonetDB dialect for SA from here: http://www.sqlalchemy.org/trac/ticket/874#no1.