Skip to main content
Back to trending

sqlty

Type-safe raw SQL for Python: infer row types from SQL strings, rewrite them as SQL[T] and check them, without a database

  • code-generation
  • linter
  • mypy
  • postgresql
  • psycopg
  • python
  • rust
  • sql
  • static-analysis
  • type-checking
View on GitHub
Stars
56
Forks
1
+ today
+1
Created
11mo

Ranking data as of October 27, 2026 (UTC).

Star History

Today, hour by hour

56 stars
01

Overview

Type-safe raw SQL for Python: infer row types from SQL strings, rewrite them as SQL[T] and check them, without a database It ranks #1922 on GitTiger, gaining +1 star on October 27, 2026 (UTC).

The project is written in Rust and has 1 fork. It was created 11mo ago.

Installation
git clone https://github.com/jirikuncar/sqlty.git
cd sqlty
# see README for setup