Back to browse
GitHub Repository

Lightweight SQL query runner with GUI and CLI support. Execute queries from files, handle retries, and export results to Excel/CSV. Comes with a demo SQLite database and sample queries.

2 starsPython

Kkr-Query2xlsx – SQL Runner to XLSX/CSV (GUI+CLI, SQLite Demo)

by kkrysztofczyk·Feb 18, 2026·2 points·1 comment

AI Analysis

●●SolidNiche GemSolve My Problem
The Take

Exports straight from .sql to XLSX/CSV with sensible niceties — template-aware Excel exports, CSV profiles (delimiter/encoding/quoting/date formats), retry handling for deadlocks, and a demo SQLite so you can try it immediately. It’s not trying to be a BI stack; it’s focused on the boring but painful task of re-running queries and producing predictable spreadsheets. If you want multi-step ETL, dashboards, or semantic modeling, this isn’t it — but for quick, repeatable reports it’s pragmatic and usable out of the box.

Category
Target Audience

Analysts, ops/reporting engineers, small internal teams, non-technical users who need repeatable exports

Post Description

Hi HN - I’m sharing a lightweight SQL query runner I’ve been using internally for years and finally packaged for others.

kkr-query2xlsx runs SQL (GUI or CLI) and exports results to:

* XLSX (supports templates - useful for formatting / existing sheets) * CSV (custom delimiters / encodings)

It includes a SQLite demo, so you can try it without any database setup. MIT-licensed.

Windows build: https://github.com/kkrysztofczyk/kkr-query2xlsx/releases Feedback/bugs (please avoid sensitive data): https://github.com/kkrysztofczyk/kkr-query2xlsx/issues/new/c...

Similar Projects

Data●●●Banger

SlothDB is a super fast embedded SQL database

1.3MB WASM database beats DuckDB 5x on 10M row analytics, runs in Cloudflare Workers.

WizardryBig BrainZero to One
souravroy78
221mo ago
AI/ML●●●Banger

Nexus, ask AI about sensitive spreadsheets locally

MCP server for spreadsheets when every other AI tool sends your data to the cloud.

Big BrainSolve My ProblemZero to One
scottbuilds
2010d ago