Skip to content

fkarb/sqlalchemy-monetdb

Repository files navigation

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.

About

A SQLAlchemy dialect for MonetDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages