Get the latest tech news

Show HN: SQL-tString a t-string SQL builder in Python


SQL-tString allows for f-string like construction of sql queries - GitHub - pgjones/sql-tstring: SQL-tString allows for f-string like construction of sql queries

The query is a str and values a list[Any], both are then typically passed to a DB connection. In other locations SQL-tString will allow pre defined column or table names to be used, SQL-tString will also remove parameters if they are set to the special value of Absent(or RewritingValue.Absent).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of python

python

Photo of string sql builder

string sql builder

Related news:

News photo

A Rust API Inspired by Python, Powered by Serde

News photo

How async/await works in Python

News photo

Python 3.14 Reaches Beta With New Tail-Call Interpreter For Better Performance