Skip to content

Commit ba47d82

Browse files
committed
switch to pymonetdb
1 parent 0d329f7 commit ba47d82

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

README.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ MonetDB dialect for SQLAlchemy
77
.. image:: https://badges.gitter.im/Join Chat.svg
88
:target: https://gitter.im/gijzelaerr/sqlalchemy-monetdb?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
99

10+
This is the MonetDB dialect driver for SQLAlchemy. It used
11+
`pymonetdb <https://github.com/gijzelaerr/pymonetdb>`_.
12+
1013

1114
installation
1215
------------
@@ -54,7 +57,7 @@ Create a test schema::
5457

5558
Run the test suite::
5659

57-
$ ./test_suite.py
60+
$ ./run_tests.py
5861

5962

6063

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
python-monetdb >= 11.19.3.2
1+
pymonetdb >= 0.1
22
sqlalchemy >= 0.8,<1.0

sqlalchemy_monetdb/dialect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class MonetDialect(default.DefaultDialect):
1212
name = "monetdb"
13-
driver = "monetdb"
13+
driver = "pymonetdb"
1414

1515
preexecute_pk_sequences = True
1616
supports_pk_autoincrement = True
@@ -34,7 +34,7 @@ def __init__(self, **kwargs):
3434

3535
@classmethod
3636
def dbapi(cls):
37-
return __import__("monetdb.sql", fromlist="sql")
37+
return __import__("pymonetdb", fromlist="sql")
3838

3939
def create_connect_args(self, url):
4040
opts = url.translate_connect_args()

0 commit comments

Comments
 (0)