Skip to main content

Python Client for SpiralDB.

The wheel also exposes the embedded engine as an ADBC driver without bundling a second native library:

from spiraldb.adbc import dbapi

with dbapi.connect() as connection:
    with connection.cursor() as cursor:
        cursor.execute("SELECT CAST(? AS BIGINT) + 1 AS value", [41])
        assert cursor.fetchall() == [(42,)]

Prepared queries accept positional ? or contiguous $1, $2, ... placeholders and exactly one parameter row per execution.

Launch the Harlequin SQL TUI against the hosted SpiralDB catalog in an isolated environment with:

uvx --with 'spiraldb[harlequin]' harlequin -a spiraldb

No separate authentication step is required. The driver reuses cached Spiral credentials when available, or opens the system browser for device-code authentication on first access to the hosted catalog.

Pass spiral:memory: as the final argument for an offline, session-local catalog instead, or select an initial project with a URI such as 'spiraldb://?project=my-project'. Browse the legacy Tables Service catalog with 'spiraldb://?catalog=legacy'.

Metadata

Release files for spiraldb 0.16.38

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for spiraldb 0.16.38
File Interpreter ABI Platform
spiraldb-0.16.38-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details

Release files / spiraldb-0.16.38-cp311-abi3-macosx_11_0_arm64.whl

Download URL spiraldb-0.16.38-cp311-abi3-macosx_11_0_arm64.whl
Size 90.1 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4ea87aff762a6b4cd646266f92312a0b58c35b00e97a3f48f17c25010a250797
BLAKE2b-256 checksum
How to use checksums
197e286fb0cb322c060ef19b481f7d9c9c4896c7198fa97f87e0a2d40c5817ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page