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 tyx check

For an isolated run:

uvx --from ty-extended tyx check

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

Official ty compatibility

ty-extended versions are independent of official Ty starting with 0.87.0. The 0.91.0 public-release qualification records one unchanged published 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. Both tyx and the ty-extended compatibility command pass installed plugin, editor and minimum Python 3.8 checks.

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 accepted implementation's 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 crates/ty_extended/. 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.92.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.92.0
File Size Uploaded Provenance Actions
ty_extended-0.92.0.tar.gz 690.1 kB Without provenance Details for ty_extended-0.92.0.tar.gz

Built distributions (wheels)

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

Total release size: 76.5 MB

Release files / ty_extended-0.92.0.tar.gz

Download URL ty_extended-0.92.0.tar.gz
Size 690.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f9f46aae3a707a7d8ee4a945ad8ed4fd0f61e96b6c0160c9254d2ebdeed9dd0f
BLAKE2b-256 checksum
How to use checksums
059a82e733da81f8fc3076d0f0f81f2a9d984ec4dded01769ebffc82c082cabf
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.92.0-py3-none-win_arm64.whl

Download URL ty_extended-0.92.0-py3-none-win_arm64.whl
Size 9.5 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
1df5c80e820abf101d4a2d09163ec24c7ea21dfd754401f6db9c4aaf1ec2aa4f
BLAKE2b-256 checksum
How to use checksums
63ca86b89f9debc33dfed347866cb8000577f5f4b8bcb1cb253ba2d237375fab
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.92.0-py3-none-win_amd64.whl

Download URL ty_extended-0.92.0-py3-none-win_amd64.whl
Size 10.2 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
1870364d91ee29e1db131c2afcb4cd3c2c975b4554ef5286ab45e876fc1c6e3b
BLAKE2b-256 checksum
How to use checksums
7b5bce391ccb9509e84bf53b4009158aa94ef6ec17809e23332ca6b245fdc0c7
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.92.0-py3-none-musllinux_1_2_x86_64.whl

Download URL ty_extended-0.92.0-py3-none-musllinux_1_2_x86_64.whl
Size 9.9 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
eb3dc4e18bc45aea9e9ee536c3b7e76198d91496143eaa8493bc24c6fdca6f95
BLAKE2b-256 checksum
How to use checksums
cedcf29d6979caecfcdd65cc42f1ea35b2161597e9ff933fb776134a8bd11d57
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.92.0-py3-none-musllinux_1_2_aarch64.whl

Download URL ty_extended-0.92.0-py3-none-musllinux_1_2_aarch64.whl
Size 9.1 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
e67f23431f1153c8c200de9df84a0d1d50340c08e1a257f2a721646d64453671
BLAKE2b-256 checksum
How to use checksums
ff06a8483cc67a2a59f37eab3e5f84fd1090aeb964541116aa0ee302e61c43fb
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.92.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL ty_extended-0.92.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 9.7 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
edae3970aa562d0d7c6df2bc096d1089e14ae65fe36bbd8c9158f5e7e821f235
BLAKE2b-256 checksum
How to use checksums
9ba9f5a64ca4b8d749fc852dddaae96f881b2a4b9eb2b17b45a1a42f0a7c73d9
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.92.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL ty_extended-0.92.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 9.1 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
c11210a177c10b88b6ee2d2f6d2266b6c37d7e87c67a936a7df1faeac2a84760
BLAKE2b-256 checksum
How to use checksums
650482b9528ea983f12fb1e4e65f67b925df0f106f7d4371abc097fef323ef5d
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.92.0-py3-none-macosx_11_0_arm64.whl

Download URL ty_extended-0.92.0-py3-none-macosx_11_0_arm64.whl
Size 8.8 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e450f5a29bf174fd69c0381154c20fbab5523b6c3e654cd16ad4cbddac21db5e
BLAKE2b-256 checksum
How to use checksums
f26b02b0d22659ed07ab902ea140502c4f003460ab141a93fe65b6bc6bfd57bf
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.92.0-py3-none-macosx_10_12_x86_64.whl

Download URL ty_extended-0.92.0-py3-none-macosx_10_12_x86_64.whl
Size 9.4 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
4d037b1abee4c01e65c2cd01bc3e2d0ddc73a4f2ca8350aa46e43046b4f74ca6
BLAKE2b-256 checksum
How to use checksums
33c54b5ac7c6fbe6f5d7cc38f16c872c609522723e0b8f9d8ea1e28d59b0ad65
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.92.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.92.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