Skip to content

Latest commit

 

History

History
executable file
·
36 lines (23 loc) · 852 Bytes

README.rst

File metadata and controls

executable file
·
36 lines (23 loc) · 852 Bytes

sqlalchemy-ignite

This project provides an Apache Ignite dialect for SQLAlchemy.

Installation

The package is installable through PIP:

pip install sqlalchemy-ignite

Usage

>>> from sqlalchemy.engine import create_engine
>>> connect_args = {
        'servers': '127.0.0.1:10800',
        'timeout': 20.0,
... and more connection specific parameters (see Connection object).

}

>>> engine = engine("ignite://", connect_args = connect_args)

For more advanced access to Apache Ignite, including SSL, please refer to the (documented) parameters of the Connection object.

Testing

The dialect can be registered on runtime if you don't want to install it as:

>>>  from sqlalchemy.dialects import registry
>>>  registry.register("igniteworks", "igniteworks.sqlalchemy.dialect", "dialect")