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.3.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.3.1
File Size Uploaded
pyrefly-1.3.1.tar.gz 6.7 MB Details

Built distributions (wheels)

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

Total release size: 172.6 MB

Release files / pyrefly-1.3.1.tar.gz

Download URL pyrefly-1.3.1.tar.gz
Size 6.7 MB
Tags Source
SHA-256 checksum
How to use checksums
b774f1dfac82867fc16fe2175d80a630e2a72a6835d5b7e492568d6bfb6b05e7
BLAKE2b-256 checksum
How to use checksums
4c7e082cc1b392318bacfbc087732524f3e089e9e7fe45b7645c4649b6f1f1e9
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 Sep 15, 2026.

Transparency log

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

Download URL pyrefly-1.3.1-py3-none-win_arm64.whl
Size 14.3 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
1ed85e2b957a78e93353125d890ce3668ce450e49b74025a15c87b6e8ec7f3d1
BLAKE2b-256 checksum
How to use checksums
922a73e3721921c2bb2c950a9f8c362ee5e2367556b5d4416eb4f8f88503e66f
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 Sep 15, 2026.

Transparency log

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

Download URL pyrefly-1.3.1-py3-none-win_amd64.whl
Size 15.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
4c24e7d99df9237916c33be23714219a7c8eaf22bad2ac0c3e1d45adcf7df8fb
BLAKE2b-256 checksum
How to use checksums
3f231859f47f536314755d80c4ec2a76d2698435ae8b73604bcd1dfa57ecb39b
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 Sep 15, 2026.

Transparency log

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

Download URL pyrefly-1.3.1-py3-none-win32.whl
Size 14.1 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
ea0d0349f1bc80fe8e00a7b3640e40db7486398b685f87b9bd5d2207063668f0
BLAKE2b-256 checksum
How to use checksums
6879d31f8f0abf5b0610ec24183286ee8a1ee5b76c9aaaa91091399d7e1aaf60
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 Sep 15, 2026.

Transparency log

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

Download URL pyrefly-1.3.1-py3-none-musllinux_1_2_x86_64.whl
Size 15.5 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
a78eed1c53f37807f0e2997be8edbe833b91eb9915f2cb553a1bdcd599e7105c
BLAKE2b-256 checksum
How to use checksums
035d2974f249fb2e285f966485719d977c5a2248cc4866403af94d935775ff15
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 Sep 15, 2026.

Transparency log

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

Download URL pyrefly-1.3.1-py3-none-musllinux_1_2_aarch64.whl
Size 14.9 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
c61e9dcf888beb81ca0e0c60ea4442640fdcf2f1f65bfe3d9f5d89b85516eb03
BLAKE2b-256 checksum
How to use checksums
463c2aa0c5ad6a2957a728bb38cfab70d1e9cafad21b0b1c1d92df74a3cf22bd
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 Sep 15, 2026.

Transparency log

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

Download URL pyrefly-1.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 15.4 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
39d5a17c1ad655e5f93a6e8e0be90b8db28c6015fe07d6ed4e054891c9e14ef8
BLAKE2b-256 checksum
How to use checksums
19d184f81b9e32288b5d11c75e006f67e0f6b78b85da575673bd1a21524c8172
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 Sep 15, 2026.

Transparency log

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

Download URL pyrefly-1.3.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Size 16.1 MB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
3506b1252e9f5d755d0693c5a46d46b85579d36534f6e22a41eb8e098d0dde90
BLAKE2b-256 checksum
How to use checksums
32673c3fa8a13e3ce8d8322ffb3627255a41a52261f17793e1a24e9214f10857
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 Sep 15, 2026.

Transparency log

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

Download URL pyrefly-1.3.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Size 16.1 MB
Tags Linux glibc 2.17+ x86-32 Python 3
SHA-256 checksum
How to use checksums
ad57f38bc73679c14a5f62995a2bd3bc43649b7270c858487e2eab78a6f95362
BLAKE2b-256 checksum
How to use checksums
192cd62a1b445aad1fd46375b83393b8a67da53883aeeba73d269ce71b3e8fd1
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 Sep 15, 2026.

Transparency log

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

Download URL pyrefly-1.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 14.9 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
45b7650bc651a5a784701f2fb4f579da9a421c4d1b5fd91f9048f4529e46093c
BLAKE2b-256 checksum
How to use checksums
75e1022352beb186f36d6213a95a975c42676ee418ff5e730629378d25564c5e
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 Sep 15, 2026.

Transparency log

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

Download URL pyrefly-1.3.1-py3-none-macosx_11_0_arm64.whl
Size 14.4 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
37a1a1fb41e7190fe3964a877875dd809d6ee2887809e2c3d6e5f25a69805bfd
BLAKE2b-256 checksum
How to use checksums
7824a31e7de8e0f310c9f0753826d0df8b6a8ff86793941a6bd88ba24b735633
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 Sep 15, 2026.

Transparency log

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

Download URL pyrefly-1.3.1-py3-none-macosx_10_12_x86_64.whl
Size 15.1 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
0a2a7dfed824fb066aa8a7c8d856c152b98e998fb84b954d5f892fb9834c0bd1
BLAKE2b-256 checksum
How to use checksums
6bbcf09b5bd7eed796349bd93627aa2c3086df7ed0a114dafc3d2b2841599ee7
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 Sep 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.3.1 This release

12 release files

1.3.0

12 release files

1.2.1

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