📦 NuGet Download Stats 动态下载图表

memoryfraction · GitHub · data: nuget.org live totals + daily snapshots (stats/history.jsonl)

loading…

Period downloads + cumulative trend

Bars = downloads in the selected period (day / ISO-week / calendar-month / calendar-year); in Year view each bar is stacked by version share; line = cumulative lifetime total at period end. 柱 = 当期下载量(年份视图柱内按版本分段叠加);线 = 期末累计总量。

Per-version breakdown(按版本,最新快照)

Latest snapshot · NuGet only publishes lifetime-cumulative per-version totals.

📊 Data source & granularity 数据源与粒度

  • NuGet 公开 API 提供:累计总下载量(按包 / 按版本,支持浏览器跨域)+ www.nuget.org/stats/reports/packages/{id} 的滚动“近 6 周”窗口(可按版本 / 客户端拆分,即 nuget.org “Package Downloads” 页面的数据源;无 CORS、固定 6 周窗口、仅服务端可调用,且不是时间序列)。v3 统计时间序列接口已下线(2026-08-25 实测全部 404,v3 service index 无 Stats 资源)。
  • 注册 API 还提供每个版本的发布时间戳(精确到秒)——但那是发布时间,不是下载量时间序列。
  • 最细粒度 = 天,且属于推导值:GitHub Actions 每天 11:30 UTC 快照一次累计计数,某天的下载量 = 相邻两次快照的差值。
  • 周 / 月 / 年视图 = 对这些日增量按日历周(ISO)/ 月 / 年的聚合。年份视图柱内按版本分段叠加。
  • 小时级更细:任何公开 NuGet 数据源都不支持。
  • NuGet 计数器本身有数小时延迟,最近一天可能要等下一次快照才完整。