Skip to main content
Provides a low-level client and a DBAPI 2.0 implementation and a SQLAlchemy adapter. It supports Python>=3.8 and PyPy.

Usage

The Python Database API (DBAPI)

Installation
Quick Start Use the DBAPI interface to query Peaka: You can call the connect_to_peaka method with your Peaka api_key. catalog, schema and timezone are the optional parameters.
You can query your table directly, if you enter the catalog and schema information when you connect.

SQLAlchemy

Installation
Usage To connect to Peaka using SQLAlchemy, use a connection string (URL) following this pattern:
NOTE: schema is optional Examples:
In order to pass additional connection attributes use connect_args method. Attributes can also be passed in the connection string.