The Python programming language
ned-deily/cpython 的健康指数为 100 分中的 63 分,处于「中等」区间。 其得分最高的类别是AI Readiness(90/100),最低的是Community & Adoption(9/100)。 最近一次更新在 23 天前。 近期的大部分工作由 11 位贡献者完成。
指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。
每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。
加权总体分 59 经校准后在公布的指数量表上为 63(记录校准 2026-08-02)。
项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?
| 28.8/36 | 推送新近度 — 最近一次推送于 23 天前 |
| 32.5/36 | 提交节奏 — 52 周中有 47 周有提交 |
| 18/18 | 提交量 — 最近一年 4,395 次提交 |
| 10/10 | OpenSSF Scorecard:Maintained — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10 |
| commits_last_year | 4,395 |
| human_commit_share | 0.99 |
| days_since_last_push | 23 |
| active_weeks_last_year | 47 |
| 16.2/27 | 有发布版本 — 56 个版本标签(无 GitHub 发布版本) |
| 0/36 | 发布时效 — 最近一次发布版本于 1,322 天前 |
| 27/27 | 发布节奏 — 约每 27.3 天发布一次 |
| 0/10 | OpenSSF Scorecard:Signed-Releases — 无数据 |
| releases_count | 56 |
| latest_release_tag | v3.11.3 |
| releases_from_tags | 是 |
| days_since_latest_release | 1,322 |
| mean_days_between_releases | 27.3 |
项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?
| 0/60 | 星标 — 0 个星标 |
| 0/25 | 复刻 — 1 个复刻 |
| 0/15 | 关注者 — 1 位关注者 |
| forks | 1 |
| stars | 0 |
| watchers | 1 |
| growth_state | unverified |
| growth_factor_pct | 100 |
| growth_unverified_reason | no_history |
| 0/22.5 | README |
| 16.9/22.5 | 许可证 — 存在许可证文件,但不是可识别的许可证 |
| 0/18 | CONTRIBUTING 指南 |
| 0/13.5 | 行为准则 |
| 0/7.2 | 议题模板 |
| 0/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 48 contributing companies or organizations |
| bus_factor | 11 |
| contributors_sampled | 100 |
| top_contributor_share | 0.102 |
| 0/42 | 议题解决 — 没有议题或无数据 |
| 0/30 | PR 接受 — 已裁定的 PR 中 0/44 已合并 |
| 0/13 | Newcomer PR acceptance — 30 天内没有首次贡献者的 PR 得到裁决 |
| 0/15 | OpenSSF Scorecard:Code-Review — Found 0/30 approved changesets -- score normalized to 0 |
| merged_prs | 0 |
| open_issues | 0 |
| closed_issues | 0 |
| prs_merged_7d | 0 |
| prs_decided_7d | 0 |
| prs_merged_30d | 0 |
| prs_decided_30d | 0 |
| issue_closed_ratio | — |
| closed_unmerged_prs | 44 |
| first_time_authors_30d | 0 |
| first_time_prs_merged_30d | 0 |
| first_time_prs_decided_30d | 0 |
| 10/30 | 所有权背书 — 个人(用户)账户 |
| 0/20 | 已验证域名 — 不适用于个人账户 |
| 16.2/25 | 所有者影响力 — ned-deily 有 176 位关注者 |
| 18.9/25 | 既往记录 — 8 个公开仓库,账户约 13 年 |
| followers | 176 |
| owner_type | User |
| is_verified | — |
| owner_login | ned-deily |
| public_repos | 8 |
| account_age_days | 4,763 |
基础的工程与文档实践是否到位?
| 24/24 | CI 工作流 — 23 个工作流 |
| 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 |
| 0/20 | OpenSSF Scorecard:CI-Tests — 无数据 |
| has_ci | 是 |
| has_tests | 是 |
| has_editorconfig | 是 |
| has_linter_config | 是 |
| has_precommit_config | 是 |
| 0/30 | README |
| 25/25 | 文档目录 |
| 15/15 | 文档 / 主页站点 — https://www.python.org/ |
| 0/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 |
| 0/7.5 | Branch-Protection — 无数据 |
| 0/2.5 | CI-Tests — 无数据 |
| 0/2.5 | CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected |
| 0/7.5 | Code-Review — Found 0/30 approved changesets -- score normalized to 0 |
| 2.5/2.5 | Contributors — project has 48 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 0 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 |
| 0/5 | SAST — no SAST tool detected |
| 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 |
| 0/7.5 | Vulnerabilities — 16 existing vulnerabilities detected |
| source | openssf_scorecard |
| checks_evaluated | 14 |
| scorecard_version | v5.5.0 |
| checks_inconclusive | 4 |
| scorecard_aggregate | 6.8 |
| 35/35 | 直接依赖不含已知公告 — 没有直接依赖携带已知公告 |
| 0/25 | 间接依赖不含已知公告 — 在此范围内,传递依赖集合无法与开发和测试依赖区分 |
| 0/40 | 没有长期未处理的公告 — 没有公告带有发布日期 |
| source | osv |
| advisories | 5 |
| affected_packages | 2 |
| assessed_packages | 110 |
| unassessed_packages | 22 |
| affected_by_severity | moderate 2 |
| direct_affected_packages | 0 |
该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。
| 45/45 | 代理指令 — AGENTS.md |
| 0/15 | 机器可读文档(llms.txt) |
| 40/40 | 可读的提交历史 — 99 次人类提交中有 87 次说明了意图(结构化标题或解释性正文) |
| has_llms_txt | 否 |
| llms_txt_url | — |
| legible_history_share | 0.879 |
| agent_instruction_files | 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 |
| 6/10 | 已体现的代理实践 — 最近 100 次提交中有 3 次由代理编写或署名代理 |
| 8/8 | 自动化维护 — 最近 100 次提交中有 1 次为自动依赖更新 |
| 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.03 |
| toolchain_manifests | Platforms/Android/testbed/app/build.gradle.kts, Platforms/Android/testbed/build.gradle.kts |
| dependency_bot_commit_share | 0.01 |
| 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,522 个源文件中有 325 个超过 60KB |
| primary_language | Python |
| largest_source_bytes | 1,389,797 |
| source_files_sampled | 3,522 |
| 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 | — |
来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。
| 6 | Binary-Artifacts | binaries present in source code |
| 不适用 | Branch-Protection | internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md |
| 不适用 | CI-Tests | no pull request found |
| 0 | CII-Best-Practices | no effort to earn an OpenSSF best practices badge detected |
| 0 | Code-Review | Found 0/30 approved changesets -- score normalized to 0 |
| 10 | Contributors | project has 48 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 0 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 |
| 0 | SAST | no SAST tool detected |
| 10 | Security-Policy | security policy file detected |
| 不适用 | Signed-Releases | no releases found |
| 10 | Token-Permissions | GitHub workflow tokens follow principle of least privilege |
| 0 | Vulnerabilities | 16 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 | 间接 | 中 | 4 | 6.16.1 |
公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。
发现这份报告有不准确之处,或有想法要分享?错误的测量、未识别的工具、建议、疑问——都欢迎提出。每条消息都会被阅读并得到回复。