nowfound

Dev tools · alternatives · 2026

24 alternatives to 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 values == [2] db.execute(query, values) # Most DB engines support this The placeholder ? protects against SQL injection, but cannot be used everywhere. For example, a column name cannot be a placeholder. If you try this SQL-tString will raise an error, col = "x" sql(t"SELECT…

SQL-tString is a Python SQL builder that uses PEP-750 t-strings to construct database queries safely. It automatically converts variable expressions into parameterized queries with placeholders to prevent SQL injection… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes.

  1. 1

    A SQL database implemented purely in TypeScript type annotations. - codemix/ts-sql

    2020 · github.com · its alternatives →

  2. 2

    Using SQL's Turing Completeness to Build Tetris. Contribute to nuno-faria/tetris-sql development by creating an account on GitHub.

    2024 · github.com · its alternatives →

  3. 3

    Lightweight text-based SQL parameter binds. Contribute to baverman/sqlbind development by creating an account on GitHub.

    2024 · github.com · its alternatives →

  4. 4

    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. You can now use the full solution to build text-to-SQL into your product. The Problem: modern LLMs write syntactically correct SQL, but they struggle with real-world relational data. This is because real world data and schema is messy, natural language can often be ambiguous and LLMs are not trained on your specific dataset. Solution: The core NL-to-SQL engine in Dataherald is an LLM based agent…

    2024 · github.com · its alternatives →

  5. 5SQ

    Part of the workflow for building my website is the generation of a table in tab-separated column format (.tsv). The source data is found in four other .tsv files. I use an SQLite query to perform a 4-way join and write out the new table. For convenience, I wrote a script that encapsulates the query inside a Bash function. The example below illustrates this technique. repertoire() { pushd $CMM_SOURCES&#x2F;_data sqlite3 <<EOS .headers on .mode tabs .import category.tsv category .import composition.tsv composition .import concert.tsv concert .import program.tsv program .once repertoire.tsv…

    2021 · its alternatives →

  6. 6

    inferring sql queries from plain-text questions about tables - paulfitz/mlsql

    2019 · github.com · its alternatives →

  7. 7
    AskEdith▲289

    Never write SQL from scratch again

    2022 · its alternatives →

  8. 8

    🪄 Inline SQL in any Python program. Contribute to ekzhang/inline-sql development by creating an account on GitHub.

    2022 · github.com · its alternatives →

  9. 9

    An extremely simple and explicit ORM for TypeScript - Seb-C/kiss-orm

    2020 · github.com · its alternatives →

  10. 10

    pgTyped - Typesafe SQL in TypeScript. Contribute to adelsz/pgtyped development by creating an account on GitHub.

    2020 · github.com · its alternatives →

  11. 11

    sql-tap is a transparent proxy that captures SQL queries by parsing the PostgreSQL&#x2F;MySQL wire protocol and displays them in a terminal UI. You can run EXPLAIN on any captured query. No application code changes needed — just change the port.

    Feb 2026 · github.com · its alternatives →

  12. 12

    Hi guys. I just write an SQL builder. I want to know what you think.

    2022 · github.com · its alternatives →

  13. 13

    Last year, I wanted to learn a bit about how easy it would be to deploy a python app via web assembly to the browser and decided to make a wrapper around the amazing sqlglot by Toby Mao and the rest of the team. The tool lets you paste in Sql queries and translate them between the available sql dialects in sqlglot. It also gives you parse diagnostics and the ability to easily share queries via storing all the state in the url. The stack that was used is typescript for the UI and pyodide to integrate with Sqlglot, which does the heavy lifting. It's more of a toy app but I've found some use…

    2025 · sqlscope.netlify.app · its alternatives →

  14. 14

    Contribute to akdor1154/python-csql development by creating an account on GitHub.

    2020 · github.com · its alternatives →

  15. 15

    I work mostly in the terminal but found myself constantly switching to bloated GUIs like SSMS only for the simple task of browsing tables and run queries. And I didn't find Existing SQL TUIs intuitive, having to read documentation to learn keybindings and CLI flags to connect. Given I had recently switched to linux, I found myself using vs code's sql database extension. Something was awfully wrong. I wanted something like lazygit for databases – run it, connect, and query and frankly just make it enjoyable to access data. Sqlit is a keyboard-driven SQL TUI with: - Context-based keybindings…

    Dec 2025 · github.com · its alternatives →

  16. 16KA

    The most powerful type-safe SQL query builder for TypeScript

    2023 · kysely.dev · its alternatives →

  17. 17

    SPyQL (https:&#x2F;&#x2F;github.com&#x2F;dcmoura&#x2F;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. Try mixing in the same pot: a SQL SELECT for providing the structure, Python expressions for defining transformations and conditions, the essence of awk as a data-processing language, and the JSON handling capabilities of jq. How does a SPyQL query looks like? $ spyql “ IMPORT pendulum AS p SELECT (p.now() - p.from_timestamp(purchase_ts)).in_days() AS days_ago, sum_agg(price…

    2022 · github.com · its alternatives →

  18. 18

    Template Language for SQL with Automatic Bind Parameter Extraction - sripathikrishnan/jinjasql

    2016 · github.com · its alternatives →

  19. 19SC
  20. 20

    Throughout my career, I tried many tools to query PostgreSQL, and in the end, concluded that for what I do, the simplest is almost always the best: raw SQL queries. Until now, I typed the results manually and relied on tests to catch problems. While this is OK in e.g., GoLang, it is quite annoying in TypeScript. First, because of the more powerful type system (it's easier to guess that updated_at is a date than it is to guess whether it's nullable or not), second, because of idiosyncrasies (INT4s are deserialised as JS numbers, but INT8s are deserialised as strings). So I wrote pg-typesafe,…

    Feb 2026 · github.com · its alternatives →

  21. 21

    Convert natural language to sql queries

    2023 · its alternatives →

  22. 22

    SQL builder and powerful database toolkit for Golang - colinjfw/sqlkit

    2019 · github.com · its alternatives →

  23. 23

    Embed NL-to-SQL into your product

    2024 · its alternatives →

  24. 24

    sql, data, analytics, database, query, syntax, translation

    2023 · askai.free · its alternatives →

Also compare

Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →