Pyrefly (@pyrefly_dev) profile picture

Just a fast type checker and language server for Python, written in Rust.

Joined August 2026
Photo by Pyrefly (@pyrefly_dev)Photo by Pyrefly (@pyrefly_dev)Photo by Pyrefly (@pyrefly_dev)Photo by Pyrefly (@pyrefly_dev)
The @pyrefly_dev team added support for the parameter documentation format used by @FastAPI, Typer and my other tools ✨ So, on hover, you get the right documentation for each parameter (e.g. telemetry, or title) 🎉 So, support for annotated-doc github.com/fastapi/annotated…
7
63
4,017
Pyrefly 1.5 is out! 🎉 ✅ 100% typing spec conformance ⚡ 40% faster checks, 9% less memory 💡 New "hint" severity for unused code 🧠 Smarter narrowing, better Pydantic & Django, Tensor Types `pip install -U pyrefly` to upgrade github.com/pyrefly-org/pyref…
2
3
127
Pyrefly retweeted
Our #PyTorchConf talk on a type system for tensor shapes is now out! youtube.com/watch?v=K5WLGsHw… Traditional type systems are useless for tensor programs because all they tell you is something is a tensor. This is like telling you, here's a bunch of blurry lego bricks but I won't tell you what their shapes are! With tensor shapes in a type system, you get to build with bricks that must fit together, and whenever they don't fit, there's an automatic error. It's also great for program understanding, because you can see the shapes of intermediate tensors show up in your IDE. There's a pretty cool live demo inside that covers PyTorch, JAX, and NumPy support (model authoring). We also talk about bringing this to CuTe DSL and Triton in the future (kernel authoring). Tons of questions towards the end! Join this revolution, our goal is to make this so common in all kinds of tensor programming that you wouldn't believe this wasn't possible until now. :)
1
5
10
878
Very interesting use of TSP and Pyrefly as a platform for types!
Latest experiment: pyscriptc A Python-to-native toolkit → Written in Python → Static by default → Type checked by @pyrefly_dev → Falls back to CPython island for non-compatible code -> Apache 2.0 Goal: compile existing Python with no code changes pyscriptc.pages.dev/
1
50
Pyrefly retweeted
Latest experiment: pyscriptc A Python-to-native toolkit → Written in Python → Static by default → Type checked by @pyrefly_dev → Falls back to CPython island for non-compatible code -> Apache 2.0 Goal: compile existing Python with no code changes pyscriptc.pages.dev/
2
1
1
1
105
Zed v1.26 got released! > This release adds optional Pyrefly Python LS, expandable debugger variable trees, and DWARF debugging for WebAssembly in JS.
1
2
1
25
856
Pyrefly Pylance 🤝 letting users pick the VS Code experience that works best for them
Big news for Python devs in VS Code: Pylance now lets you pick your type checker. 🐍 Meet the Type Server Protocol (TSP), built with Meta so Pyrefly plugs straight into Pylance. Keep Copilot + IntelliSense, swap the engine. Check it out 👇
devblogs.microsoft.com/pytho…
2
4
106
Pyrefly support for tensor shape checking is here! Using simple type annotations, Pyrefly can catch tricky bugs in your models. Validated on dozens of real-world models including nanoGPT. Works with PyTorch, JAX, NumPy and more! youtu.be/2dABb24Q-v0?is=UG3n…
1
2
3
170
If you've ever struggled with shape bugs in PyTorch, NumPy or JAX you can use Pyrefly shape checking to catch mismatches statically, before you ever run your code: youtube.com/watch?v=2dABb24Q… #pyrefly #python #pytorch #numpy
1
4
1,423
🐍 Come find our Meta booth at @PyConTW! 👋 Our team is here to talk about: 🔥 Pyrefly, 🧵 Free-threaded Python, 🛟 Safer Lazy Imports, and More! #pycontw #pycontw2026 #Python #OpenSource #Pyrefly #FreeThreading
2
77
The Pyrefly team wants to hear from you! If you'd like to help make Pyrefly better and have a spare 10 mins to fill out this survey we would greatly appreciate it - whether you’re just getting started trying out Pyrefly or you’ve been here since the beginning: 📝 forms.gle/1ytEGVpsqokm7npR8
36
🐍 Python 3.15 is here! One feature worth trying is explicit lazy imports. They let you defer loading a module until your code actually uses it. For applications with costly imports, that can mean a much faster startup thanks to the use of built-in Python syntax. Lazy imports arrived in PyCharm 2026.2 and will be enhanced further in 2026.3. Try them in the 2026.3 EAP now. Curious how they work? Cheuk walks you through the feature and benchmarks it in our blog post: blog.jetbrains.com/pycharm/2…
2
16
108
4,010
The best open source tool for the job doesn't have to be built in-house. When evaluating Python type checkers, Google chose @MetaOpenSource's Pyrefly and started contributing upstream. 👇 Link in first reply
1
3
1
15
2,865
Pyrefly retweeted
Tried @pyrefly_dev from @Meta on a 135k-line scientific Python codebase: 637,003 lines checked in 0.50s, vs 22.3s cold before. All 149 findings were accurate. Adopting it in CI. Thanks to the Meta team we met at @py_bay: Kyle Into, Steven Troxler, @__avik and Martin DeMello.
1
36
🐍 We're at @py_bay ! Come find the Meta booth and say hi 👋 Our team is here to talk about: 🔥 Pyrefly, 🧵 Free-threaded Python, 🛟 Safer Lazy Imports, and More! #PyBay2026 #Python #OpenSource #Pyrefly #FreeThreading
4
109