A SQLAlchemy dialect for MonetDB
Clone or download
Pull request Compare This branch is 88 commits ahead, 2 commits behind fkarb:master.
gijzelaerr Merge pull request #29 from tandreas/compile-tinyint
Add missing TINYINT to MonetTypeCompiler
Latest commit fc3c67f Mar 3, 2018
Permalink
Failed to load latest commit information.
sqlalchemy_monetdb
test
.gitignore
.travis.yml
CHANGES
LICENSE
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