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, which provides lightning-fast type checking along with IDE features such as code navigation, semantic highlighting, and code completion. It is available as a command-line tool and an extension for popular IDEs and editors such as VSCode, Neovim, Zed, and more.

See the Pyrefly website for full documentation and how to add Pyrefly to your editor of choice.

Pyrefly's current development status is stable.

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.
  • Production-proven at scale. Pyrefly is the default type checker for Instagram's 20-million-line Python codebase at Meta, and has been adopted by large open source projects including PyTorch and JAX.
  • Full-featured language server. Code navigation, autocomplete, hover information, inlay hints, semantic highlighting, and more, with consistent results across the CLI and your editor of choice.
  • Understands real-world Python. Built-in support for frameworks and tools like Pydantic, Django, and pytest, with model validation, field types, fixture navigation, and autocomplete that work out of the box.
  • Adoption-ready. Migrate from Mypy or Pyright with pyrefly init, silence existing errors with pyrefly suppress, and generate type annotations with pyrefly infer. Start with one file and expand at your own pace.

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.

Release files for pyrefly 1.2.1

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.2.1
File Size Uploaded
pyrefly-1.2.1.tar.gz 6.2 MB Details

Built distributions (wheels)

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

Total release size: 160.9 MB

Release files / pyrefly-1.2.1.tar.gz

Download URL pyrefly-1.2.1.tar.gz
Size 6.2 MB
Tags Source
SHA-256 checksum
How to use checksums
75202fe2d4844944affd7e0c631c165f609ca3c37e9a6eb56b5f257ebe11d7c3
BLAKE2b-256 checksum
How to use checksums
9d540712235d73a04496f796fd054363606daa97bc7655ce60293ec134ca474d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 18, 2026.

Transparency log

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

Download URL pyrefly-1.2.1-py3-none-win_arm64.whl
Size 13.4 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
677d3dc1cf2855ec9b8ce24bd30b9ae60ac2fa4abae5afff30289cea6bcf3e81
BLAKE2b-256 checksum
How to use checksums
1812b81091fcaf816c1c965ee378364ca89f2d49ccad43954fc21dd42e8a46cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 18, 2026.

Transparency log

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

Download URL pyrefly-1.2.1-py3-none-win_amd64.whl
Size 14.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
021d17cde040d83782cc3b8d88d1bf064d86776be5decb09caafea917db36001
BLAKE2b-256 checksum
How to use checksums
895a94d480812903a02e8a3ac1a93ea0064a6fc685bc6942e0b5c3ea293fdcd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 18, 2026.

Transparency log

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

Download URL pyrefly-1.2.1-py3-none-win32.whl
Size 13.2 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
18f8328f37dabfb1087df01ac54d87578ba44335f8fcc7ee40ecfcec91834ef5
BLAKE2b-256 checksum
How to use checksums
afc87c2c7c1b7c60685d6b009b8c4c6d4fa30e6e8a7a2c9191d80860262f6147
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 18, 2026.

Transparency log

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

Download URL pyrefly-1.2.1-py3-none-musllinux_1_2_x86_64.whl
Size 14.4 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
3fdcc8ad6c3c38cf9a96e9a2f5f344852fb841e12658505c88a74dd79037cb65
BLAKE2b-256 checksum
How to use checksums
d88140b93e51a98a994724e0f0ab56943a44d30b4d759c4e18a255340a7af059
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 18, 2026.

Transparency log

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

Download URL pyrefly-1.2.1-py3-none-musllinux_1_2_aarch64.whl
Size 13.9 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
5afc47bda1cb5bbcc9879f608a0d83b5206cb5229413023b5a1f59c3f65a6768
BLAKE2b-256 checksum
How to use checksums
75096d5d343b55e273a49345aef1027caf3b064268b42fe0216a4f26c1710ebe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 18, 2026.

Transparency log

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

Download URL pyrefly-1.2.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 14.4 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
e944c46cf13fefe2046cff54dcb088482ae7d9fa0d02164ab4eddb6bc7ed7790
BLAKE2b-256 checksum
How to use checksums
d0cf987696f98766237bd738ede7985441f1ae654816d8329ec21205a30cecc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 18, 2026.

Transparency log

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

Download URL pyrefly-1.2.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Size 15.0 MB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
1c54b95cb26dd351b5ad3bc56ec66b896b63cc999bd052ed99bc9e5027edaa1d
BLAKE2b-256 checksum
How to use checksums
078c6490e4ba7272892619881ebdaa14e4ff76ee568ef88873d410332e88c0fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 18, 2026.

Transparency log

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

Download URL pyrefly-1.2.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Size 15.0 MB
Tags Linux glibc 2.17+ x86-32 Python 3
SHA-256 checksum
How to use checksums
a59386161d05c85432e1920b489eea542188ff99f8986359e8a792aaf71fdd5c
BLAKE2b-256 checksum
How to use checksums
f69e119f69a14be358745f56d21d843ef6c214f22c3d3c564c3a17c9f1d938b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 18, 2026.

Transparency log

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

Download URL pyrefly-1.2.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 13.9 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
088aaf4bc88e6e17d2df4a4160e173571aa929ef8494b67084ccef88d5c97630
BLAKE2b-256 checksum
How to use checksums
ab66fb122f04e77552720a3cacb0cabb21edd514effab9cace37518e57b777e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 18, 2026.

Transparency log

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

Download URL pyrefly-1.2.1-py3-none-macosx_11_0_arm64.whl
Size 13.4 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
eb1e35917db4bad0dd7144b1242fc479b11360f5a5737fd29eb37729137c14fa
BLAKE2b-256 checksum
How to use checksums
a6f4ca1bd45e38cd97c9afc2ca053773ee190bb1171456e5d9c75bd21a52f31c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 18, 2026.

Transparency log

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

Download URL pyrefly-1.2.1-py3-none-macosx_10_12_x86_64.whl
Size 14.0 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
0ea19f0c977ee7ca9561bc8d7fbf7475032d3b4019fe4e7648af66ff2515c07a
BLAKE2b-256 checksum
How to use checksums
0cbce5d505b9fe6f7e0c1589ce0dd95ba94a2e48efc3b98c44c04b982fb62e5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 18, 2026.

Transparency log

Release history Release notifications | RSS feed

1.3.1

12 release files

1.3.0

12 release files

This release

1.2.1 This release

12 release files

1.1.1

12 release files

1.1.0

12 release files

1.0.0

10 release files

0.59.0

9 release files

0.58.0

9 release files

0.57.1

9 release files

0.57.0

9 release files

0.56.0

9 release files

0.54.0

9 release files

0.53.0

9 release files

0.50.1

9 release files

0.50.0

9 release files

0.49.0

9 release files

0.48.2

9 release files

0.48.1

9 release files

0.48.0

9 release files

0.46.3

9 release files

0.46.2

9 release files

0.46.1

9 release files

0.46.0

9 release files

0.45.2

9 release files

0.43.1

9 release files

0.43.0

9 release files

0.42.3

9 release files

0.42.2

9 release files

0.42.1

9 release files

0.42.0

9 release files

0.41.3

9 release files

0.41.2

9 release files

0.41.1

9 release files

0.41.0

9 release files

0.39.4

9 release files

0.39.3

9 release files

0.39.2

9 release files

0.39.1

9 release files

0.39.0

9 release files

0.38.2

9 release files

0.38.1

9 release files

0.38.0

9 release files

0.37.0

9 release files

0.35.0

9 release files

0.34.0

9 release files

0.33.1

9 release files

0.33.0

9 release files

0.30.0

9 release files

0.29.2

9 release files

0.29.1

9 release files

0.29.0

9 release files

0.28.1

9 release files

0.28.0

9 release files

0.26.1

9 release files

0.26.0

9 release files

0.25.1

9 release files

0.25.0

9 release files

0.24.2

9 release files

0.24.1

9 release files

0.24.0

9 release files

0.22.0

9 release files

0.21.0

9 release files

0.20.2

9 release files

0.20.1

9 release files

0.20.0

9 release files

0.19.2

9 release files

0.19.1

9 release files

0.17.1

9 release files

0.17.0

9 release files

0.16.3

9 release files

0.16.2

9 release files

0.16.1

8 release files

0.16.0

8 release files

0.15.2

8 release files

0.15.1

8 release files

0.15.0

8 release files

0.14.1

8 release files

0.13.0

8 release files

0.12.1

8 release files

0.12.0

8 release files

0.11.1

8 release files

0.11.0

8 release files

0.10.2

8 release files

0.9.0

8 release files

0.8.0

8 release files

0.7.0

8 release files

0.6.0

8 release files

0.5.0

8 release files

0.4.0

8 release files

0.3.0

8 release files

0.2.0

8 release files

0.1.0

2 release files

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