Skip to content

搞英语 → 看世界

翻译英文优质信息和名人推特

Menu
  • 首页
  • 作者列表
  • 独立博客
  • 专业媒体
  • 名人推特
  • 邮件列表
  • 关于本站
Menu

星体-sh/ty

Posted on 2025-05-08

星体-sh/ty

Astral 已经悄悄地但公开地致力于这个“极快的 Python 类型检查器和语言服务器,用 Rust 编写”有一段时间了。这是第一个公开版本,作为 PyPI 上的ty (漂亮的两个字母名称!)

您可以通过uvx进行尝试,如下所示 – 在充满 Python 代码的文件夹中运行该命令,看看会返回什么:

 uvx ty check

我最近的简单condense-json库出现了零错误,而我更成熟的sqlite-utils库则出现了大量错误 –输出在这里。

它确实很快:

 cd /tmp git clone https://github.com/simonw/sqlite-utils cd sqlite-utils time uvx ty check

报告使用多个 CPU 核心,其运行时间约为十分之一秒(总墙时间为 0.109):

 uvx ty check 0.18s user 0.07s system 228% cpu 0.109 total

通过黑客新闻

标签: uv 、 astral 、 rust 、 python

原文: https://simonwillison.net/2025/May/7/ty/#atom-everything

本站文章系自动翻译,站长会周期检查,如果有不当内容,请点此留言,非常感谢。
  • Abhinav
  • Abigail Pain
  • Adam Fortuna
  • Alberto Gallego
  • Alex Wlchan
  • Answer.AI
  • Arne Bahlo
  • Ben Carlson
  • Ben Kuhn
  • Bert Hubert
  • Bits about Money
  • Brian Krebs
  • ByteByteGo
  • Chip Huyen
  • Chips and Cheese
  • Cool Infographics
  • Dan Sinker
  • David Walsh
  • Dmitry Dolzhenko
  • Elad Gil
  • Ellie Huxtable
  • Ethan Marcotte
  • Exponential View
  • FAIL Blog
  • Founder Weekly
  • Geoffrey Huntley
  • Geoffrey Litt
  • Greg Mankiw
  • Henrique Dias
  • Hypercritical
  • IEEE Spectrum
  • Investment Talk
  • Jaz
  • Jeff Geerling
  • Jonas Hietala
  • Josh Comeau
  • Lenny Rachitsky
  • Lou Plummer
  • Luke Wroblewski
  • Matt Stoller
  • Mert Bulan
  • Mostly metrics
  • News Letter
  • NextDraft
  • Non_Interactive
  • Not Boring
  • One Useful Thing
  • Phil Eaton
  • Product Market Fit
  • Readwise
  • ReedyBear
  • Robert Heaton
  • Ruben Schade
  • Sage Economics
  • Sam Altman
  • Sam Rose
  • selfh.st
  • Shtetl-Optimized
  • Simon schreibt
  • Slashdot
  • Small Good Things
  • Taylor Troesh
  • Telegram Blog
  • The Macro Compass
  • The Pomp Letter
  • thesephist
  • Thinking Deep & Wide
  • Tim Kellogg
  • 英文媒体
  • 英文推特
  • 英文独立博客
©2025 搞英语 → 看世界 | Design: Newspaperly WordPress Theme