SQLAlchemy dialect for MonetDB
Project description
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
you need to have nose and mock installed:
$ pip install nose mock
create a database test:
$ monetdb create test && monetdb release test
Create a test schema:
$ echo "create schema test_schema;" | mclient test $ echo "create schema test_schema2;" | mclient test $ echo "alter user monetdb set schema test_schema2;" | mclient test
Run the test suite:
$ ./test_suite.py
more info
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for sqlalchemy_monetdb-0.1dev.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85d61b345b79e2e0a19f52a54fbccc4b720360d0921af5ac0feed4e0b5014d40 |
|
MD5 | ddd653dfb98f58abe87a2a3cd1ede119 |
|
BLAKE2b-256 | a8052bd95f5a47b0bfed04af0fc11447dd4a48619ecb7d95a21c2e85f2a2d339 |