← 返回
开发者工具 中文

WHO Growth Charts

Generate WHO child growth charts (height, weight, BMI) with percentile curves. Downloads official WHO reference data on demand. Use when users ask about chil...
生成WHO儿童身高、体重、BMI生长曲线(含百分位),按需下载官方参考数据,适用于用户询问儿童发育相关问题时使用。
odrobnik
开发者工具 clawhub v1.2.3 2 版本 99702.8 Key: 无需
★ 1
Stars
📥 2,664
下载
💾 83
安装
2
版本
#latest

概述

Generate WHO Child Growth Standards charts with percentile curves and child data overlay.

Features

  • Height-for-age (0-19 years)
  • Weight-for-age (0-10 years)
  • BMI-for-age (0-19 years)
  • Supports boys and girls
  • Downloads WHO data on demand from cdn.who.int (cached locally)
  • Overlays child's actual measurements with trend line

Examples

HeightWeightBMI
---------------------

Prerequisites

Install Python dependencies:

pip install pandas matplotlib scipy openpyxl

Usage

Basic Chart Generation

python3 ./scripts/growth_chart.py "Child Name" "DD.MM.YYYY" --sex F --type all

Arguments:

  • name: Child's name (used in chart title)
  • birthdate: Date of birth in DD.MM.YYYY format
  • --sex / -s: F (female) or M (male) — default: F
  • --type / -t: height, weight, bmi, or all — default: all
  • --data / -d: JSON file with measurement data
  • --output / -o: Output directory for charts

With Measurement Data

Create a JSON file with height/weight measurements (heights in meters, weights in kg):

{
  "heights": [ ["2024-01-15T10:00:00", 1.05] ],
  "weights": [ ["2024-01-15T10:00:00", 17.5] ]
}
python3 ./scripts/growth_chart.py "Emma" "06.07.2016" --sex F --data emma_data.json --type all

Integration with Withings

Combine with withings-family skill to fetch weight data automatically:

# Get Withings weight data (assuming withings-family skill is installed)
python3 ../withings-family/scripts/withings.py emma body > /tmp/withings.json

# Parse and generate charts
# (The growth chart script handles Withings JSON format if implemented, otherwise transform it)

Output

By default, charts and cache are written to:

  • /who-growth-charts/
  • /who-growth-charts/cache/

Where is the folder that contains your skills/ directory (auto-detected from CWD or script location).

版本历史

共 2 个版本

  • v1.2.3 当前
    2026-03-28 13:27 安全 安全
  • v1.2.1
    2026-03-07 11:37

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Sudoku

odrobnik
获取数独题目并以 JSON 形式保存在工作区;按需渲染图像;随后揭示解答。
★ 4 📥 4,500
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 323,992
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 66 📥 180,024