You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@artembo has implemented python-compatible DB API. He will create a pull-request eventually.
He did it in order to add support for Tarantool in Django ORM (which by the way worked out well enough)
I partially implemented dpapi2.0 interface for the connector in dbapi module which is enough for running Tarantool with Django using django-tarantool database backend.
All these changes are available on the branch dbapi2 at the moment and will be merged in master soon.
How to get started working with SQL without Django in any Python application:
When dbapi module is in the master branch you'll be able to install the package with SQL by pip install tarantool
Then you can execute SQL like:
from tarantool.dbapi import Connection
c = Connection('127.0.0.1', 3301, "username", "password")
cursor = c.cursor()
cursor.execute('select * from "space_name"')
data = cursor.fetchall()
Activity
Totktonada commentedon Jul 16, 2020
AFAIK, @robinhood23rus and @artembo did some work in this direction. Maybe they will update us with current status.
knazarov commentedon Jul 17, 2020
@artembo has implemented python-compatible DB API. He will create a pull-request eventually.
He did it in order to add support for Tarantool in Django ORM (which by the way worked out well enough)
artembo commentedon Jul 17, 2020
Hi
I partially implemented dpapi2.0 interface for the connector in
dbapimodule which is enough for running Tarantool with Django using django-tarantool database backend.All these changes are available on the branch
dbapi2at the moment and will be merged in master soon.How to get started working with SQL without Django in any Python application:
When dbapi module is in the master branch you'll be able to install the package with SQL by
pip install tarantoolThen you can execute SQL like:
enescaglar commentedon Jul 17, 2020
Thank you all for your answers. It's good to hear, changes will be merged soon.
Add sql execute to connection
Add sql execute to connection
Add sql execute to connection
Add sql execute to connection
Add sql execute to connection
Add sql execute to connection
Add sql execute to Connection
fixup! Add sql execute to Connection Closes #159
Add sql execute to Connection
Add sql execute to Connection
Add sql execute to Connection
Add sql execute to Connection
Add sql execute to Connection
Add sql execute to Connection
Add sql execute to Connection
Add sql execute to Connection
Add sql execute to Connection
Add sql execute to Connection
Add sql execute to Connection