公开记录
软件健康报告模式 0.34.0 · 指标 2.10.0 · 2026-10-21 07:40 UTC

langfuse / langfuse-python

🪢 Langfuse Python SDK

PythonMIT★ 502 星标⑂ 380 复刻始于 2023年7月在 GitHub 上查看 ↗
类型库如何判定

langfuse/langfuse-python 的健康指数为 100 分中的 93 分,处于「卓越」区间。 其得分最高的类别是Vitality(95/100),最低的是Security(62/100)。 最近一次更新在今天。 近期的大部分工作由 2 位贡献者完成。

93
总分 / 100
卓越

软件健康指数

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

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

评分画像

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

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

所有权

Langfuse组织 · 域名已验证
1,194 关注者27 个公开仓库始于 2023年5月

该仓库由组织支持——共同承担、可问责的托管责任,可延续于任何单一维护者之后。

软件包生态系统

按类别列示的指标

活力

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

95卓越 · 占总体的 21%
评分方式
36/36推送新近度 — 最近一次推送于 0 天前
35.3/36提交节奏 — 52 周中有 51 周有提交
18/18提交量 — 最近一年 355 次提交
10/10OpenSSF Scorecard:Maintained — 30 commit(s) and 9 issue activity found in the last 90 days -- score normalized to 10
所用输入
commits_last_year355
human_commit_share0.77
days_since_last_push0
active_weeks_last_year51

发布纪律

90优秀
评分方式
27/27有发布版本 — 已发布 100 个发布版本
36/36发布时效 — 最近一次发布版本于 0 天前
27/27发布节奏 — 约每 3.8 天发布一次
0/10OpenSSF Scorecard:Signed-Releases — Project has not signed or included provenance with any releases.
所用输入
releases_count100
latest_release_tagv5.0.4
releases_from_tags否
days_since_latest_release0
mean_days_between_releases3.8

社区与采用

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

80优秀 · 占总体的 17%
评分方式
43.8/60星标 — 502 个星标
21.5/25复刻 — 380 个复刻
3.9/15关注者 — 6 位关注者
所用输入
forks380
stars502
watchers6
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

77良好
评分方式
22.5/22.5README
22.5/22.5许可证 — 可识别的许可证(MIT)
18/18CONTRIBUTING 指南
0/13.5行为准则
0/7.2议题模板
6.3/6.3PR 模板
所用输入
has_readme是
has_license是
readme_badges6
has_contributing是
has_issue_template否
has_code_of_conduct否
readme_badge_servicesshields.io
has_pull_request_template是
评分方式
80/80月度下载量 — pypi 合计每月 23,563,200 次下载
0/20注册表被依赖数 — 该生态系统不报告此项
所用输入
packageslangfuse
dependents—
ecosystemspypi
total_downloads—
monthly_downloads23,563,200
unverified_packages_excluded—
已排除计分(无数据或不适用):注册表被依赖数。 其余权重已重新归一化。

可持续性与治理

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

75良好 · 占总体的 23%
评分方式
25.2/54巴士系数 — 2 位贡献者贡献了半数提交
13.8/22.5提交分布 — 头号贡献者编写了 39% 的提交
13.5/13.5贡献者广度 — 76 位贡献者
10/10OpenSSF Scorecard:Contributors — project has 6 contributing companies or organizations
所用输入
bus_factor2
contributors_sampled76
top_contributor_share0.388
评分方式
31.7/42议题解决 — 76% 的议题已关闭
18.5/30PR 接受 — 已裁定的 PR 中 1,141/1,849 已合并
2.4/13Newcomer PR acceptance — 30 天内首次贡献者的 PR 已合并 2/11
3/15OpenSSF Scorecard:Code-Review — Found 6/26 approved changesets -- score normalized to 2
所用输入
merged_prs1,141
open_issues13
closed_issues40
prs_merged_7d11
prs_decided_7d35
prs_merged_30d24
prs_decided_30d53
issue_closed_ratio0.755
closed_unmerged_prs708
first_time_authors_30d9
first_time_prs_merged_30d2
first_time_prs_decided_30d11
评分方式
30/30所有权背书 — 组织持有
20/20已验证域名
22.1/25所有者影响力 — langfuse 有 1,194 位关注者
17.3/25既往记录 — 27 个公开仓库,账户约 3 年
所用输入
followers1,194
owner_typeOrganization
is_verified是
owner_loginlangfuse
public_repos27
account_age_days1,244
评分方式
25/25已发布且可解析 — pypi 上有 1 个软件包
35/35发布时效 — 最近一次发布于 0 天前
20/20版本历史 — 560 个已发布版本
20/20未被弃用 — 活跃,未被弃用或撤回
所用输入
packageslangfuse
ecosystemspypi
any_deprecated否
min_days_since_publish0

工程质量

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

80优秀 · 占总体的 19%

工程实践

90优秀
评分方式
24/24CI 工作流 — 9 个工作流
24/24存在测试
16/16Linter 配置 — pyproject.toml ([tool.ruff])
9.6/9.6Pre-commit 钩子
0/6.4.editorconfig
16/20OpenSSF Scorecard:CI-Tests — 19 out of 22 merged PRs checked by a CI test -- score normalized to 8
所用输入
has_ci是
has_tests是
has_editorconfig否
has_linter_config是
has_precommit_config是

文档

65良好
评分方式
30/30README
0/25文档目录
15/15文档 / 主页站点 — https://langfuse.com/docs/observability/sdk/overview
10/10仓库描述
10/10主题标签 — 5 个主题标签
0/10Wiki
所用输入
topicsdecorators, langfuse, pydantic, pydantic-v2, python
has_wiki否
homepagehttps://langfuse.com/docs/observability/sdk/overview
docs_sitehttps://langfuse.com/docs/observability/sdk/overview
has_readme是
has_docs_dir否
has_description是

安全

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

62中等 · 占总体的 16%

安全态势

52中等
评分方式
7.5/7.5Binary-Artifacts — no binaries found in the repo
3/7.5Branch-Protection — branch protection is not maximal on development and all release branches
2/2.5CI-Tests — 19 out of 22 merged PRs checked by a CI test -- score normalized to 8
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
1.5/7.5Code-Review — Found 6/26 approved changesets -- score normalized to 2
2.5/2.5Contributors — project has 6 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5许可证 — license file detected
7.5/7.5Maintained — 30 commit(s) and 9 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging — 无数据
4/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 8
4.5/5SAST — SAST tool detected but not run on all commits
0/5Security-Policy — security policy file not detected
0/7.5Signed-Releases — Project has not signed or included provenance with any releases.
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
0/7.5Vulnerabilities — 22 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate5.2
已排除计分(无数据或不适用):Packaging。 其余权重已重新归一化。
评分方式
35/35直接依赖不含已知公告 — 没有直接依赖携带已知公告
0/25间接依赖不含已知公告 — 在此范围内,传递依赖集合无法与开发和测试依赖区分
0/40没有长期未处理的公告 — 没有公告带有发布日期
所用输入
sourceosv
advisories43
affected_packages14
assessed_packages97
unassessed_packages0
affected_by_severitycritical 1, high 6, moderate 5, low 2
direct_affected_packages0
已排除计分(无数据或不适用):间接依赖不含已知公告, 没有长期未处理的公告。 其余权重已重新归一化。 已将 97 个已解析依赖与 OSV 比对。 该仓库未发布任何索引可解析的软件包,因此改为评估仓库依赖图。该图将开发与测试版本固定同交付的依赖混在一起,因此仅对声明的运行时依赖计分;传递性发现仅作为背景信息列出,不计入评分。 未对可达性进行分析。

AI 就绪度

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

87优秀 · 占总体的 4%
评分方式
45/45代理指令 — AGENTS.md
15/15机器可读文档(llms.txt) — 项目网站提供 llms.txt(https://langfuse.com/llms.txt)
40/40可读的提交历史 — 77 次人类提交中有 77 次说明了意图(结构化标题或解释性正文)
所用输入
has_llms_txt是
llms_txt_urlhttps://langfuse.com/llms.txt
legible_history_share1
agent_instruction_filesAGENTS.md
agent_instruction_max_bytes8,316
评分方式
0/18一条命令的引导启动
22/22自动化测试
11/11Lint / 格式化配置 — pyproject.toml ([tool.ruff])
11/11静态类型检查 — langfuse/py.typed
10/10可复现环境 — lockfile
10/10已体现的代理实践 — 最近 100 次提交中有 15 次由代理编写或署名代理
8/8自动化维护 — 最近 100 次提交中有 23 次为自动依赖更新
8/10OpenSSF Scorecard:Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 8
所用输入
has_nix否
has_tests是
lockfilesuv.lock
has_dockerfile否
typed_language否
bootstrap_files—
has_devcontainer否
has_linter_config是
typecheck_configslangfuse/py.typed
agent_commit_share0.15
toolchain_manifests—
dependency_bot_commit_share0.23
评分方式
27/45可类型检查的代码 — Python,已配置类型检查(langfuse/py.typed)
53.7/55可控的文件大小 — 采样的 575 个源文件中有 14 个超过 60KB
所用输入
primary_languagePython
largest_source_bytes173,476
source_files_sampled575
oversized_source_files14

关键数据

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

数据采集警告

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • First-time contributor figures cover 12 of 20 authors (cap 12)
  • deps.dev does not index pypi:langfuse@5.0.4; advisories assessed against the repository dependency graph instead

更多细节

Star 与 Fork 历史 0 ★ / 380 ⇿
0Star
380Fork
98发布

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

010020030040037792023-072025-032026-10
主版本 1次版本 27修订 63

每个点涵盖 3 天。

OpenSSF Scorecard 5.2 / 10
5.2综合

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

10Binary-Artifactsno binaries found in the repo
4Branch-Protectionbranch protection is not maximal on development and all release branches
8CI-Tests19 out of 22 merged PRs checked by a CI test -- score normalized to 8
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
2Code-ReviewFound 6/26 approved changesets -- score normalized to 2
10Contributorsproject has 6 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 9 issue activity found in the last 90 days -- score normalized to 10
不适用Packagingpackaging workflow not detected
8Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 8
9SASTSAST tool detected but not run on all commits
0Security-Policysecurity policy file not detected
0Signed-ReleasesProject has not signed or included provenance with any releases.
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0Vulnerabilities22 existing vulnerabilities detected
直接依赖 9
注册表软件包版本约束清单文件
PyPIhttpx>=0.15.4,<1.0pyproject.toml
PyPIpydantic>=2,<3pyproject.toml
PyPIbackoff>=1.10.0pyproject.toml
PyPIwrapt>=1.14,<3pyproject.toml
PyPIpackaging>=23.2,<27.0pyproject.toml
PyPIopentelemetry-api>=1.45.0,<2pyproject.toml
PyPIopentelemetry-sdk>=1.45.0,<2pyproject.toml
PyPIopentelemetry-exporter-otlp-proto-http>=1.45.0,<2pyproject.toml
PyPItyping-extensions>=4.12.2,<5pyproject.toml
全部依赖 97

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

注册表软件包版本关系
PyPIbackoff2.2.1直接
PyPIhttpx0.28.1直接
PyPIopentelemetry-api1.45.0直接
PyPIopentelemetry-exporter-otlp-proto-http1.45.0直接
PyPIopentelemetry-sdk1.45.0直接
PyPIpackaging26.0直接
PyPIpydantic2.14.0直接
PyPItyping-extensions4.16.0直接
PyPIwrapt1.17.3直接
PyPIannotated-types0.7.0间接
PyPIanyio4.12.1间接
PyPIattrs26.1.0间接
PyPIautoevals0.0.130间接
PyPIcertifi2026.2.25间接
PyPIcffi2.1.1间接
PyPIcfgv3.5.0间接
PyPIcharset-normalizer3.4.6间接
PyPIchevron0.14.0间接
PyPIcolorama0.4.6间接
PyPIdistlib0.4.0间接
PyPIdistro1.9.0间接
PyPIexecnet2.1.2间接
PyPIfilelock3.25.2间接
PyPIgevent26.9.0间接
PyPIgoogleapis-common-protos1.73.0间接
PyPIgreenlet3.5.6间接
PyPIh110.16.0间接
PyPIhttpcore1.0.9间接
PyPIidentify2.6.18间接
PyPIidna3.15间接
PyPIiniconfig2.3.0间接
PyPIjinja23.1.6间接
PyPIjiter0.17.0间接
PyPIjsonpatch1.33间接
PyPIjsonpointer3.1.0间接
PyPIjsonschema4.26.0间接
PyPIjsonschema-specifications2025.9.1间接
PyPIlangchain1.2.13间接
PyPIlangchain-core1.2.22间接
PyPIlangchain-openai1.1.12间接
PyPIlangfuse5.0.4间接
PyPIlanggraph1.1.3间接
PyPIlanggraph-checkpoint4.0.1间接
PyPIlanggraph-prebuilt1.0.8间接
PyPIlanggraph-sdk0.3.12间接
PyPIlangsmith0.8.0间接
PyPIlibrt0.16.0间接
PyPImarkupsafe3.0.4间接
PyPImypy1.19.1间接
PyPImypy-extensions1.1.0间接
PyPInodeenv1.10.0间接
PyPIopenai2.29.0间接
PyPIopentelemetry-exporter-http-transport0.66b0间接
PyPIopentelemetry-exporter-otlp-common0.66b0间接
PyPIopentelemetry-exporter-otlp-proto-common1.45.0间接
PyPIopentelemetry-instrumentation0.66b0间接
PyPIopentelemetry-instrumentation-threading0.66b0间接
PyPIopentelemetry-proto1.45.0间接
PyPIopentelemetry-semantic-conventions0.66b0间接
PyPIorjson3.12.0间接
PyPIormsgpack1.12.2间接
PyPIpathspec1.0.4间接
PyPIpdoc15.0.4间接
PyPIplatformdirs4.9.4间接
PyPIpluggy1.6.0间接
PyPIpolyleven0.11.0间接
PyPIpre-commit3.8.0间接
PyPIprotobuf6.33.6间接
PyPIpycparser3.11间接
PyPIpydantic-core2.50.0间接
PyPIpygments2.19.2间接
PyPIpytest8.4.2间接
PyPIpytest-asyncio1.1.1间接
PyPIpytest-httpserver1.1.5间接
PyPIpytest-timeout2.4.0间接
PyPIpytest-xdist3.8.0间接
PyPIpython-discovery1.2.0间接
PyPIpyyaml6.0.3间接
PyPIreferencing0.37.0间接
PyPIregex2026.9.29间接
PyPIrequests2.32.5间接
PyPIrequests-toolbelt1.0.0间接
PyPIrpds-py2026.9.1间接
PyPIruff0.15.7间接
PyPIsniffio1.3.1间接
PyPItenacity9.1.4间接
PyPItiktoken0.14.0间接
PyPItqdm4.67.3间接
PyPItyping-inspection0.4.4间接
PyPIurllib32.7.0间接
PyPIuuid-utils0.14.1间接
PyPIvirtualenv21.2.0间接
PyPIwerkzeug3.1.6间接
PyPIxxhash4.0.1间接
PyPIzope-event6.2间接
PyPIzope-interface8.6间接
PyPIzstandard0.25.0间接
依赖安全公告 14

该仓库未发布可被索引解析的包,因此评估的是其自身的依赖图——共 97 个包,其中也包含从不交付的开发与测试版本固定:14 个存在已知公告,0 个为直接依赖。

软件包版本关系严重程度公告数修复版本
anyio4.12.1间接严重44.14.2
certifi2026.2.25间接高22026.10.19
langchain-core1.2.22间接高41.3.3
langgraph-sdk0.3.12间接高40.4.4
langsmith0.8.0间接高10.8.18
urllib32.7.0间接高62.8.0
virtualenv21.2.0间接高821.7.13
langchain1.2.13间接中21.4.6
langgraph-checkpoint4.0.1间接中24.1.1
pytest8.4.2间接中29.0.3
requests2.32.5间接中22.33.0
werkzeug3.1.6间接中23.1.9
langchain-openai1.1.12间接低21.1.14
pygments2.19.2间接低22.20.0

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

原始 JSON 报告 机器可读

反馈

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

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

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

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

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