Gawain
Gawain is a type annotation checker for Python.
Gawain launched on 15 November 2026. It ranked #18 on Daily Launch on 16 November 2026 with a Launch Score of 61, from 67 points on Show HN. It was new in the ranking that day.
What is Gawain?
gawain is a type annotation checker for Python. It requires annotations on variables, parameters, returns and class attributes, then runs a type checker, ty or pyrefly, to check that the types are correct. Type checkers such as mypy, Pyright, ty and pyrefly infer the type of a variable that has no annotation. ruff's ANN rules and flake8-annotations ask for annotations on functions only. gawain also asks for them on variables and class attributes.
From its README on GitHub
Gawain is a launch on Show HN. It is written in Rust and released under the MIT license.
How to get Gawain
uv tool install "gawain[ty]"
pip install "gawain[ty]"From its README on GitHub
In its own words
Require type hints on all Python variables
From its Show HN post
Launch timeline
Launch Score, last 7 days
Ranked on one day so far: 61 of 100 on 16 November.
#46 of 226 in the roundup for the week of 16-22 November 2026.