Skip to content

Add sqlty to Working with types - #169

Closed
jirikuncar wants to merge 1 commit into
typeddjango:masterfrom
jirikuncar:patch-2
Closed

jirikuncar wants to merge 1 commit into
typeddjango:masterfrom
jirikuncar:patch-2

Conversation

@jirikuncar

Copy link
Copy Markdown

Adds sqlty. It infers the row and parameter types of SQL string literals from CREATE TABLE statements, writes them as SQL[T, P] (a str subclass that type checkers understand). It's documented at https://sqlty.kuncar.dev/, and is released on PyPI.

Disclosure: I am the author of the tool. The idea started in November 2025, but only since November 2026 the repo has been public.

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.
@orsinium

orsinium commented Nov 7, 2026

Copy link
Copy Markdown
Collaborator

Slop 👎🏿

@orsinium orsinium closed this Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants