Skip to main content

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

Project description

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 is currently in beta.

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 like Pydantic and Django, with model validation, field types, 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 (0.x.0) weekly, with patch fixes (0.x.y) in between as needed. Pyrefly does not follow strict semantic versioning: 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.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyrefly-0.64.1.tar.gz (5.7 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyrefly-0.64.1-py3-none-win_arm64.whl (12.5 MB view details)

Uploaded Python 3Windows ARM64

pyrefly-0.64.1-py3-none-win_amd64.whl (13.1 MB view details)

Uploaded Python 3Windows x86-64

pyrefly-0.64.1-py3-none-win32.whl (12.2 MB view details)

Uploaded Python 3Windows x86

pyrefly-0.64.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

pyrefly-0.64.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (13.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

pyrefly-0.64.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (13.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

pyrefly-0.64.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (13.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

pyrefly-0.64.1-py3-none-macosx_11_0_arm64.whl (12.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

pyrefly-0.64.1-py3-none-macosx_10_12_x86_64.whl (13.1 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file pyrefly-0.64.1.tar.gz.

File metadata

  • Download URL: pyrefly-0.64.1.tar.gz
  • Upload date:
  • Size: 5.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyrefly-0.64.1.tar.gz
Algorithm Hash digest
SHA256 6303095afeedf4a93c7cf5e273ad0ada3d76f3a66b8769e06a6b96f0b2b22a39
MD5 230782ec80356d5a84216cf2eb63702c
BLAKE2b-256 a7137f824fa240a7c6b5595defc749d7e0e41c1c7fa2a889f55d5bd7d5cca28c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrefly-0.64.1.tar.gz:

Publisher: publish_to_pypi.yml on facebook/pyrefly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyrefly-0.64.1-py3-none-win_arm64.whl.

File metadata

  • Download URL: pyrefly-0.64.1-py3-none-win_arm64.whl
  • Upload date:
  • Size: 12.5 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyrefly-0.64.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 8f83a74c1463842d486d6578a000feccf47cd54d6d7d6628ffe73b1055ca9dce
MD5 8e57649a9c59ee77df97633a2161cd60
BLAKE2b-256 c27c449407653fe95e3f3a65dd8a54d8729ac0451247489d79d4e07808d73917

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrefly-0.64.1-py3-none-win_arm64.whl:

Publisher: publish_to_pypi.yml on facebook/pyrefly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyrefly-0.64.1-py3-none-win_amd64.whl.

File metadata

  • Download URL: pyrefly-0.64.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 13.1 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyrefly-0.64.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 1fda307ecf414274445108a5df5b58c6fa1702a51b4ee6c1df87efeeb97dec59
MD5 c1aab5c9f9709ab255ea1cff124d3968
BLAKE2b-256 8c0c29dfe1cbcf3b1907558e67a3e4b304af3992933f05e22a596333489d5950

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrefly-0.64.1-py3-none-win_amd64.whl:

Publisher: publish_to_pypi.yml on facebook/pyrefly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyrefly-0.64.1-py3-none-win32.whl.

File metadata

  • Download URL: pyrefly-0.64.1-py3-none-win32.whl
  • Upload date:
  • Size: 12.2 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyrefly-0.64.1-py3-none-win32.whl
Algorithm Hash digest
SHA256 3d16c90365af2f424c6e6a5c87d85ca94e8618ebcb4bf4c910634fd65d32b2e6
MD5 45e4f6380f22747b7ffde19d0784a27c
BLAKE2b-256 b4edaa1dc8b913d416a3c8bffc5485b1efe23c6039ead0dc5a9ad5505bf161ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrefly-0.64.1-py3-none-win32.whl:

Publisher: publish_to_pypi.yml on facebook/pyrefly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyrefly-0.64.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyrefly-0.64.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 92ac7078f174a79d489a0d0c43d858523f8e5b95f4981269f2f75c4aaa66be3d
MD5 08624ab406237f681f2270f2f9ec0945
BLAKE2b-256 48c33aed3ff905f82833de7c48d8f9788e8ce9fed57c95bf876eef3cd02c4d29

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrefly-0.64.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish_to_pypi.yml on facebook/pyrefly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyrefly-0.64.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for pyrefly-0.64.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 970a888b37eea53136a364b43e1466179ff8bb383e894c0afec3a3055e15cd9e
MD5 3d165a8687407e3b7e0606b26b835c42
BLAKE2b-256 c2eee551c0ce512f01ddc09ed4258856ed4513bf49f3749c8c814a5b94ae59a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrefly-0.64.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl:

Publisher: publish_to_pypi.yml on facebook/pyrefly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyrefly-0.64.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for pyrefly-0.64.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 52fad756a47c9fc1d912f8564f2afdb816c4d057dfd8f90f07adce52314a5b56
MD5 125679d8d276a2a4a9d260d0bcd4c674
BLAKE2b-256 20be3f774b450415fffe6ef13d0fcf4e22c733bad7c3d826a54693e17c9ab302

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrefly-0.64.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl:

Publisher: publish_to_pypi.yml on facebook/pyrefly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyrefly-0.64.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pyrefly-0.64.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 da4d384a6466c59ba6bfa46b20f9a9f6b73922aeee43d96c9f89480d5edd3ad9
MD5 b97474267eb451e2d694ffde9c00fe97
BLAKE2b-256 9a9e0b11aa0d0310f274f41394884d57775d5ac7d36cdb57ba8f030b7dcfae50

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrefly-0.64.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish_to_pypi.yml on facebook/pyrefly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyrefly-0.64.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyrefly-0.64.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e0388c486816043c745744c7cc7f1215005c3c2d9506c5ee89ebaee013cd62f3
MD5 7ce4e0c277cc7e4de45db2a45363ac46
BLAKE2b-256 5ec8625ad5ef423d425498eef4f350fe0a788d3d5403960dac6ff660b5a8edad

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrefly-0.64.1-py3-none-macosx_11_0_arm64.whl:

Publisher: publish_to_pypi.yml on facebook/pyrefly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyrefly-0.64.1-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pyrefly-0.64.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 df5c1a8edc83483b8fcc662a188ac09a129e1d051c676794ca9ac1005373ae0a
MD5 d5d3d558097ee1c10a0bfc0968aad520
BLAKE2b-256 a41a2a26e0b87942830bb3cdf21e89a6772efadd07ebf1d4f25a05ffc00ab71a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrefly-0.64.1-py3-none-macosx_10_12_x86_64.whl:

Publisher: publish_to_pypi.yml on facebook/pyrefly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page