Skip to main content

ty-extended

PyPI

Extend Ty type checker with plugins. ty-extended runs plugins and delegates checking to a separately installed, unchanged official ty. ty-extended is not a fork of ty.

uv add --dev ty-extended
uv run ty-extended check

For an isolated run:

uvx ty-extended check

The package depends on official ty. Its executable and Python package use the separate names ty-extended and ty_extended; ty continues to run Astral's checker. Configure your editor to start ty-extended server for plugin support.

Official ty compatibility

ty-extended versions are independent of official Ty starting with 0.87.0. The 0.90.0 qualification records one unchanged optimized executable against every Ty release from 0.0.84 through 0.0.104: 378 passing CLI, editor, notebook and SDK gates. Platform CI also passes on Linux, macOS and Windows.

Updating official Ty within a compatible group does not require a ty-extended release. The dependency range is ty>=0.0.84,<0.1; future releases within it need compatibility checks before being described as tested. See the policy and evidence. Published-package acceptance is recorded separately from source and CI qualification.

Performance

The accepted optimization baseline averages 0.776 seconds across 30 runs of 7,082 files and 2,501 models, versus 0.237 seconds for bare official Ty and 7.451 seconds for MyPy. The comparison uses the same official Ty executable, 100 type assertions, and ordinary Python and ORM error controls.

The final controlled 30-run comparison averages 0.688 seconds, versus 0.693 seconds for the preceding executable and 0.212 seconds for native Ty on identical inputs. Dedicated hosted matrices pass all five shapes on Linux and macOS. The performance report retains every observation, earlier failed timing series and a slower fallback fixture. These measurements do not establish a universal worst-case bound. Published-package acceptance is recorded separately from source and CI checks.

Plugins

Plugins are written in the Python subset supported by Monty and use the bundled ty_extended.plugin_sdk. No separate Python plugin interpreter or worker package is needed.

# ty.toml
[plugins]
enabled = true
auto-discover = true

ty-extended analyzes temporary copies and translates diagnostics, editor positions, and safe edits back to original files. The editor keeps its checker and plugin state between edits and supports unsaved buffers, notebooks and multiple workspaces.

flowchart LR
    project[Python project] --> extended[ty-extended]
    editor[CLI or editor] <--> extended
    extended <--> plugins[Python plugins]
    extended <-->|Analysis copies and public LSP| ty[Unchanged official ty]

django-ty provides Django ORM support. See installation and migration, compatibility, editor setup, plugin authoring, and runtime behavior.

Version policy

Starting with 0.87.0, ty-extended versions are independent of ty versions. A ty-extended release supports a group of official ty versions; ordinary ty updates do not require rebuilding or republishing ty-extended. The compatibility policy distinguishes tested releases from the dependency range and future upstream changes.

Versions through 0.86.x shipped a modified checker and installed the ty command. See the migration instructions before replacing that package. WASM plugins and external plugin workers belong to those historical releases; current plugins run in process.

Contributing and license

The implementation lives in companion/. See contributing, validation evidence, and the changelog. Report ty-extended or plugin issues in this repository.

MIT (LICENSE). Astral's checker is developed and released by Astral.

Metadata

Release files for ty-extended 0.90.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ty-extended 0.90.0
File Size Uploaded Provenance Actions
ty_extended-0.90.0.tar.gz 674.2 kB Without provenance Details for ty_extended-0.90.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for ty-extended 0.90.0
File Actions
ty_extended-0.90.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for ty_extended-0.90.0-py3-none-win_arm64.whl
ty_extended-0.90.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for ty_extended-0.90.0-py3-none-win_amd64.whl
ty_extended-0.90.0-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for ty_extended-0.90.0-py3-none-musllinux_1_2_x86_64.whl
ty_extended-0.90.0-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for ty_extended-0.90.0-py3-none-musllinux_1_2_aarch64.whl
ty_extended-0.90.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for ty_extended-0.90.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
ty_extended-0.90.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for ty_extended-0.90.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
ty_extended-0.90.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for ty_extended-0.90.0-py3-none-macosx_11_0_arm64.whl
ty_extended-0.90.0-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for ty_extended-0.90.0-py3-none-macosx_10_12_x86_64.whl

Total release size: 74.0 MB

Release files / ty_extended-0.90.0.tar.gz

Download URL ty_extended-0.90.0.tar.gz
Size 674.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0347f8dd2750d37f70bf45c1424c25f4ae142d0e733eba9f4853f675111b92fe
BLAKE2b-256 checksum
How to use checksums
01b8ff5eb2b9dc52b9e9d3c8c13a569578e19505a79be97232a76c6037608277
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / ty_extended-0.90.0-py3-none-win_arm64.whl

Download URL ty_extended-0.90.0-py3-none-win_arm64.whl
Size 9.2 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
c2fcd4932afbdc48898607179b058286861e2e0268c9fabfe4468392cc602439
BLAKE2b-256 checksum
How to use checksums
b2f71afdd363652523b0250963a44d65bc8488f7259ce6841bccd632e23aabe6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / ty_extended-0.90.0-py3-none-win_amd64.whl

Download URL ty_extended-0.90.0-py3-none-win_amd64.whl
Size 9.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
78af5f6de0bd52cadf6e1009d32c0911fafb4d630033d95a5b058555ce98a8b2
BLAKE2b-256 checksum
How to use checksums
f490581edce80fd4039242b7fc84aba8d71621c918664deb8d8eda3fd95cd43d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / ty_extended-0.90.0-py3-none-musllinux_1_2_x86_64.whl

Download URL ty_extended-0.90.0-py3-none-musllinux_1_2_x86_64.whl
Size 9.5 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
c00ed1caa9ecfe54b73312d13b97ff7d45517084a9846d6d14c4994ef102d7cb
BLAKE2b-256 checksum
How to use checksums
dc01e833042243d420189d538ad5029225ad253dd40d6284c14c7ea6633818f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / ty_extended-0.90.0-py3-none-musllinux_1_2_aarch64.whl

Download URL ty_extended-0.90.0-py3-none-musllinux_1_2_aarch64.whl
Size 8.8 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
a124f8076dba0ff0569f1f69296c715558053e58093a7b1e7bface5268cf63f0
BLAKE2b-256 checksum
How to use checksums
dd634100e3c40b1c9b985887fc5e99fc86ba3c8ab707e6ce7ec6cfda723a9841
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / ty_extended-0.90.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL ty_extended-0.90.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 9.4 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
f7b86a5ebc42f618fd373acef671a541befcf4ba6aa0c21c1dc64231d8bda6f2
BLAKE2b-256 checksum
How to use checksums
cd9cc9b0ac4a06d1bd75b3dd9395ca7facb6bbf7ba1c3553a376e953c9c1aede
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / ty_extended-0.90.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL ty_extended-0.90.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 8.8 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
580f1d7fca4f5dfc796d5a6794353706b58415802061cc256c60fb22bb30ce66
BLAKE2b-256 checksum
How to use checksums
419659afae296bd05d7ea610f90349dd44683e8ada7e632888fdfb06ff7cabab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / ty_extended-0.90.0-py3-none-macosx_11_0_arm64.whl

Download URL ty_extended-0.90.0-py3-none-macosx_11_0_arm64.whl
Size 8.6 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e529cf32076ec7830f26dfca1afc301e55a56043b66bb595d8e526b18826181e
BLAKE2b-256 checksum
How to use checksums
507d49165b63d7de695cb9933b1cf7a105f6bc73e483721a9d5297768cec01a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / ty_extended-0.90.0-py3-none-macosx_10_12_x86_64.whl

Download URL ty_extended-0.90.0-py3-none-macosx_10_12_x86_64.whl
Size 9.1 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
01e3bfd8820692d7c4e568540960d50e864c70e2d5a3d248844719efec5ff5bc
BLAKE2b-256 checksum
How to use checksums
9613a4446a6a2195d05d372b179aa0707d609100000c697b70656ef92f7523c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for ty-extended 0.90.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.90.0 This release

9 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page