Registry / database / syntaqlite

syntaqlite

JSON →
library0.5.7pypypi✓ verified 80d ago

A SQLite SQL toolkit providing parsing, formatting, validation, and an MCP server. Current version 0.5.7. Release cadence is active with frequent minor releases; breaking changes occur across minor versions (e.g., semantic renamed to analysis in 0.5.1).

pip install syntaqlite
INSTALL
IMPORT
SIG · SYNTAQLITE
S
syntaqlite
databasepythonv0.5.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Syntaqlite
from syntaqlite import Syntaqlite
from syntaqlite import Engine
Analysis
from syntaqlite import Analysis
Statement
from syntaqlite import Statement

Demonstrates parsing, formatting, validation, and analysis with a single SQL statement.

from syntaqlite import Engine, format_sql, analyze, validate engine = Engine() sql = "SELECT * FROM foo WHERE bar = 1" parsed = engine.parse(sql) print(parsed.statements) formatted = format_sql(sql) print(formatted) issues = validate(sql) print(issues) analysis = analyze(sql) print(analysis)
Debug
Known issues
breakingIn v0.5.1, the 'semantic' module was renamed to 'analysis'. Code using 'from syntaqlite.semantic import ...' will break.
fix
Replace 'semantic' with 'analysis' in imports, or use top-level functions 'analyze' directly.
affects: <0.5.1
gotchaThe 'validate' subcommand was removed from the CLI in v0.5.1, causing release pipeline failures. The Python validate() function still exists.
fix
Use Python API validate() or CLI 'syntaqlite check' for validation.
affects: 0.5.0+
gotchaLinux CLI binaries built before v0.5.7 may require glibc >= 2.39, causing 'GLIBC_2.39 not found' on older systems (e.g., RHEL 8, Ubuntu 20.04).
fix
Download v0.5.7+ binaries, or build from source if on older glibc.
affects: <0.5.7
Upgrade
Version history
0.5.7latest on PyPI · released May 5, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
21
Meta
2
OpenAI (training)
1
Resources
syntaqlite — pip install syntaqlite · libregistry