Skip to main content

sqlakit-debugserver

A page of the queries a SQLAKit application runs, filled as it runs them.

$ pip install sqlakit-debugserver
$ sqlakit-debugserver

It installs sqlakit with it.

Then send recordings to it from the application:

from sqlakit_debugserver import DebugServer

with db.recording("GET /users", send_to=DebugServer("localhost", 5555)):
    list_users()

The pytest plugin's --sqlakit-report writes the same page to a file, with the recordings in it. The documentation covers the server and the report.

Development

The server is Python, on top of sqlakit. The page is React, built with bun into one file, sqlakit_debugserver/static/index.html, which the package ships:

$ uv sync
$ uv run poe test
$ uv run poe lint
$ cd frontend && bun install && bun test && bun run dist

Run bun run dist whenever frontend/ changes, and commit the result.

Release files for sqlakit-debugserver 0.1.0

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

Source distribution (sdist)

Source distribution for sqlakit-debugserver 0.1.0
File Size Uploaded
sqlakit_debugserver-0.1.0.tar.gz 239.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sqlakit-debugserver 0.1.0
File Interpreter ABI Platform
sqlakit_debugserver-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 482.0 kB

Release files / sqlakit_debugserver-0.1.0.tar.gz

Download URL sqlakit_debugserver-0.1.0.tar.gz
Size 239.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a5e95f411147ef26c358473bc5686c9b35f7e03bc1427592343aa84fbb1be127
BLAKE2b-256 checksum
How to use checksums
7671af2c329905b488b4341f2376a1a56dba30c78380ac03ffde1c8014124c77
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}

Release files / sqlakit_debugserver-0.1.0-py3-none-any.whl

Download URL sqlakit_debugserver-0.1.0-py3-none-any.whl
Size 242.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c36914a7a7743ee940dcda8a7e7106e85b0c5867f5f04b7a34a2d460b786cf8
BLAKE2b-256 checksum
How to use checksums
5b23832b71adeb7119b687cfba047e6c9730e774804c4793a3e251c00b22a5bb
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}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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