The Python programming language
python/cpython 的健康指数为 100 分中的 100 分,处于「卓越」区间。 其得分最高的类别是Vitality(95/100),最低的是Security(84/100)。 最近一次更新在今天。 近期的大部分工作由 11 位贡献者完成。
指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。
每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。
加权总体分 92 经校准后在公布的指数量表上为 100(记录校准 2026-08-02)。
项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?
| 36/36 | 推送新近度 — 最近一次推送于 0 天前 |
| 36/36 | 提交节奏 — 52 周中有 52 周有提交 |
| 18/18 | 提交量 — 最近一年 4,754 次提交 |
| 10/10 | OpenSSF Scorecard:Maintained — 30 commit(s) and 17 issue activity found in the last 90 days -- score normalized to 10 |
| commits_last_year | 4,754 |
| human_commit_share | 1 |
| days_since_last_push | 0 |
| active_weeks_last_year | 52 |
| 16.2/27 | 有发布版本 — 61 个版本标签(无 GitHub 发布版本) |
| 36/36 | 发布时效 — 最近一次发布版本于 45 天前 |
| 27/27 | 发布节奏 — 约每 33.6 天发布一次 |
| 0/10 | OpenSSF Scorecard:Signed-Releases — 无数据 |
| releases_count | 61 |
| latest_release_tag | v3.13.15 |
| releases_from_tags | 是 |
| days_since_latest_release | 45 |
| mean_days_between_releases | 33.6 |
项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?
| 60/60 | 星标 — 77,228 个星标 |
| 25/25 | 复刻 — 35,978 个复刻 |
| 15/15 | 关注者 — 1,656 位关注者 |
| forks | 35,978 |
| stars | 77,228 |
| watchers | 1,656 |
| growth_state | unverified |
| growth_factor_pct | 100 |
| growth_unverified_reason | no_history |
| 22.5/22.5 | README |
| 16.9/22.5 | 许可证 — 存在许可证文件,但不是可识别的许可证 |
| 18/18 | CONTRIBUTING 指南 |
| 13.5/13.5 | 行为准则 |
| 0/7.2 | 议题模板 |
| 6.3/6.3 | PR 模板 |
| has_readme | 是 |
| has_license | 是 |
| readme_badges | 3 |
| has_contributing | 是 |
| has_issue_template | 否 |
| has_code_of_conduct | 是 |
| readme_badge_services | dev.azure.com, github.com, shields.io |
| has_pull_request_template | 是 |
项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?
| 54/54 | 巴士系数 — 11 位贡献者贡献了半数提交 |
| 20.2/22.5 | 提交分布 — 头号贡献者编写了 10% 的提交 |
| 13.5/13.5 | 贡献者广度 — 100 位贡献者 |
| 10/10 | OpenSSF Scorecard:Contributors — project has 49 contributing companies or organizations |
| bus_factor | 11 |
| contributors_sampled | 100 |
| top_contributor_share | 0.102 |
| 38.2/42 | 议题解决 — 91% 的议题已关闭 |
| 25.6/30 | PR 接受 — 已裁定的 PR 中 63,596/74,601 已合并 |
| 4.3/13 | Newcomer PR acceptance — 30 天内首次贡献者的 PR 已合并 1/3 |
| 10.5/15 | OpenSSF Scorecard:Code-Review — Found 21/30 approved changesets -- score normalized to 7 |
| merged_prs | 63,596 |
| open_issues | 7,011 |
| closed_issues | 71,185 |
| prs_merged_7d | 48 |
| prs_decided_7d | 60 |
| prs_merged_30d | 48 |
| prs_decided_30d | 60 |
| issue_closed_ratio | 0.91 |
| closed_unmerged_prs | 11,005 |
| first_time_authors_30d | 3 |
| first_time_prs_merged_30d | 1 |
| first_time_prs_decided_30d | 3 |
| 30/30 | 所有权背书 — 组织持有 |
| 20/20 | 已验证域名 |
| 25/25 | 所有者影响力 — python 有 32,418 位关注者 |
| 25/25 | 既往记录 — 96 个公开仓库,账户约 14 年 |
| followers | 32,418 |
| owner_type | Organization |
| is_verified | 是 |
| owner_login | python |
| public_repos | 96 |
| account_age_days | 5,305 |
基础的工程与文档实践是否到位?
| 24/24 | CI 工作流 — 24 个工作流 |
| 24/24 | 存在测试 |
| 16/16 | Linter 配置 — .ruff.toml, Tools/peg_generator/pyproject.toml ([tool.black]) |
| 9.6/9.6 | Pre-commit 钩子 |
| 6.4/6.4 | .editorconfig |
| 20/20 | OpenSSF Scorecard:CI-Tests — 30 out of 30 merged PRs checked by a CI test -- score normalized to 10 |
| has_ci | 是 |
| has_tests | 是 |
| has_editorconfig | 是 |
| has_linter_config | 是 |
| has_precommit_config | 是 |
| 30/30 | README |
| 25/25 | 文档目录 |
| 15/15 | 文档 / 主页站点 — https://www.python.org |
| 10/10 | 仓库描述 |
| 0/10 | 主题标签 |
| 0/10 | Wiki |
| topics | — |
| has_wiki | 否 |
| homepage | https://www.python.org |
| docs_site | https://www.python.org |
| has_readme | 是 |
| has_docs_dir | 是 |
| has_description | 是 |
可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?
| 4.5/7.5 | Binary-Artifacts — binaries present in source code |
| 2.2/7.5 | Branch-Protection — branch protection is not maximal on development and all release branches |
| 2.5/2.5 | CI-Tests — 30 out of 30 merged PRs checked by a CI test -- score normalized to 10 |
| 1.2/2.5 | CII-Best-Practices — badge detected: Passing |
| 5.2/7.5 | Code-Review — Found 21/30 approved changesets -- score normalized to 7 |
| 2.5/2.5 | Contributors — project has 49 contributing companies or organizations |
| 10/10 | Dangerous-Workflow — no dangerous workflow patterns detected |
| 7.5/7.5 | Dependency-Update-Tool — update tool detected |
| 5/5 | Fuzzing — project is fuzzed |
| 2.2/2.5 | 许可证 — license file detected |
| 7.5/7.5 | Maintained — 30 commit(s) and 17 issue activity found in the last 90 days -- score normalized to 10 |
| 0/5 | Packaging — 无数据 |
| 4.5/5 | Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 9 |
| 2.5/5 | SAST — SAST tool is not run on all commits -- score normalized to 5 |
| 5/5 | Security-Policy — security policy file detected |
| 0/7.5 | Signed-Releases — 无数据 |
| 7.5/7.5 | Token-Permissions — GitHub workflow tokens follow principle of least privilege |
| 4.5/7.5 | Vulnerabilities — 4 existing vulnerabilities detected |
| source | openssf_scorecard |
| checks_evaluated | 16 |
| scorecard_version | v5.5.0 |
| checks_inconclusive | 2 |
| scorecard_aggregate | 8.1 |
| 35/35 | 直接依赖不含已知公告 — 没有直接依赖携带已知公告 |
| 0/25 | 间接依赖不含已知公告 — 在此范围内,传递依赖集合无法与开发和测试依赖区分 |
| 0/40 | 没有长期未处理的公告 — 没有公告带有发布日期 |
| source | osv |
| advisories | 4 |
| affected_packages | 2 |
| assessed_packages | 110 |
| unassessed_packages | 22 |
| affected_by_severity | moderate 2 |
| direct_affected_packages | 0 |
该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。
| 45/45 | 代理指令 — .claude/CLAUDE.md, AGENTS.md |
| 0/15 | 机器可读文档(llms.txt) |
| 40/40 | 可读的提交历史 — 100 次人类提交中有 89 次说明了意图(结构化标题或解释性正文) |
| has_llms_txt | 否 |
| llms_txt_url | — |
| legible_history_share | 0.89 |
| agent_instruction_files | .claude/CLAUDE.md, AGENTS.md |
| agent_instruction_max_bytes | 603 |
| 18/18 | 一条命令的引导启动 — Doc/Makefile, Tools/freeze/test/Makefile, Tools/peg_generator/Makefile, Tools/unicode/Makefile |
| 22/22 | 自动化测试 |
| 11/11 | Lint / 格式化配置 — .ruff.toml, Tools/peg_generator/pyproject.toml ([tool.black]) |
| 11/11 | 静态类型检查 — Lib/_pyrepl/mypy.ini, Lib/test/libregrtest/mypy.ini, Lib/tomllib/mypy.ini, Platforms/emscripten/browser_test/tsconfig.json, Tools/build/mypy.ini, Tools/cases_generator/mypy.ini, Tools/check-c-api-docs/mypy.ini, Tools/clinic/mypy.ini, Tools/jit/mypy.ini, Tools/peg_generator/mypy.ini |
| 10/10 | 可复现环境 — devcontainer, lockfile |
| 10/10 | 已体现的代理实践 — 最近 100 次提交中有 12 次由代理编写或署名代理 |
| 5/8 | 自动化维护 — 已配置依赖自动化,但在抽样提交中未观察到 |
| 9/10 | OpenSSF Scorecard:Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 9 |
| has_nix | 否 |
| has_tests | 是 |
| lockfiles | package-lock.json |
| has_dockerfile | 否 |
| typed_language | 否 |
| bootstrap_files | Doc/Makefile, Tools/freeze/test/Makefile, Tools/peg_generator/Makefile, Tools/unicode/Makefile |
| has_devcontainer | 是 |
| has_linter_config | 是 |
| typecheck_configs | Lib/_pyrepl/mypy.ini, Lib/test/libregrtest/mypy.ini, Lib/tomllib/mypy.ini, Platforms/emscripten/browser_test/tsconfig.json, Tools/build/mypy.ini, Tools/cases_generator/mypy.ini, Tools/check-c-api-docs/mypy.ini, Tools/clinic/mypy.ini, Tools/jit/mypy.ini, Tools/peg_generator/mypy.ini |
| agent_commit_share | 0.12 |
| toolchain_manifests | Platforms/Android/testbed/app/build.gradle.kts, Platforms/Android/testbed/build.gradle.kts |
| dependency_bot_commit_share | 0 |
| 27/45 | 可类型检查的代码 — Python,已配置类型检查(Lib/_pyrepl/mypy.ini, Lib/test/libregrtest/mypy.ini, Lib/tomllib/mypy.ini, Platforms/emscripten/browser_test/tsconfig.json, Tools/build/mypy.ini, Tools/cases_generator/mypy.ini, Tools/check-c-api-docs/mypy.ini, Tools/clinic/mypy.ini, Tools/jit/mypy.ini, Tools/peg_generator/mypy.ini) |
| 49.9/55 | 可控的文件大小 — 采样的 3,491 个源文件中有 325 个超过 60KB |
| primary_language | Python |
| largest_source_bytes | 1,405,132 |
| source_files_sampled | 3,491 |
| oversized_source_files | 325 |
| 0/40 | API 模式(OpenAPI/GraphQL/proto) — 不适用于此类软件 |
| 0/20 | MCP 服务器 — 不适用于此类软件 |
| 40/40 | 可运行示例 — example |
| example_dirs | example |
| has_mcp_signal | 否 |
| api_schema_files | — |
| interfaces_expected_of | — |
每颗 star 和每个 fork 的添加时间,来自 GitHub 并按天汇总。累计增长位于其构成来源——每日新增——的正上方,二者可相互对照:稳定的自然增长与短暂的突增形态截然不同。当这一差别可被衡量时,它会作为增长真实性予以报告。
仅显示最近的历史——该仓库超出采集窗口,因此未采集最早的历史记录。
来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。
| 6 | Binary-Artifacts | binaries present in source code |
| 3 | Branch-Protection | branch protection is not maximal on development and all release branches |
| 10 | CI-Tests | 30 out of 30 merged PRs checked by a CI test -- score normalized to 10 |
| 5 | CII-Best-Practices | badge detected: Passing |
| 7 | Code-Review | Found 21/30 approved changesets -- score normalized to 7 |
| 10 | Contributors | project has 49 contributing companies or organizations |
| 10 | Dangerous-Workflow | no dangerous workflow patterns detected |
| 10 | Dependency-Update-Tool | update tool detected |
| 10 | Fuzzing | project is fuzzed |
| 9 | License | license file detected |
| 10 | Maintained | 30 commit(s) and 17 issue activity found in the last 90 days -- score normalized to 10 |
| 不适用 | Packaging | packaging workflow not detected |
| 9 | Pinned-Dependencies | dependency not pinned by hash detected -- score normalized to 9 |
| 5 | SAST | SAST tool is not run on all commits -- score normalized to 5 |
| 10 | Security-Policy | security policy file detected |
| 不适用 | Signed-Releases | no releases found |
| 10 | Token-Permissions | GitHub workflow tokens follow principle of least privilege |
| 6 | Vulnerabilities | 4 existing vulnerabilities detected |
来自 GitHub 依赖图的完整解析依赖集合:0 个直接依赖与 132 个间接(传递)软件包。仓库提交锁文件时,传递闭包才是完整的。
| 注册表 | 软件包 | 版本 | 关系 |
|---|---|---|---|
| npm | @babel/code-frame | 7.29.0 | 间接 |
| npm | @babel/helper-validator-identifier | 7.28.5 | 间接 |
| npm | @playwright/test | 1.61.1 | 间接 |
| npm | @types/minimist | 1.2.5 | 间接 |
| npm | @types/node | 24.12.0 | 间接 |
| npm | @types/normalize-package-data | 2.4.4 | 间接 |
| npm | ansi-styles | 4.3.0 | 间接 |
| npm | arrify | 1.0.1 | 间接 |
| npm | async | 3.2.6 | 间接 |
| npm | basic-auth | 2.0.1 | 间接 |
| npm | call-bind-apply-helpers | 1.0.2 | 间接 |
| npm | call-bound | 1.0.4 | 间接 |
| npm | camelcase | 6.3.0 | 间接 |
| npm | camelcase-keys | 7.0.2 | 间接 |
| npm | chalk | 4.1.2 | 间接 |
| npm | color-convert | 2.0.1 | 间接 |
| npm | color-name | 1.1.4 | 间接 |
| npm | corser | 2.0.1 | 间接 |
| npm | debug | 4.4.1 | 间接 |
| npm | decamelize | 1.2.0 | 间接 |
| npm | decamelize | 5.0.1 | 间接 |
| npm | decamelize-keys | 1.1.1 | 间接 |
| npm | dunder-proto | 1.0.1 | 间接 |
| npm | error-ex | 1.3.4 | 间接 |
| npm | es-define-property | 1.0.1 | 间接 |
| npm | es-errors | 1.3.0 | 间接 |
| npm | es-object-atoms | 1.1.1 | 间接 |
| npm | eventemitter3 | 4.0.7 | 间接 |
| npm | find-up | 5.0.0 | 间接 |
| npm | follow-redirects | 1.15.9 | 间接 |
| npm | fsevents | 2.3.2 | 间接 |
| npm | function-bind | 1.1.2 | 间接 |
| npm | get-intrinsic | 1.3.0 | 间接 |
| npm | get-port | 6.1.2 | 间接 |
| npm | get-port-cli | 3.0.0 | 间接 |
| npm | get-proto | 1.0.1 | 间接 |
| npm | gopd | 1.2.0 | 间接 |
| npm | hard-rejection | 2.1.0 | 间接 |
| npm | has-flag | 4.0.0 | 间接 |
| npm | has-symbols | 1.1.0 | 间接 |
| npm | hasown | 2.0.2 | 间接 |
| npm | he | 1.2.0 | 间接 |
| npm | hosted-git-info | 4.1.0 | 间接 |
| npm | html-encoding-sniffer | 3.0.0 | 间接 |
| npm | http-proxy | 1.18.1 | 间接 |
| npm | http-server | 14.1.1 | 间接 |
| npm | iconv-lite | 0.6.3 | 间接 |
| npm | indent-string | 5.0.0 | 间接 |
| npm | is-arrayish | 0.2.1 | 间接 |
| npm | is-core-module | 2.16.1 | 间接 |
| npm | is-plain-obj | 1.1.0 | 间接 |
| npm | js-tokens | 4.0.0 | 间接 |
| npm | json-parse-even-better-errors | 2.3.1 | 间接 |
| npm | kind-of | 6.0.3 | 间接 |
| npm | lines-and-columns | 1.2.4 | 间接 |
| npm | locate-path | 6.0.0 | 间接 |
| npm | lru-cache | 6.0.0 | 间接 |
| npm | map-obj | 1.0.1 | 间接 |
| npm | map-obj | 4.3.0 | 间接 |
| npm | math-intrinsics | 1.1.0 | 间接 |
| npm | meow | 10.1.5 | 间接 |
| npm | mime | 1.6.0 | 间接 |
| npm | minimist | 1.2.8 | 间接 |
| npm | minimist-options | 4.1.0 | 间接 |
| npm | ms | 2.1.3 | 间接 |
| npm | normalize-package-data | 3.0.3 | 间接 |
| npm | object-inspect | 1.13.4 | 间接 |
| npm | opener | 1.5.2 | 间接 |
| npm | p-limit | 3.1.0 | 间接 |
| npm | p-locate | 5.0.0 | 间接 |
| npm | parse-json | 5.2.0 | 间接 |
| npm | path-exists | 4.0.0 | 间接 |
| npm | picocolors | 1.1.1 | 间接 |
| npm | playwright | 1.61.1 | 间接 |
| npm | playwright-core | 1.61.1 | 间接 |
| npm | portfinder | 1.0.37 | 间接 |
| npm | qs | 6.15.0 | 间接 |
| npm | quick-lru | 5.1.1 | 间接 |
| npm | read-pkg | 6.0.0 | 间接 |
| npm | read-pkg-up | 8.0.0 | 间接 |
| npm | redent | 4.0.0 | 间接 |
| npm | requires-port | 1.0.0 | 间接 |
| npm | safe-buffer | 5.1.2 | 间接 |
| npm | safer-buffer | 2.1.2 | 间接 |
| npm | secure-compare | 3.0.1 | 间接 |
| npm | semver | 7.7.4 | 间接 |
| npm | side-channel | 1.1.0 | 间接 |
| npm | side-channel-list | 1.0.0 | 间接 |
| npm | side-channel-map | 1.0.1 | 间接 |
| npm | side-channel-weakmap | 1.0.2 | 间接 |
| npm | spdx-correct | 3.2.0 | 间接 |
| npm | spdx-exceptions | 2.5.0 | 间接 |
| npm | spdx-expression-parse | 3.0.1 | 间接 |
| npm | spdx-license-ids | 3.0.23 | 间接 |
| npm | strip-indent | 4.1.1 | 间接 |
| npm | supports-color | 7.2.0 | 间接 |
| npm | trim-newlines | 4.1.1 | 间接 |
| npm | type-fest | 1.4.0 | 间接 |
| npm | undici-types | 7.16.0 | 间接 |
| npm | union | 0.5.0 | 间接 |
| npm | url-join | 4.0.1 | 间接 |
| npm | validate-npm-package-license | 3.0.4 | 间接 |
| npm | whatwg-encoding | 2.0.0 | 间接 |
| npm | yallist | 4.0.0 | 间接 |
| npm | yargs-parser | 20.2.9 | 间接 |
| npm | yocto-queue | 0.1.0 | 间接 |
| PyPI | babel | — | 间接 |
| PyPI | blurb | — | 间接 |
| PyPI | colorama | — | 间接 |
| PyPI | hypothesis | 6.155.3 | 间接 |
| PyPI | imagesize | — | 间接 |
| PyPI | jinja2 | — | 间接 |
| PyPI | markupsafe | — | 间接 |
| PyPI | mypy | 2.3.0 | 间接 |
| PyPI | packaging | — | 间接 |
| PyPI | pygments | — | 间接 |
| PyPI | python-docs-theme | — | 间接 |
| PyPI | requests | — | 间接 |
| PyPI | snowballstemmer | — | 间接 |
| PyPI | sphinx | — | 间接 |
| PyPI | sphinx-linklint | — | 间接 |
| PyPI | sphinx-notfound-page | — | 间接 |
| PyPI | sphinxcontrib-applehelp | — | 间接 |
| PyPI | sphinxcontrib-devhelp | — | 间接 |
| PyPI | sphinxcontrib-htmlhelp | — | 间接 |
| PyPI | sphinxcontrib-jsmath | — | 间接 |
| PyPI | sphinxcontrib-qthelp | — | 间接 |
| PyPI | sphinxcontrib-serializinghtml | — | 间接 |
| PyPI | sphinxext-opengraph | — | 间接 |
| PyPI | sphinxext-rediraffe | — | 间接 |
| PyPI | types-psutil | 7.2.2.20260518 | 间接 |
| PyPI | types-setuptools | 83.0.0.20260724 | 间接 |
该仓库未发布可被索引解析的包,因此评估的是其自身的依赖图——共 110 个包,其中也包含从不交付的开发与测试版本固定:2 个存在已知公告,0 个为直接依赖。 有 22 个无法评估——没有已解析的版本、生态系统不受支持,或不在所列包清单之内。
| 软件包 | 版本 | 关系 | 严重程度 | 公告数 | 修复版本 |
|---|---|---|---|---|---|
| follow-redirects | 1.15.9 | 间接 | 中 | 1 | 1.16.0 |
| qs | 6.15.0 | 间接 | 中 | 3 | 6.16.0 |
公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。
发现这份报告有不准确之处,或有想法要分享?错误的测量、未识别的工具、建议、疑问——都欢迎提出。每条消息都会被阅读并得到回复。