From 6508f025905955b62d46bccf3874bc9e016eed6a Mon Sep 17 00:00:00 2001 From: Jiri Kuncar Date: Sat, 7 Nov 2026 17:24:35 +0100 Subject: [PATCH] Add sqlty to Working with types Adds sqlty. It infers the row and parameter types of SQL string literals from CREATE TABLE statements, writes them as SQL[T] (a str subclass that type checkers understand), and checks them in CI. It's documented at https://sqlty.kuncar.dev/ and is released on PyPI. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 53a0c75..4e22867 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,7 @@ Collection of awesome Python types, stubs, plugins, and tools to work with them. - [typesplainer](https://github.com/wasi-master/typesplainer) - A Python type explainer. - [typing-inspect](https://github.com/ilevkivskyi/typing_inspect) - The typing_inspect module defines experimental API for runtime inspection of types defined in the `typing` module. - [typing-json](https://pypi.org/project/typing-json/) - Lib for working with typed objects and JSON. +- [sqlty](https://github.com/jirikuncar/sqlty) - Infer row and parameter types of raw SQL strings from the database schema. ### Helper tools to add annotations to existing code