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'.

Release files for spiraldb 0.16.31

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

Built distributions (wheels)

Table of built distributions (wheels) for spiraldb 0.16.31
File Interpreter ABI Platform
spiraldb-0.16.31-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details
spiraldb-0.16.31-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details
spiraldb-0.16.31-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details

Total release size: 234.3 MB

Release files / spiraldb-0.16.31-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL spiraldb-0.16.31-cp311-abi3-manylinux_2_28_x86_64.whl
Size 79.6 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
25cd9602fafa9250669bea4bf4163e58fb6fc634217fb85d0cec7357d8d92d30
BLAKE2b-256 checksum
How to use checksums
fc3aef67642ddc7fa088f6731bdd93af28fdbef9ea8c6ca840d2fd22a5b57d0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","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}

Release files / spiraldb-0.16.31-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL spiraldb-0.16.31-cp311-abi3-manylinux_2_28_aarch64.whl
Size 83.5 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
b9080163b1f1cf539b5c6643a22198365017c85f96239caab7e514afaca2b105
BLAKE2b-256 checksum
How to use checksums
3ca28371be37b9e35f8534b82e1d780b62e0b9566c7375252bb328f6ab26f13d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","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}

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

Download URL spiraldb-0.16.31-cp311-abi3-macosx_11_0_arm64.whl
Size 71.2 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a4ff44215ebbcc4f3a2566a46d86136ef6e5fe0eeff99e1d6ba3e1840a0b8ed0
BLAKE2b-256 checksum
How to use checksums
7bc38c100bdfce6627a70e02e7ad52bd8c84e3faca844ea46bd4462121637f82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","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