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.

Metadata

Release files for pyrefly 1.4.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 pyrefly 1.4.0
File Size Uploaded
pyrefly-1.4.0.tar.gz 7.0 MB Details

Built distributions (wheels)

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

Total release size: 179.9 MB

Release files / pyrefly-1.4.0.tar.gz

Download URL pyrefly-1.4.0.tar.gz
Size 7.0 MB
Tags Source
SHA-256 checksum
How to use checksums
bb57c004a4842cfe93f93aebb5203ca6209a5f0c8bda47e8bc289e70940fd910
BLAKE2b-256 checksum
How to use checksums
b33eea6893be167fa14307d7f9a924bed9ecbbbd91b01953890b9b3c58ed5359
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 Oct 15, 2026.

Transparency log

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

Download URL pyrefly-1.4.0-py3-none-win_arm64.whl
Size 14.9 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
88879f0cb749e5fea81d9ff4c2d5431a70349c458bcdf0b61de72c79214d90a5
BLAKE2b-256 checksum
How to use checksums
926292947076681550904c72a9dd03b24e92694ede9a48548f5e487c849e66ea
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 Oct 15, 2026.

Transparency log

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

Download URL pyrefly-1.4.0-py3-none-win_amd64.whl
Size 15.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
7aff37c2b711c8240ed650da0c6148237b327bf7e5dfacee65884f1adea22305
BLAKE2b-256 checksum
How to use checksums
030218f075d4de0e255f184f42fc28c1f0ecc9f49dd528678479fc90cf12246c
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 Oct 15, 2026.

Transparency log

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

Download URL pyrefly-1.4.0-py3-none-win32.whl
Size 14.9 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
839db536d0ac29f1b23e2d974fb911075c2283e3e623755c45d826aafac175bc
BLAKE2b-256 checksum
How to use checksums
6e161b9549168b38a575d9c168e17b4b4ee30028d602ec0f7b07c198ef265dbe
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 Oct 15, 2026.

Transparency log

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

Download URL pyrefly-1.4.0-py3-none-musllinux_1_2_x86_64.whl
Size 16.1 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
afb9ce2e0ae3e6106fb45f6d47536ac92b6423e601e08401cdefa850066444f5
BLAKE2b-256 checksum
How to use checksums
61beec7b2f38a898ce5b2219dda730e87d31fc8cfb2108a3d5844f9d590f1281
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 Oct 15, 2026.

Transparency log

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

Download URL pyrefly-1.4.0-py3-none-musllinux_1_2_aarch64.whl
Size 15.5 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
838de4d4a8b9b8ed39bedd0b8b55629c69661d73a6fa3a3a4adff24b9dbeb399
BLAKE2b-256 checksum
How to use checksums
a6077ca6ff0c53e3a90ecdab05790d33f430fca5c48687613a0b182744166d98
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 Oct 15, 2026.

Transparency log

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

Download URL pyrefly-1.4.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 16.1 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
b6951f51687304caebfedf13dd1a943aeafdbc95abcc4e24a683b97467a77007
BLAKE2b-256 checksum
How to use checksums
2c65b44a1cb23667bcbcdc88558cbef79fa9e07a1152c2a1da148036b1a2e0d1
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 Oct 15, 2026.

Transparency log

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

Download URL pyrefly-1.4.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Size 16.8 MB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
f5f3c9dddb6f3128beb49cf4e0f5cb88d4d17f039008d8e0c2be653966acd234
BLAKE2b-256 checksum
How to use checksums
a8732d7312262cf6481d6ad46eed55b8f2592c3cff60f95cc2f30a114cd1484e
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 Oct 15, 2026.

Transparency log

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

Download URL pyrefly-1.4.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Size 16.9 MB
Tags Linux glibc 2.17+ x86-32 Python 3
SHA-256 checksum
How to use checksums
688ad4cb4d6e711d67026fdcfb37b599f86061efe11ba5704287330e7041a69e
BLAKE2b-256 checksum
How to use checksums
31126fa414aa87e398d6ddc7145a5d993b0975fc3511198dbb72c47873653ab6
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 Oct 15, 2026.

Transparency log

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

Download URL pyrefly-1.4.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 15.4 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
8f1b16923a6583a6764e8aec07787e2ef4df644c7030294cba71339783a9451c
BLAKE2b-256 checksum
How to use checksums
2397dfcfec6a9d8948ab4b2746f7e87558a82bffabb7a54c22e7d3ce4bdc1932
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 Oct 15, 2026.

Transparency log

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

Download URL pyrefly-1.4.0-py3-none-macosx_11_0_arm64.whl
Size 15.0 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5a6370d686b6cbbac8869832f09a52012888371956fbc68d446a349bc85ccd43
BLAKE2b-256 checksum
How to use checksums
a678a7b96442123fa6ed733de0d1ea933e35d6fc6b7c9cf16e05279abb493493
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 Oct 15, 2026.

Transparency log

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

Download URL pyrefly-1.4.0-py3-none-macosx_10_12_x86_64.whl
Size 15.7 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
460cec39bc8743915e9c2c8c10ba926ad0b29b099d89c1859fb97e0059f42fa7
BLAKE2b-256 checksum
How to use checksums
6a17dfce6611acc00cb26667e5e1011438cc510f3067f961e0f07f7a0c68f416
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 Oct 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.4.0 This release

12 release files

1.3.2

12 release files

1.3.1

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