Skip to main content

Pyrefly: A fast type checker and language server for Python with powerful IDE features

pyrefly PyPI VS Code Open VSX Discord License: MIT

Pyrefly is a type checker and language server for Python, written in Rust. It provides fast type checking along with IDE features such as code navigation, semantic highlighting, and code completion.

Who Uses Pyrefly

If your project uses Pyrefly, create an issue to add it to this list.

Key Features

  • Fast. Pyrefly checks over 1.85 million lines of code per second, type checking projects like PyTorch 15x faster than Mypy and Pyright. In the IDE, rechecks typically complete in under 10 milliseconds after saving a file.
  • Full-featured language server. Go-to-definition, autocomplete, hover, inlay hints, semantic highlighting, and more, with consistent results across the CLI and your editor.
  • Editor support. VS Code, Neovim, Zed, and more.
  • Understands real-world Python. Built-in support for Pydantic, Django, and pytest.
  • Tensor shape checking. Experimental tensor shape checking finds shape mismatches in PyTorch code.
  • Adoption-ready. Migrate from Mypy or Pyright with pyrefly init, silence existing errors with pyrefly suppress, and add annotations with pyrefly infer. Start with one file and grow at your own pace.

Pyrefly is stable. See the Pyrefly website for full documentation.

Getting Started

Version Policy

Pyrefly releases new minor versions (1.x.0) monthly and patch versions in between as-needed for critical fixes. Pyrefly does not follow strict semantic versioning: minor versions contain more significant changes than patch versions, but any version may introduce new type errors and other breaking changes. The pyrefly suppress command can be used to easily silence errors when upgrading to a new version.

Getting Involved

If you have questions or would like to report a bug, please create an issue.

See our contributing guide and architecture overview for information on how to contribute to Pyrefly.

Join our Discord to chat about Pyrefly and types. This is also where we hold biweekly office hours.

Metadata

Release files for pyrefly 1.5.2

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

Source distribution (sdist)

Source distribution for pyrefly 1.5.2
File Size Uploaded Provenance Actions
pyrefly-1.5.2.tar.gz 7.7 MB With provenance Details for pyrefly-1.5.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pyrefly 1.5.2
File Actions
pyrefly-1.5.2-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for pyrefly-1.5.2-py3-none-win_arm64.whl
pyrefly-1.5.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for pyrefly-1.5.2-py3-none-win_amd64.whl
pyrefly-1.5.2-py3-none-win32.whl Python 3 none Windows x86-32 Details for pyrefly-1.5.2-py3-none-win32.whl
pyrefly-1.5.2-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for pyrefly-1.5.2-py3-none-musllinux_1_2_x86_64.whl
pyrefly-1.5.2-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for pyrefly-1.5.2-py3-none-musllinux_1_2_aarch64.whl
pyrefly-1.5.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for pyrefly-1.5.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
pyrefly-1.5.2-py3-none-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl Python 3 none Linux glibc 2.17+ PowerPC 64-le Details for pyrefly-1.5.2-py3-none-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl
pyrefly-1.5.2-py3-none-manylinux2014_i686.manylinux_2_17_i686.whl Python 3 none Linux glibc 2.17+ x86-32 Details for pyrefly-1.5.2-py3-none-manylinux2014_i686.manylinux_2_17_i686.whl
pyrefly-1.5.2-py3-none-manylinux2014_armv7l.manylinux_2_17_armv7l.whl Python 3 none Linux glibc 2.17+ ARMv7l Details for pyrefly-1.5.2-py3-none-manylinux2014_armv7l.manylinux_2_17_armv7l.whl
pyrefly-1.5.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for pyrefly-1.5.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
pyrefly-1.5.2-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for pyrefly-1.5.2-py3-none-macosx_11_0_arm64.whl
pyrefly-1.5.2-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for pyrefly-1.5.2-py3-none-macosx_10_12_x86_64.whl

Total release size: 211.2 MB

Release files / pyrefly-1.5.2.tar.gz

Download URL pyrefly-1.5.2.tar.gz
Size 7.7 MB
Tags Source
SHA-256 checksum
How to use checksums
d05d0dc63d8f8d2cf5b956229a93ad53608d5b6f9db66ef998be59e451ca6454
BLAKE2b-256 checksum
How to use checksums
d9ef6a6788acbb398bc0b3abd85bf3abbf5b6e841a82680b2d5b747ee576b952
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.

Transparency log

Release files / pyrefly-1.5.2-py3-none-win_arm64.whl

Download URL pyrefly-1.5.2-py3-none-win_arm64.whl
Size 15.9 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
d89728af978a5323c345ebc33b181b11569bc4e567fc2ed335dab78a286ed1ac
BLAKE2b-256 checksum
How to use checksums
569cfdb003852826f9cc3949518f7d6457129ffcd188a203dcac7a1f775bb192
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.

Transparency log

Release files / pyrefly-1.5.2-py3-none-win_amd64.whl

Download URL pyrefly-1.5.2-py3-none-win_amd64.whl
Size 16.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
b13aab56335097f7ab3149cd278e0886b6969a0b5ed5eb2f1279f5c761f1df27
BLAKE2b-256 checksum
How to use checksums
14f6d6f9c029d1e967a24a8f318e18060b003319d5556a643c606c7f20822e50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.

Transparency log

Release files / pyrefly-1.5.2-py3-none-win32.whl

Download URL pyrefly-1.5.2-py3-none-win32.whl
Size 16.0 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
d628462f84f91edae35daed38a3e9313905eb70118169ba529f52234c7f84875
BLAKE2b-256 checksum
How to use checksums
5574f7fdea94ea8e27bc4a9b07c617799a1a6c1d8a53d2141d3f2e54add9ca9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.

Transparency log

Release files / pyrefly-1.5.2-py3-none-musllinux_1_2_x86_64.whl

Download URL pyrefly-1.5.2-py3-none-musllinux_1_2_x86_64.whl
Size 17.6 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
281930278df83887588fa9632e0514f734b473b4491e8f407acbfc85a57bc4ad
BLAKE2b-256 checksum
How to use checksums
9f9554f7f975023241d6afe9271ebb7980db820ec6006d45dc0e0beda52755fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.

Transparency log

Release files / pyrefly-1.5.2-py3-none-musllinux_1_2_aarch64.whl

Download URL pyrefly-1.5.2-py3-none-musllinux_1_2_aarch64.whl
Size 16.8 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
9e0b550a430a443e9f9a845c6912b5e4780aa30eab7ac5ef357bd622d007fe33
BLAKE2b-256 checksum
How to use checksums
67967ee940f0de77ba29af225b3f0fb639629d98acc353055a23b6965b77087a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.

Transparency log

Release files / pyrefly-1.5.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL pyrefly-1.5.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 17.5 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
2372aaf5acb7218df48318a6e21900dc0b9b85e14f590c9113043531aa0f4409
BLAKE2b-256 checksum
How to use checksums
bfd4638ecdf7dee234b4c3715e97a9fef94a08ef30ce6da03587d08bd0dd5a5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.

Transparency log

Release files / pyrefly-1.5.2-py3-none-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl

Download URL pyrefly-1.5.2-py3-none-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl
Size 18.2 MB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
8149ce133bd1cb3c71f528f66dcb359c610268dcb53551dc09b6e86562b7130b
BLAKE2b-256 checksum
How to use checksums
62ed63661fb49575fbc76230365158f1c8b53465054679a3a1c66393d48632ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.

Transparency log

Release files / pyrefly-1.5.2-py3-none-manylinux2014_i686.manylinux_2_17_i686.whl

Download URL pyrefly-1.5.2-py3-none-manylinux2014_i686.manylinux_2_17_i686.whl
Size 18.3 MB
Tags Linux glibc 2.17+ x86-32 Python 3
SHA-256 checksum
How to use checksums
4be0f11f59b0834e120ea80785ef8aebe9aeb172007b1e96262d156a0fa3eee8
BLAKE2b-256 checksum
How to use checksums
1a956997d4e757c0d18477325c25170eb60788e7e3f9f5b70e93d217a75218f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.

Transparency log

Release files / pyrefly-1.5.2-py3-none-manylinux2014_armv7l.manylinux_2_17_armv7l.whl

Download URL pyrefly-1.5.2-py3-none-manylinux2014_armv7l.manylinux_2_17_armv7l.whl
Size 17.2 MB
Tags Linux glibc 2.17+ ARMv7l Python 3
SHA-256 checksum
How to use checksums
79628d8547af5f1d3fc4791b8ad3091a561dea4c291ccdbc2684b39e370d7686
BLAKE2b-256 checksum
How to use checksums
f92213f5a15f6d61b4cfe2fb494d07bf17dd3d6e823e7aa7424386d830c809e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.

Transparency log

Release files / pyrefly-1.5.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL pyrefly-1.5.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 16.5 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
523874d1ca54e91c8a66ed2450b17525d995eee9a7bb1c5e786f348150a0af61
BLAKE2b-256 checksum
How to use checksums
ba787ab4d33d7648b9f13a6c2e95aefafdcb83fefaf04a9ee8409526f61cc5b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.

Transparency log

Release files / pyrefly-1.5.2-py3-none-macosx_11_0_arm64.whl

Download URL pyrefly-1.5.2-py3-none-macosx_11_0_arm64.whl
Size 16.2 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a66c2953ed81c25d909a6159e32185cc52ff6ad76b296c2daa16493cc93bf16c
BLAKE2b-256 checksum
How to use checksums
7a3380e6ef41e7e0306cfefcc8c1160000d99ac8930d19c1788937bed84af029
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.

Transparency log

Release files / pyrefly-1.5.2-py3-none-macosx_10_12_x86_64.whl

Download URL pyrefly-1.5.2-py3-none-macosx_10_12_x86_64.whl
Size 16.7 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
151596d85f9c48ad8041fe6fc3806cb3a0a17248bc1b30ce0517edba3b8ad00d
BLAKE2b-256 checksum
How to use checksums
e1112e577d98495feb2d780c9261b5da67bc25e4cab12520a118fe1bccc79155
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.

Transparency log

Security for pyrefly 1.5.2

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.

Full provenance

All 13 files in this release have been uploaded with provenance metadata.

Select from 13 files

Attestation for pyrefly-1.5.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.

Transparency log

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

1.5.2 This release

13 release files Full 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