# Astral releases first stable version of Python code-checking tool ty

Astral now recommends ty to everyone checking software used in real operations. During beta testing, it recommended such use only to people willing to try an early version.

Published 2 December 2026 · Verified as of 2 December 2026 · AveNews · Software

https://www.avenews.am/en/posts/astral-ty-python-type-checker-1-0 · [Հայերեն](https://www.avenews.am/hy/posts/astral-ty-python-type-checker-1-0)

> **Summary:** Astral released ty 1.0 to catch mistakes such as treating text as a number before Python code runs. Astral recommends it for checking software in real use, giving development teams another way to check their projects.

Astral released ty 1.0 on 1 December 2026, marking the first stable version of its Python type checker. A type checker flags incompatible uses of data before code runs, such as trying to add a number to a string, a piece of text.[^1][^4]

During beta testing, Astral recommended using ty to check software in real operations only to people willing to try an early version. It now recommends that use to everyone. Astral also makes uv, which installs and manages Python software packages, and Ruff, which flags code problems and formats code.[^3][^2]

Astral says ty is the default and most widely used type checker at OpenAI and covers many millions of lines of critical Python code. In OpenAI’s internal switch to ty, the median speedup—the middle value when the measured speedups are ordered—was 24-fold, and peak memory use fell by 73%.[^2]

## What developers get

ty’s language server, the part that connects it to a code editor, can suggest completions as developers type, jump to where a name is defined, and rename named code elements such as variables and functions. The release adds built-in support for several Python libraries, including Django, a framework for building applications.[^3][^2]

Astral says ty 1.0 can work out data types more precisely even when programmers have not written them down. For example, if code starts with a whole number, ty can flag a later attempt to put text in the same place.[^2]

A Django model describes the data an application works with. ty can infer the types of its fields and of some properties Django adds automatically, such as a record identifier. That support requires django-types, a package containing type information; Astral’s documentation says not to use it alongside the alternative django-stubs package because their files can conflict. When creating an individual record, ty does not yet check the names or values supplied, or field names in requests to look up records.[^5]

## Trying ty

Developers can run `uv tool install ty@latest` or install the ty extension in the VS Code editor. Astral says ty and its editor extensions use the MIT license, which allows people to use, modify and share the software.[^2][^3]

Teams moving from the mypy or Pyright checkers should review their settings and comments that suppress errors: ty handles them differently. Astral’s migration guide also says ty has no equivalent to mypy plugins, add-ons that extend what mypy can check, and that some checks available in the other tools are not yet implemented.[^6]

Astral’s immediate priority is helping users adopt ty. It says it will explore using the tool to remove code that cannot run and to find installed libraries or other software components the project does not use. These are ideas under exploration, not released features.[^2]

## References

- [Astral](https://www.avenews.am/en/references/astral-q137907742): The Python developer-tools company that released ty 1.0 and recommends it for production use.
- [ty](https://www.avenews.am/en/references/ty-q134395617): Astral’s Python type checker and editor tool, released in its first stable version.
- [OpenAI](https://www.avenews.am/en/references/openai-q21708200): The company where Astral says ty is the default and most widely deployed type checker.
- [Django](https://www.avenews.am/en/references/django-q842014): A Python framework for which ty offers built-in support when the django-types package is installed.

## Sources

[^1]: [Release 1.0.0 · astral-sh/ty · GitHub](https://github.com/astral-sh/ty/releases/tag/1.0.0), github.com
[^2]: [ty 1.0: an extremely fast Python type checker and language server](https://astral.sh/blog/ty-1.0), astral.sh
[^3]: [ty: An extremely fast Python type checker and language server](https://astral.sh/blog/ty), astral.sh
[^4]: [Type system](https://grokipedia.com/page/Type_system), grokipedia.com
[^5]: [Django \| ty](https://docs.astral.sh/ty/features/third-party/django), docs.astral.sh
[^6]: [Coming from mypy, pyright \| ty](https://docs.astral.sh/ty/coming-from-mypy-or-pyright), docs.astral.sh
