Developer clients

Typed clients for Python and TypeScript

The SDK source ships REST and WebSocket helpers for both languages, with the same response schema as the raw API. Registry publishing is not verified yet, so install lines are labelled.

Python

Preview package - install from git

Async client package with REST, WebSocket streaming, events, and optional MQTT helpers. Source lives under sdk/python.

Install

pip install "git+<repo-url>#subdirectory=sdk/python"

POST /v1/read

import asyncio
from pathlib import Path
from atclpr import ApiClient

async def main() -> None:
    async with ApiClient(
        base_url="https://praxisedge.ai",
        api_key="replace_with_your_key",
    ) as api:
        reply = await api.read(Path("plate.jpg").read_bytes())
        print(reply.plate, reply.decision)

asyncio.run(main())

TypeScript

Registry package coming soon

Typed client package with REST and WebSocket helpers for Node, Deno, Bun, and edge runtimes. Source lives under sdk/typescript.

Install

npm install @atclpr/client  # coming soon; use repo source until published

POST /v1/read

import { readFile } from "node:fs/promises";
import { ApiClient } from "@atclpr/client";

const api = new ApiClient({
  baseUrl: "https://praxisedge.ai",
  apiKey: process.env.PRAXISEDGE_API_KEY!,
});

const reply = await api.read(await readFile("plate.jpg"));
console.log(reply.plate, reply.decision);

Start with the API, then adopt the client

Until public package mirrors are verified, the source CTA points back to the docs instead of a public repository URL.