CData Python Connector for HPCC

Build 21.0.7930

Connecting

Connecting with a Dialect URL

A specific URL format is used to establish a connection using SQLAlchemy. For this connector, either of the following URL formats are acceptable when creating the engine:

Format 1


from sqlalchemy import create_engine
engine = create_engine("hpcc:///?URL=http://127.0.0.1:8510;User=test;Password=xA123456;Version=1;Cluster=hthor;")

Format 2


from sqlalchemy import create_engine
engine = create_engine("hpcc://User:Password@/?URL=http://127.0.0.1:8510;Version=1;Cluster=hthor;")

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7930