Multi-Language
Universal Gateway & Multi-Language SDK

Universal Client & API — OQENS SDK

Universal SDK and REST gateway for connecting any language, runtime, or framework to OQENS DBaaS.

OQENS is globally accessible from any programming language, runtime, framework, or edge environment. Whether you are building in Python, Node.js, TypeScript, Go, Rust, PHP, Ruby, Swift, Flutter, or raw shell scripts via cURL, OQENS provides standard HTTPS and direct PostgreSQL wire connectivity.

Quick Install / Import
$ npm install @oqens/db | pip install oqens-db | curl

Universal Multi-Language Support

Connect directly using your preferred language or client library:

TypeScript & JavaScript

Official @oqens/db package with full type definitions and fluent query builder.

Python

Native integration via httpx, requests, or direct psycopg2 connection.

cURL / Shell

Execute queries, inspect schemas, and manage auth from any CI/CD pipeline or bash script.

Go & Rust

High-throughput HTTP JSON clients with zero external dependencies using standard libraries.

Edge & Serverless

Compatible with Cloudflare Workers, Vercel Edge, AWS Lambda, Deno, and Bun.

PostgreSQL Wire

Connect standard ORMs like Prisma, Drizzle, SQLAlchemy, and GORM directly.

Database Architecture & Isolation

Every OQENS project provisions an isolated PostgreSQL database (db_<project_slug>_<tenant_id>) with dedicated user credentials (usr_<project_slug>_<tenant_id>). Requests are authenticated via project-scoped live API keys (oq_live_...).

Universal Authentication Header
Pass your project API key as Authorization: Bearer oq_live_... or X-API-Key: oq_live_... on every HTTP request.

Zero-Dependency Connection Spec

Parameter Production Value
Production Gateway URL https://db.echo.oqens.me
API Route Namespace /api/dbaas/v2/projects/:slug/...
NPM Package @oqens/db (v1.0.0)
CORS Access Open (*) for all web, mobile, and edge origins
Wire Protocol PostgreSQL 14 (Port 5432, SSL Required)

Machine-Readable Context

For AI coding agents (Antigravity, Cursor, Copilot, Claude, Gemini):

Copied