公开记录
软件健康报告模式 0.31.0 · 指标 2.10.0 · 2026-08-06 03:48 UTC

KapJI / homeassistant-stubs

Typing stubs for Home Assistant Core

PythonMIT★ 16 星标⑂ 4 复刻始于 2021年3月在 GitHub 上查看 ↗
类型如何判定

KapJI/homeassistant-stubs 的健康指数为 100 分中的 60 分,处于「中等」区间。 其得分最高的类别是Vitality(68/100),最低的是AI Readiness(24/100)。 最近一次更新在今天。 近期的大部分工作由 1 位贡献者完成。

60
总分 / 100
中等

软件健康指数

指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。

60
卓越93-100公开记录中的最高层级(约前 5%);基本满足所有检验标准
优秀80-92各方面均表现强劲;仅有少量不足
良好65-79健康;不足之处有限且可控
中等50-64可接受,但存在明显不足;建议进行审查
薄弱35-49多个领域存在实质性薄弱环节
存在风险20-34存在重大薄弱环节;采用时应保持审慎
危急1-19问题严重(项目被弃置、仅有单一维护者、缺乏基本工程规范)
活力社区与采用可持续性与治理工程质量安全AI 就绪度

评分画像

每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。

加权总体分 57 经校准后在公布的指数量表上为 60(记录校准 2026-08-02)。

所有权

Ruslan Sayfutdinov个人账户
94 关注者73 个公开仓库始于 2013年3月

该仓库由个人账户拥有。相较于组织支持的项目,单一所有者项目的延续性风险更高。

软件包生态系统

注册表软件包版本月下载量版本数最近发布标签
PyPIhomeassistant-stubs2026.7.494,68589112 天前homeassistantpep484typing

按类别列示的指标

活力

项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?

68良好 · 占总体的 21%
评分方式
36/36推送新近度最近一次推送于 0 天前
0.9/36提交节奏52 周中有 51 周有提交,因自动化而折减:最近 100 次提交中有 1 次由人类编写,跨度 149 天
0.4/18提交量最近一年 141 次提交,因自动化而折减:最近 100 次提交中有 1 次由人类编写,跨度 149 天
10/10OpenSSF Scorecard:Maintained30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
所用输入
commits_last_year141
human_commit_share0.01
days_since_last_push0
active_weeks_last_year51

发布纪律

100卓越
评分方式
27/27有发布版本已发布 100 个发布版本
36/36发布时效最近一次发布版本于 0 天前
27/27发布节奏约每 1.7 天发布一次
0/10OpenSSF Scorecard:Signed-Releases无数据
所用输入
releases_count100
latest_release_tag2026.8.0
releases_from_tags
days_since_latest_release0
mean_days_between_releases1.7
已排除计分(无数据或不适用):OpenSSF Scorecard:Signed-Releases。 其余权重已重新归一化。

社区与采用

项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?

47薄弱 · 占总体的 17%

流行度与采用

23存在风险
评分方式
19.1/60星标16 个星标
4/25复刻4 个复刻
0/15关注者1 位关注者
所用输入
forks4
stars16
watchers1
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

50中等
评分方式
22.5/22.5README
22.5/22.5许可证可识别的许可证(MIT)
0/18CONTRIBUTING 指南
0/13.5行为准则
0/7.2议题模板
0/6.3PR 模板
所用输入
has_readme
has_license
readme_badges2
has_contributing
has_issue_template
has_code_of_conduct
readme_badge_servicesgithub.com, shields.io
has_pull_request_template
评分方式
66.4/80月度下载量pypi 合计每月 94,685 次下载
0/20注册表被依赖数该生态系统不报告此项
所用输入
packageshomeassistant-stubs
dependents
ecosystemspypi
total_downloads
monthly_downloads94,685
unverified_packages_excluded
已排除计分(无数据或不适用):注册表被依赖数。 其余权重已重新归一化。

可持续性与治理

项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?

63中等 · 占总体的 23%
评分方式
9/54巴士系数1 位贡献者贡献了半数提交
1.5/22.5提交分布头号贡献者编写了 93% 的提交
6.8/13.5贡献者广度5 位贡献者
10/10OpenSSF Scorecard:Contributorsproject has 4 contributing companies or organizations
所用输入
bus_factor1
contributors_sampled5
top_contributor_share0.933
评分方式
42/42议题解决100% 的议题已关闭
25.3/30PR 接受已裁定的 PR 中 436/517 已合并
0/13Newcomer PR acceptance30 天内没有首次贡献者的 PR 得到裁决
0/15OpenSSF Scorecard:Code-ReviewFound 0/30 approved changesets -- score normalized to 0
所用输入
merged_prs436
open_issues0
closed_issues12
prs_merged_7d0
prs_decided_7d0
prs_merged_30d0
prs_decided_30d0
issue_closed_ratio1
closed_unmerged_prs81
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
已排除计分(无数据或不适用):Newcomer PR acceptance。 其余权重已重新归一化。
评分方式
10/30所有权背书个人(用户)账户
0/20已验证域名不适用于个人账户
14.2/25所有者影响力KapJI 有 94 位关注者
25/25既往记录73 个公开仓库,账户约 13 年
所用输入
followers94
owner_typeUser
is_verified
owner_loginKapJI
public_repos73
account_age_days4,902
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。
评分方式
25/25已发布且可解析pypi 上有 1 个软件包
35/35发布时效最近一次发布于 12 天前
20/20版本历史891 个已发布版本
20/20未被弃用活跃,未被弃用或撤回
所用输入
packageshomeassistant-stubs
ecosystemspypi
any_deprecated
min_days_since_publish12

工程质量

基础的工程与文档实践是否到位?

57中等 · 占总体的 19%

工程实践

62中等
评分方式
24/24CI 工作流2 个工作流
0/24存在测试
16/16Linter 配置
9.6/9.6Pre-commit 钩子
0/6.4.editorconfig
0/20OpenSSF Scorecard:CI-Tests无数据
所用输入
has_ci
has_tests
has_editorconfig
has_linter_config
has_precommit_config
已排除计分(无数据或不适用):OpenSSF Scorecard:CI-Tests。 其余权重已重新归一化。

文档

50中等
评分方式
30/30README
0/25文档目录
0/15文档 / 主页站点
10/10仓库描述
10/10主题标签4 个主题标签
0/10Wiki
所用输入
topicshome-assistant, homeassistant, mypy-stubs, python
has_wiki
homepage
docs_site
has_readme
has_docs_dir
has_description

安全

可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?

52中等 · 占总体的 16%

安全态势

45薄弱
评分方式
7.5/7.5Binary-Artifactsno binaries found in the repo
3/7.5Branch-Protectionbranch protection is not maximal on development and all release branches
0/2.5CI-Tests无数据
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0/7.5Code-ReviewFound 0/30 approved changesets -- score normalized to 0
2.5/2.5Contributorsproject has 4 contributing companies or organizations
10/10Dangerous-Workflowno dangerous workflow patterns detected
7.5/7.5Dependency-Update-Toolupdate tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5许可证license file detected
7.5/7.5Maintained30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging无数据
0/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0/5SASTno SAST tool detected
0/5Security-Policysecurity policy file not detected
0/7.5Signed-Releases无数据
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0/7.5Vulnerabilities10 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated15
scorecard_versionv5.5.0
checks_inconclusive3
scorecard_aggregate4.5
已排除计分(无数据或不适用):CI-Tests, Packaging, Signed-Releases。 其余权重已重新归一化。
评分方式
35/35直接依赖不含已知公告没有直接依赖携带已知公告
4.9/25间接依赖不含已知公告3 个受影响:pillow 12.2.0 (critical 9.1), cryptography 48.0.1 (high 8.2), pyjwt 2.12.1 (high 7.4)
40/40没有长期未处理的公告没有公告公开超过 90 天
所用输入
sourceosv
advisories41
affected_packages3
assessed_packages102
unassessed_packages0
affected_by_severitycritical 1, high 2
direct_affected_packages0
比对的是 pypi:homeassistant-stubs@2026.7.4 的运行时依赖闭包——安装已发布的软件包时真正被拉取进来的内容——共 102 个软件包。 未对可达性进行分析。

AI 就绪度

该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。

24存在风险 · 占总体的 4%
评分方式
0/45代理指令没有 CLAUDE.md / AGENTS.md / 编辑器规则
0/15机器可读文档(llms.txt)
0/40可读的提交历史无数据
所用输入
has_llms_txt
llms_txt_url
legible_history_share
agent_instruction_files
agent_instruction_max_bytes
已排除计分(无数据或不适用):可读的提交历史。 其余权重已重新归一化。
评分方式
0/18一条命令的引导启动
0/22自动化测试
11/11Lint / 格式化配置
0/11静态类型检查
10/10可复现环境lockfile
0/10已体现的代理实践最近 100 次提交中没有代理编写的提交
8/8自动化维护最近 100 次提交中有 1 次为自动依赖更新
0/10OpenSSF Scorecard:Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
所用输入
has_nix
has_tests
lockfilesuv.lock
has_dockerfile
typed_language
bootstrap_files
has_devcontainer
has_linter_config
typecheck_configs
agent_commit_share0
toolchain_manifests
dependency_bot_commit_share0.01
评分方式
0/45可类型检查的代码Python,未配置类型检查
55/55可控的文件大小采样的 1 个源文件中有 0 个超过 60KB
所用输入
primary_languagePython
largest_source_bytes12,031
source_files_sampled1
oversized_source_files0

关键数据

16GitHub 星标
5贡献者
141最近 12 个月提交数
0距最近推送天数
100发布版本数
1巴士系数(bus factor)
0开放议题
PyPI软件包生态系统数

数据采集警告

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

更多细节

Star 与 Fork 历史 0 ★ / 4 ⇿
0Star
4Fork
37发布

每颗 star 和每个 fork 的添加时间,来自 GitHub 并按天汇总。累计增长位于其构成来源——每日新增——的正上方,二者可相互对照:稳定的自然增长与短暂的突增形态截然不同。当这一差别可被衡量时,它会作为增长真实性予以报告。

1223344412023-082024-112026-03
主版本 0次版本 3修订 12

每个点涵盖 3 天。

OpenSSF Scorecard 4.5 / 10
4.5综合

来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。Scorecard v5.5.0 · 2026-08-06 03:48 UTC

10Binary-Artifactsno binaries found in the repo
4Branch-Protectionbranch protection is not maximal on development and all release branches
不适用CI-Testsno pull request found
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 0/30 approved changesets -- score normalized to 0
10Contributorsproject has 4 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
不适用Packagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTno SAST tool detected
0Security-Policysecurity policy file not detected
不适用Signed-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0Vulnerabilities10 existing vulnerabilities detected
直接依赖 1
注册表软件包版本约束清单文件
PyPIhomeassistant==2026.8.0pyproject.toml
全部依赖 134

来自 GitHub 依赖图的完整解析依赖集合:1 个直接依赖与 133 个间接(传递)软件包。仓库提交锁文件时,传递闭包才是完整的。

注册表软件包版本关系
PyPIhomeassistant2026.8.0直接
PyPIacme5.4.0间接
PyPIaiodns4.0.4间接
PyPIaiogithubapi26.0.0间接
PyPIaiohappyeyeballs2.6.1间接
PyPIaiohttp3.14.3间接
PyPIaiohttp-asyncmdnsresolver0.2.0间接
PyPIaiohttp-cors0.8.1间接
PyPIaiohttp-fast-zlib0.3.0间接
PyPIaiooui0.1.7间接
PyPIaiosignal1.4.0间接
PyPIaiozoneinfo0.2.3间接
PyPIannotatedyaml1.0.2间接
PyPIanyio4.7.0间接
PyPIastral2.2间接
PyPIastroid3.3.8间接
PyPIasync-interrupt1.2.2间接
PyPIatomicwrites-homeassistant1.4.1间接
PyPIattrs26.1.0间接
PyPIaudioop-lts0.2.2间接
PyPIawesomeversion25.8.0间接
PyPIbackoff2.2.1间接
PyPIbcrypt5.0.0间接
PyPIbleak3.0.1间接
PyPIbleak-retry-connector4.6.0间接
PyPIbluetooth-adapters2.1.1间接
PyPIbluetooth-auto-recovery1.5.3间接
PyPIbluetooth-data-tools1.28.4间接
PyPIboto31.35.92间接
PyPIbotocore1.35.92间接
PyPIbtsocket0.3.0间接
PyPIcertifi2024.12.14间接
PyPIcffi2.0.0间接
PyPIcharset-normalizer3.4.1间接
PyPIciso86012.3.3间接
PyPIcodespell2.3.0间接
PyPIcolorama0.4.6间接
PyPIcronsim2.7间接
PyPIcryptography48.0.1间接
PyPIdbus-fast4.0.4间接
PyPIdeprecated1.2.15间接
PyPIdill0.3.9间接
PyPIenvs1.4间接
PyPIfnv-hash-fast2.0.3间接
PyPIfnvhash0.1.0间接
PyPIfrozenlist1.5.0间接
PyPIgreenlet3.5.0间接
PyPIgrpcio1.76.0间接
PyPIh110.14.0间接
PyPIhabluetooth6.1.0间接
PyPIhass-nabucasa2.2.0间接
PyPIhome-assistant-bluetooth2.0.0间接
PyPIhttpcore1.0.7间接
PyPIhttpx0.28.1间接
PyPIicmplib3.0.4间接
PyPIidna3.10间接
PyPIifaddr0.2.0间接
PyPIisort5.13.2间接
PyPIjinja23.1.6间接
PyPIjmespath1.0.1间接
PyPIjosepy2.0.0间接
PyPIlru-dict1.4.1间接
PyPImarkupsafe3.0.2间接
PyPImashumaro3.15间接
PyPImccabe0.7.0间接
PyPImultidict6.1.0间接
PyPImypy1.16.0+dev.93ff49da8453384f445ab22d32366baf96ed0f6f间接
PyPImypy-extensions1.0.0间接
PyPIorjson3.11.9间接
PyPIpackaging24.2间接
PyPIpathspec0.12.1间接
PyPIpillow12.3.0间接
PyPIplatformdirs4.3.6间接
PyPIpropcache0.5.2间接
PyPIpsutil6.1.1间接
PyPIpsutil-home-assistant0.0.1间接
PyPIpycares5.0.1间接
PyPIpycognito2024.5.1间接
PyPIpycparser2.22间接
PyPIpygithub2.5.0间接
PyPIpyjwt2.13.0间接
PyPIpylint3.3.3间接
PyPIpynacl1.5.0间接
PyPIpyobjc-core10.3.2间接
PyPIpyobjc-framework-cocoa10.3.2间接
PyPIpyobjc-framework-corebluetooth10.3.2间接
PyPIpyobjc-framework-libdispatch10.3.2间接
PyPIpyopenssl26.2.0间接
PyPIpyrfc33392.0.1间接
PyPIpyric0.1.6.3间接
PyPIpython-dateutil2.9.0.post0间接
PyPIpython-slugify8.0.4间接
PyPIpytz2024.2间接
PyPIpyyaml6.0.3间接
PyPIregex2024.11.6间接
PyPIrequests2.34.2间接
PyPIruff0.8.6间接
PyPIs3transfer0.10.4间接
PyPIsecuretar2026.4.1间接
PyPIsentence-stream1.2.0间接
PyPIsix1.17.0间接
PyPIsniffio1.3.1间接
PyPIsnitun0.45.1间接
PyPIsqlalchemy2.0.51间接
PyPIstandard-aifc3.13.0间接
PyPIstandard-chunk3.13.0间接
PyPIstandard-telnetlib3.13.0间接
PyPItext-unidecode1.3间接
PyPItomlkit0.13.2间接
PyPItypes-requests2.31.0.6间接
PyPItypes-urllib31.26.25.14间接
PyPItyping-extensions4.15.0间接
PyPItzdata2024.2间接
PyPIuart-devices0.1.0间接
PyPIulid-transform2.2.9间接
PyPIurllib32.5.0间接
PyPIusb-devices0.4.5间接
PyPIuv0.11.31间接
PyPIvoluptuous0.15.2间接
PyPIvoluptuous-openapi0.4.1间接
PyPIvoluptuous-serialize2.7.0间接
PyPIwebrtc-models0.3.0间接
PyPIwinrt-runtime3.2.1间接
PyPIwinrt-windows-devices-bluetooth3.2.1间接
PyPIwinrt-windows-devices-bluetooth-advertisement3.2.1间接
PyPIwinrt-windows-devices-bluetooth-genericattributeprofile3.2.1间接
PyPIwinrt-windows-devices-enumeration3.2.1间接
PyPIwinrt-windows-devices-radios3.2.1间接
PyPIwinrt-windows-foundation3.2.1间接
PyPIwinrt-windows-foundation-collections3.2.1间接
PyPIwinrt-windows-storage-streams3.2.1间接
PyPIwrapt1.17.0间接
PyPIyarl1.24.5间接
PyPIzeroconf0.150.0间接
依赖安全公告 3

安装 pypi:homeassistant-stubs@2026.7.4 会引入 102 个包(直接与传递):其中 3 个存在已知公告,0 个为直接依赖。

软件包版本关系严重程度公告数修复版本
pillow12.2.0间接严重2612.3.0
cryptography48.0.1间接650.0.0
pyjwt2.12.1间接92.13.0

公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。

原始 JSON 报告 机器可读

反馈

发现这份报告有不准确之处,或有想法要分享?错误的测量、未识别的工具、建议、疑问——都欢迎提出。每条消息都会被阅读并得到回复。

登录过程中消息不会丢失。

评分是信号,而非担保。 评分反映的是 GitHub 上公开可见的实践——不是代码审计,也不是安全保证。

缺失数据将被剔除并重新归一化权重,绝不按零分计。方法论已版本化并公开:指标 v2.10.0、模式 v0.31.0—— 完整方法论 · 指标知识库.

单项结果在整体记录中的位置: 汇总统计PyPI.