A SQLAlchemy dialect for MonetDB
Python Shell
Clone or download
Pull request Compare This branch is 88 commits ahead, 2 commits behind fkarb:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
sqlalchemy_monetdb
test
.gitignore switch to new style testing Sep 12, 2017
.travis.yml use py.test runner Sep 12, 2017
CHANGES
LICENSE Add license, copyright to Matt Harrison who wrote the original MonetD… Sep 6, 2013
MANIFEST.in
README.rst
setup.cfg
setup.py
tox.ini

README.rst

MonetDB dialect for SQLAlchemy

This is the MonetDB dialect driver for SQLAlchemy. It has support for Python 2.7, 3.3+ and even PyPy. It supports SQLalchemy 1.0, 1.1 and 1.2.

Installation

To install this dialect run:

$ pip install sqlalchemy_monetdb

or from the source folder:

$ pip install .

Usage

To start using this dialect:

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

MonetDB Lite (experimental)

We now have experimental support for MonetDB Lite! Note that this is experimental, and will probably break.

First you need to manually install MonetDB Lite: https://github.com/hannesmuehleisen/MonetDBLite-Python

To connect to a MonetDBLite database use this syntax:

from sqlalchemy import create_engine
engine = create_engine('monetdb+lite:////tmp/monetdb_lite')

More info

Development

https://travis-ci.org/gijzelaerr/sqlalchemy-monetdb.png?branch=master