# SQLTy > Type-safe SQL queries for Python with automatic type inference, source rewriting, and lint checks. SQLTy type-checks SQL in Python: it infers row and parameter types from the schema, rewrites queries to typed helpers, and lints them, through a Rust engine with a Python API and CLI. ## Reference - [Rules](): Every lint rule, its default severity and how to change it - [Configuration](): Every `[tool.sqlty]` setting - [CLI](): Every `sqlty` command and flag - [Type mapping](): How each SQL type maps to a Python type, per dialect ## Getting started - [Home]() - [Installation]() - [Quickstart]() - [Why SQLTy?]() - [Use cases]() ## Guide - [Breaking schema changes]() - [Drivers and ORMs]() - [Formatting queries]() - [Query helpers]() - [JSON shapes]() - [Magic codec]() - [Name diagnostics]() - [Query parameters]() - [psycopg]() - [Query variants]() - [Row types]() - [Schema inference]() - [Queries in .sql files]() - [Untyped queries]() - [Writing queries]() ## Optional - [Coding agents]() - [CI and pre-commit]() - [Neovim, Vim, Helix and Emacs]() - [Migration]() - [VS Code]() - [Python API]() - [Engine]() - [Playground]() - [Credits]()