# SQL-tString a t-string SQL builder in Python alternatives

SQL-tString a t-string SQL builder in Python: SQL-tString is a SQL builder that utilises the recently accepted PEP-750, https://peps.python.org/pep-0750/, t-strings to build SQL queries, for example, from sql\_tstring import sql val = 2 query, values = sql(t"SELECT x FROM y WHERE x = {val}") assert query == "SELECT x FROM y WHERE x = ?" assert…

24 products that do a similar job, closest first. 21 have pricing checked on their own site; 18 of those are free or have a free tier.

Page: https://nowfound.app/alternatives/sql-tstring-a-t-string-sql-builder-in-python
About SQL-tString a t-string SQL builder in Python: https://nowfound.app/launch/sql-tstring-a-t-string-sql-builder-in-python.md

- [dataherald](https://nowfound.app/launch/we-open-sourced-our-entire-text-to-sql-product): Long story short: We (Dataherald) just open-sourced our entire codebase, including the core engine, the clients that interact with it and the backend application layer for authentication and RBAC. Yo… (2024-05-23, 464 votes, free, github.com)
- [SQLite query inside a Bash function](https://nowfound.app/launch/sqlite-query-inside-a-bash-function): This is a Bash scripting technique for automating data processing workflows. (2021-07-07, 134 votes)
- [ORM for TypeScript with no query-builder](https://nowfound.app/launch/orm-for-typescript-with-no-query-builder-supporting-full-sql): An extremely simple and explicit ORM for TypeScript (2020-09-03, 220 votes, free, github.com)
- [PgTyped](https://nowfound.app/launch/pgtyped-typesafe-sql-in-typescript-and-postgres): pgTyped - Typesafe SQL in TypeScript. (2020-05-25, 269 votes, free, github.com)
- [Csql](https://nowfound.app/launch/csql-python-lib-for-composeable-sql-queries): Csql is a Python library that helps developers build SQL queries through composition. (2020-10-23, 89 votes, free, github.com)
- [Sqlit](https://nowfound.app/launch/sqlit-a-lazygit-style-tui-for-sql-databases): Sqlit is a terminal user interface for browsing and querying SQL databases, designed for developers who work primarily in the command line. (2025-12-15, 190 votes, free, github.com)
- [Kysely](https://nowfound.app/launch/kysely-a-type-safe-sql-query-builder-for-typescript): The most powerful type-safe SQL query builder for TypeScript (2023-06-21, 90 votes, free, kysely.dev)
- [SQLify](https://nowfound.app/launch/sqlify): SQLify is a PostgreSQL-compatible SQL interface that lets users query APIs and data sources in real-time without ETL pipelines or synchronization. (2024-10-23, 121 votes, from $42.12/mo, sqlify.me)
- [SPyQL](https://nowfound.app/launch/spyql-sql-with-python-in-the-middle): SPyQL (https://github.com/dcmoura/spyql) is SQL with Python in the middle, an open-source project fully written in Python for making command-line data processing more intuitive, readable and powerful… (2022-01-25, 105 votes, free, github.com)
- [JinjaSQL](https://nowfound.app/launch/jinjasql-generate-sql-queries-using-a-jinja-template): Template Language for SQL with Automatic Bind Parameter Extraction (2016-11-04, 77 votes, free, github.com)
- [AskYourDatabase Desktop](https://nowfound.app/launch/askyourdatabase-desktop): AskYourDatabase Desktop is an AI-powered database client that lets users query SQL and NoSQL databases through natural conversation rather than writing code. (2023-11-30, 138 votes, from $49/mo, askyourdatabase.com)
- [sqlc](https://nowfound.app/launch/sqlc-compile-sql-queries-to-type-safe-go): sqlc is a developer tool that generates type-safe Go code from SQL queries. (2019-12-11, 45 votes, conroy.org)
- [Pg-typesafe](https://nowfound.app/launch/pg-typesafe-strongly-typed-queries-for-postgresql-and-typesc): Pg-typesafe is a TypeScript library that provides automatic type safety for raw PostgreSQL queries without requiring manual type definitions. (2026-02-17, 69 votes, free, github.com)
- [Sqlkit](https://nowfound.app/launch/sqlkit-golang-sql-package-with-nested-transactions): SQL builder and powerful database toolkit for Golang (2019-07-13, 65 votes, free, github.com)
- [sqlTranslate](https://nowfound.app/launch/sqltranslate-st385110): sql, data, analytics, database, query, syntax, translation (2023-03-21, 94 votes, free tier, from $14.99/mo, askai.free)
- [Bun-sqlgen](https://nowfound.app/launch/bun-sqlgen-type-safe-raw-sql-for-bun-no-orm): Types generator for your Bun.sql queries. (2026-06-23, 55 votes, free, github.com)
- [Text2SQL.AI](https://nowfound.app/launch/text2sql-ai): Generate SQL with AI (2023-01-29, 87 votes, free, text2sql.ai)
- [SQLPage](https://nowfound.app/launch/sqlpage-build-dynamic-websites-with-just-sql-queries): SQLPage is an open source tool that lets developers build small web applications using only SQL queries. (2023-06-05, 45 votes, from $19.44/mo, sql.ophir.dev)
- [bpfquery](https://nowfound.app/launch/bpfquery-experimenting-with-compiling-sql-to-bpf-trace): bpfquery is a SQL-to-bpftrace compiler that translates SQL queries into bpftrace programs for system monitoring and exploration. (2024-08-27, 58 votes, bpfquery.com)
- [PyQL](https://nowfound.app/launch/pyql): A tool to run SQL queries on Python files built using GitQL (2024-12-03, 15 votes, free, github.com)
- [ClangQL](https://nowfound.app/launch/clangql-query-c-codebases-using-sqlite): Query C++ codebases using SQLite. (2021-05-22, 73 votes, free, github.com)
- [SNKV](https://nowfound.app/launch/snkv-sqlite-s-b-tree-as-a-key-value-store-c-c-and-python-bin): SQLite has six layers: SQL parser → query planner → VDBE → B-tree → pager → OS. (https://sqlite.org/arch.html) For key-value workloads you only need the bottom three. SNKV cuts the top three layers a… (2026-02-24, 36 votes, free, github.com)
- [ts-mysql-parser](https://nowfound.app/launch/ts-mysql-parser-a-standalone-grammar-complete-mysql-parser): A standalone, grammar-complete MySQL parser. (2020-03-09, 10 votes, free, github.com)
- [SQLGlot](https://nowfound.app/launch/sqlglot-customizable-python-sql-transpiler): Python SQL Parser and Transpiler. (2021-03-19, 5 votes, free, github.com)
