SQL-tString: Secure SQL Query Construction in Python
2025-05-16
SQL-tString is a robust Python library enabling the construction of SQL queries using t-strings (similar to f-strings) while preventing SQL injection vulnerabilities. It supports parameterized queries, handles optional parameters and NULL value conditions, and flexibly adapts to various database dialects (supporting qmark and $ paramstyles). It's also backward compatible with Python 3.12 and 3.13.