Getting Started

Connections to SingleStoreDB are made using URLs just like any other SQLAlchemy dialect.

In [1]: from sqlalchemy import create_engine
In [2]: eng = create_engine('singlestoredb://user:password@host.com:port/database')
In [3]: with eng.connect() as conn:
   ...:      res = conn.execute(...)
   ...:      print(res)
   ...: 

More examples of connection usage can be found at the SQLAlchemy site.