Skip to content
System One

colliber/duckdb-jev

A DuckDB extension that returns Jev's typed answers as native SQL types, so a query can call Jev directly.

duckdb-jev in the DuckDB shell
Image from github.com

colliber/duckdb-jev on GitHub

Stars
24
Forks
1
Language
C++
License
MIT
Last push
18 Sep 2026

Read from GitHub on . Counts change daily.

How it uses Jev

"""Integration test at the SQL seam: jev_choice makes one POST per row to the
endpoint named in the jev secret, and maps the answer onto the ENUM.

The mock replays a real response recorded from api.typesafe.ai on 2026-09-17,
so the expected values come from the actual service, not from this test.
"""

import json, os, subprocess, sys, threading, time
from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer

ROOT = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
DUCKDB = os.environ.get("DUCKDB_BIN") or os.path.join(ROOT, "build/release/duckdb")
EXT = os.environ.get("JEV_EXTENSION") or os.path.join(ROOT, "build/release/extension/jev/jev.duckdb_extension")

# Recorded 2026-09-17, model jev-1.13.0, state "I want a refund for last month..."

View in test/python/test_http.py

Open on GitHub

More like this

Keep browsing