SDKs
Official clients wrap the HTTP API with idiomatic ergonomics, parameter binding, and connection helpers. Every SDK targets the same endpoints, so you can mix and match across services. All four are open source at github.com/trydeltex.
TypeScript / JavaScript
npm install @deltex/client
import { Deltex } from '@deltex/client' const db = new Deltex({ apiKey: process.env.DELTEX_KEY }) const { rows } = await db.query( 'SELECT * FROM users WHERE id = $1', [1])
Runs in Node, Bun, Deno, Cloudflare Workers, and Vercel Edge. Sub-paths @deltex/client/serverless (Neon-compatible) and @deltex/client/drizzle let you use Deltex as a Drizzle ORM driver over the edge.
Python
pip install deltex
from deltex import Deltex db = Deltex(api_key=os.environ["DELTEX_KEY"]) rows = db.query("SELECT * FROM users WHERE id = %s", [1])
Ships a CLI too: deltex query, deltex health, deltex tables, deltex exec.
Go
go get github.com/trydeltex/deltex-go
db := deltex.New(deltex.Config{APIKey: key}) rows, err := db.Query(ctx, "SELECT * FROM users WHERE id = $1", 1)
Supports parameterized queries, QueryOne, Strong() reads, and serializable transactions with conflict backoff.
Rust
[dependencies]
deltex = "1"let db = Deltex::new(&key); let rows = db.query("SELECT * FROM users WHERE id = $1", &[&1]).await?;
Postgres wire protocol
A bridge process speaks the PostgreSQL wire protocol, so existing tools like psql and standard Postgres drivers can connect to Deltex directly — useful for migration and BI tools.