Shelf

Typing

Python 类型提示的类型检查器、stub 包、扩展类型、工具和文章。

Typing 是 awesome 清单 typeddjango/awesome-python-typing,由 typeddjango 在 GitHub 上维护。它在 14 个章节里收录了 129 个条目。它在 GitHub 上有 1,994 星标,最近一次推送是在 。它最大的几个章节是 Tools (36)、Articles (36)、Stub packages (15)。其中星标最多的项目是 awesome-python、ruff、pydantic、mypy、ty。其中大多数仓库用 Python 编写。 在 GitHub 上阅读原文 ↗ · 建议修改

另见 Python、Beginner-Friendly Projects

129 / 129 目录

Static type checkers 12 #

  1. basedmypy kotlinisland · ★ 202 · 2025 年更新
  2. basedpyright detachhead · TypeScript · ★ 3,660 · 收录于 2 个清单
  3. mypy python · ★ 20,743 · 收录于 3 个清单
  4. pyanalyze quora · ★ 387
  5. PyCharm jetbrains.com · 收录于 3 个清单
  6. pylyzer mtshiba · Rust · ★ 2,851 · 2025 年更新
  7. pyrefly pyrefly-org · Rust · ★ 7,272 · 收录于 3 个清单
  8. pyright microsoft · ★ 15,768 · 收录于 3 个清单
  9. pycroscope jellezijlstra · ★ 50
  10. pytype google · ★ 5,033 已归档
  11. ty astral-sh · ★ 20,173 · 收录于 2 个清单
  12. zuban zubanls · Rust · ★ 1,252

Dynamic type checkers 8 #

  1. beartype beartype · ★ 3,520
  2. pydantic pydantic · ★ 29,742 · 收录于 3 个清单
  3. pytypes stewori · ★ 203 · 2023 年更新 沉寂
  4. strongtyping felixthec · ★ 121
  5. typedpy loyada · ★ 17
  6. typeguard agronholm · ★ 1,796
  7. trycast davidfstr · ★ 88
  8. type_enforced connor-makowski · ★ 73

Stub packages 15 #

  1. boto3-stubs youtype · ★ 6 boto3
  2. botostubs jeshan · ★ 91 · 2023 年更新 沉寂
  3. celery-types sbdchd · ★ 159 Celery django-celery-results ampq kombu billiard vine ephem
  4. django-stubs typeddjango · ★ 1,984 Django
  5. djangorestframework-stubs typeddjango · ★ 543 DRF
  6. lxml-stubs lxml · ★ 51 已归档 lxml
  7. PyQt5-stubs python-qt-tools · ★ 71 PyQt5
  8. python-phonenumbers-stubs aa-turner · ★ 1 · 2021 年更新 沉寂 phonenumbers
  9. pythonista-stubs hbmartin · ★ 23 Pythonista
  10. scipy-stubs scipy · ★ 96 SciPy
  11. sqlalchemy-stubs dropbox · ★ 585 · 2024 年更新 沉寂 SQLAlchemy
  12. sqlalchemy2-stubs docs.sqlalchemy.org SQLAlchemy
  13. jaxtyping patrick-kidger · ★ 1,884 PyTorch
  14. types-aiobotocore youtype · JavaScript · ★ 0 aiobotocore
  15. typeshed python · ★ 5,160

Additional types 9 #

  1. annotated-types annotated-types · ★ 618
  2. annotated-doc fastapi · ★ 89
  3. meiga alice-biometrics · ★ 82 · 2024 年更新 沉寂
  4. option mat1g3r · ★ 103 · 2024 年更新 沉寂
  5. optype jorenham · ★ 98
  6. phantom-types antonagestam · ★ 238
  7. returns dry-python · ★ 4,392 · 收录于 2 个清单
  8. safetywrap mplanchard · ★ 46 · 2020 年更新 沉寂
  9. useful-types hauntsaninja · ★ 153

Backports and improvements 3 #

  1. future-typing prettywood · ★ 20 · 2021 年更新 沉寂
  2. typing-extensions python · ★ 599
  3. typing-utils bojiang · ★ 12 · 2022 年更新 沉寂

Tools #

Linters 8 #

  1. flake8-annotations-complexity best-doctor · ★ 51
  2. flake8-annotations sco1 · ★ 165
  3. flake8-pyi pycqa · ★ 86
  4. flake8-type-checking snok · ★ 129
  5. flake8-typing-only-imports snok · ★ 129
  6. flake8-type-ignore gitlab.com
  7. wemake-python-styleguide wemake-services · ★ 2,953 · 收录于 3 个清单
  8. Ruff astral-sh · Rust · ★ 51,609 · 收录于 3 个清单

Testing 4 #

  1. mypy-test orsinium-labs · ★ 7 · 2023 年更新 沉寂
  2. pytest-mypy-plugins typeddjango · ★ 129
  3. pytest-mypy-testing davidfritzsche · ★ 34
  4. pytest-mypy realpython · ★ 257

Working with types 9 #

  1. com2ann ilevkivskyi · ★ 158 · 2025 年更新
  2. mypy-baseline orsinium-labs · ★ 83
  3. mypy-protobuf nipunn1313 · ★ 711
  4. mypy-silent whtsky · ★ 19
  5. mypyc github.com
  6. retype ambv · ★ 145 · 2022 年更新 沉寂
  7. typeforce orsinium-labs · ★ 22 · 2022 年更新 沉寂
  8. typesplainer typesplainer · ★ 86
  9. typing-inspect ilevkivskyi · ★ 376

Helper tools to add annotations to existing code 9 #

  1. autotyping jellezijlstra · ★ 287 · 2025 年更新
  2. infer-types orsinium-labs · ★ 103 · 2023 年更新 沉寂
  3. jsonschema-gentypes sbrunner · ★ 49
  4. monkeytype instagram · ★ 5,003
  5. no_implicit_optional hauntsaninja · ★ 107 · 2023 年更新 沉寂 PEP 484
  6. pyannotate dropbox · ★ 1,445
  7. pytest-annotate kensho-technologies · ★ 113
  8. pytest-monkeytype mariusvniekerk · ★ 46 · 2020 年更新 沉寂
  9. RightTyper righttyper · ★ 361

Mypy plugins 6 #

  1. kubernetes-typed gordonbondon · ★ 26 · 2024 年更新 沉寂 CRD
  2. loguru-mypy kornicameister · ★ 22 · 2024 年更新 沉寂 loguru
  3. mypy-zope shoobx · ★ 40 zope.interface
  4. mypy/plugins github.com
  5. NumPy numpy.org NumPy
  6. pydantic docs.pydantic.dev Pydantic

Integrations 7 #

  1. mypy-playground ymyzk · ★ 78
  2. mypy-pycharm-plugin dropbox · Java · ★ 319 · 2021 年更新 沉寂
  3. pylance microsoft · ★ 2,173
  4. vim-mypy integralist · Vim Script · ★ 102 · 2019 年更新 沉寂
  5. nbQA nbqa-dev · ★ 1,210 · 收录于 2 个清单
  6. typeshed-stats alexwaygood · ★ 15 typeshed
  7. typeshed_client jellezijlstra · ★ 32 typeshed

Articles #

PEPs 18 #

  1. PEP-3107 python.org
  2. PEP-482 python.org
  3. PEP-483 python.org
  4. PEP-484 python.org
  5. PEP-526 python.org
  6. PEP-544 python.org
  7. PEP-557 python.org
  8. PEP-560 python.org
  9. PEP-561 python.org
  10. PEP-563 python.org
  11. PEP-585 python.org
  12. PEP-586 python.org
  13. PEP-589 python.org
  14. PEP-591 python.org
  15. PEP-593 python.org
  16. PEP-604 python.org
  17. PEP-612 python.org
  18. PEP-613 python.org

Third-party articles 18 #

  1. 1-minute guide to real constants in Python sobolevn.me
  2. Simple dependent types in Python sobolevn.me
  3. Testing mypy stubs, plugins, and types sobolevn.me
  4. Our journey to type checking 4 million lines of Python dropbox.tech
  5. PyTest MonkeyType Introduction dev.to · 文章
  6. The state of type hints in Python bernat.tech
  7. Type hints cheat sheet mypy.readthedocs.io
  8. Typechecking Django and DRF sobolevn.me
  9. Type Check Your Django Application kracekumar.com
  10. typing docs.python.org
  11. Python-typing-koans kracekumar · ★ 121 · 2021 年更新 沉寂
  12. Python Type Checking (Guide) realpython.com
  13. Adding type hints to urllib3 sethmlarson.dev
  14. Adam Johnsons Blog adamj.eu
  15. ParamSpec Guide sobolevn.me
  16. Static Typing Python Decorators rednafi.github.io
  17. How do mypy, Pyright, and ty compare? pydevtools.com
  18. ty: A Complete Guide pydevtools.com

相关清单

  1. Python vinta/awesome-python

    按主题分类的 Python 框架、库和工具,以及学习资源。

    572 个条目 · ★ 338,022 · 编程语言 · 9 个共同项目

  2. Beginner-Friendly Projects mungell/awesome-for-beginners

    欢迎首次贡献者的开源项目,按编程语言分组。

    254 个条目 · ★ 91,924 · 其他 · 3 个共同项目

更多编程语言清单

  1. Go avelino/awesome-go

    按任务分类的数千个 Go 包、框架和工具,以及学习资源。

    3,211 个条目 · ★ 196,772

  2. 30 Seconds of Code chalarangelo/30-seconds-of-code

    每段只解决一个小问题的简短代码片段,以 JavaScript 为主,附讲解。

    尚未读取 · ★ 129,641

  3. C/C++ fffaraz/awesome-cpp

    按领域分类的 C 和 C++ 库、框架和工具,从音频、压缩到数据库、网络和图形。

    1,425 个条目 · ★ 74,695

  4. Rust rust-unofficial/awesome-rust

    数千个 Rust 应用、开发工具、库和学习资源。

    2,017 个条目 · ★ 60,925

  5. Java akullpp/awesome-java

    覆盖开发各领域的 Java 库、框架和工具,以及书籍、网站等资源。

    922 个条目 · ★ 49,675

  6. JavaScript sorrycc/awesome-javascript

    各类 JavaScript 库和工具:包管理器、加载器、打包工具、框架、实用库和读物。

    795 个条目 · ★ 35,033

  7. PHP ziadoz/awesome-php

    按任务分类的 PHP 库、框架和工具,从依赖管理到测试和安全。

    555 个条目 · ★ 32,818

  8. Swift matteocrippa/awesome-swift

    iOS 和 macOS 开发的 Swift 库、项目模板、指南、编辑器支持和工具,超过一千条。

    1,112 个条目 · ★ 26,408

关于这个列表

星标
1,994
最近推送
许可证
CC-BY-SA-4.0
条目
14 个章节中的 129 个条目
收录清单数
另外 1 个清单
Markdown
typeddjango/awesome-python-typing.md

本页是 Typing 的索引,该清单由 typeddjango 及其贡献者维护于 github.com/typeddjango/awesome-python-typing。条目的选择和顺序归他们所有,上方的简介由本站撰写。 于 读取自提交 2623c9f。 许可证:CC-BY-SA-4.0。

↑ ↓ 移动,Enter 打开,Esc 关闭