SDKs
Choose the library for the data or workflow you need. The setup guides show working examples; each repository documents its package and supported API.
Lakehouse SDKs
Install a published client before using the query examples or ingestion examples. JavaScript clients should run on the server so lakehouse credentials stay private.
Language | Installation |
|---|---|
npm install @altertable/lakehouse | |
pip install altertable-lakehouse | |
gem install altertable-lakehouse | |
go get github.com/altertable-ai/altertable-lakehouse-go | |
Gradle: implementation("ai.altertable:altertable-lakehouse-java:0.1.4") | |
Not yet published on crates.io; use HTTP for an installable integration. | |
Not yet published on Packagist; use HTTP for an installable integration. |
For Maven, add this dependency to pom.xml:
<dependency><groupId>ai.altertable</groupId><artifactId>altertable-lakehouse-java</artifactId><version>0.1.4</version></dependency>
Lakehouse environment variables
JavaScript, Python, Ruby, and Go accept ALTERTABLE_USERNAME and ALTERTABLE_PASSWORD. Java and the CLI use ALTERTABLE_LAKEHOUSE_USERNAME and ALTERTABLE_LAKEHOUSE_PASSWORD. All of these clients also accept ALTERTABLE_BASIC_AUTH_TOKEN for a base64-encoded username/password pair. Follow the chosen client's README when relying on automatic environment configuration.
The HTTP query example uses ALTERTABLE_USERNAME and ALTERTABLE_PASSWORD with cURL's --user option, which constructs the Basic Auth header.
Product Analytics SDKs
Use tracking setup for installation and verification:
Data-app SDK
Use the local development guide for the CLI scaffold, preview, checks, and publishing commands. The data-app repository documents the SDK.
Lakehouse requests use lakehouse credentials. Product Analytics requests use a Product Analytics API key.