Back to directory
jorenham avatar
jorenham / typestats

typestats

Type annotation coverage statistics for Python packages

11

Stars

4

Forks

1

Watchers

BSD-3-Clause

License

typestats

Type annotation coverage statistics for Python packages

GitHub License PyPI Version Python Versions

Dashboard · Guides · Reference · Contributing

typestats computes type-coverage metrics so maintainers and contributors can prioritize effort where it matters most.

Visit the dashboard at jorenham.github.io/typestats.


Quick start

[!WARNING] The typestats CLI is deprecated; use pyrefly coverage check/report instead.

Check a package's public type-annotation coverage by pointing pyrefly coverage check at its source, or omit the path to check the current project (pyrefly finds the nearest config):

$ pyrefly coverage check --public-only src/yourpackage
 INFO type coverage 100.00% (13589 of 13589 typable)

Contributing

See CONTRIBUTING.md for development setup and workflow.

Releases

Apr 13, 2026

Download .zip

What's Changed Typestats

Fix stubs-only package version matching by @jorenham in #371 don't treat setter assignment in init as instance attribute by @jorenham in #372 fix module fqn in reports by...

What's Changed

bump zensical to 0.0.30 by @jorenham in #346 bump uv_build to >=0.11,<0.12 by @jorenham in #348 dashboard table filters by @jorenham in #349 dashboard table UI tweaks by @jorenham in #...

Mar 26, 2026

Download .zip

What's Changed

versioned json report schema by @jorenham in #318 fix slow tests by @jorenham in #319 fix collect workflow command by @jorenham in #320 js formatting dprint plugin (biome) by @jorenham...

Mar 23, 2026

Download .zip

What's Changed

prepare for further development by @jorenham in #310 detect projects in external venv by @jorenham in #313 typestats version by @jorenham in #314 add more trove classifiers by @jorenha...

Mar 23, 2026

Download .zip

What's Changed

CI jobs for linting and typechecking by @jorenham in #1 ignore T201 ruff error by @jorenham in #3 .gitattributes for better handling of lockfiles by @jorenham in #2 dependabot config f...