Skip to main content

RCPCHGrowth Python library

Calculations for children's measurements against UK and international growth references.

PyPI version License: AGPL v3 Binder Codespaces

For AI/LLM agents working on this repository: Please read AGENTS.md for project context, development workflow, and testing strategy.

Please go to https://growth.rcpch.ac.uk/products/python-library/ for full documentation.

Issues can be raised here https://github.com/rcpch/rcpchgrowth-python/issues


Installation

Docker

If you want to avoid setting up docker environments, there are shortcut scripts the create a dockerized environment with RCPCHGrowth already installed.

This will generate a container which will launch some Jupyter notebooks in a browser and allow local dev (with hot reload).

Convenience Scripts

The s/ folder contains helper scripts for common development tasks:

Script Purpose
s/up Start the development container
s/down Stop the development container
s/test Run pytest (auto-starts container if needed; use --running flag for already-running container)
s/notebook Launch JupyterLab in your browser
s/shell Open an interactive bash shell in the container
s/python Launch Python REPL in the container

Quick start:

# Start the container and launch notebooks
s/notebook

# Run tests (in a separate terminal)
s/test

# Or run tests in an already-running container
s/test --running

# Run the UK-WHO integration suite
s/test rcpchgrowth/tests/test_uk_who.py -v

# Reference WHO test datasets and under-2 gold-standard rationale
# (192 deterministic anthro-generated cases)
# See rcpchgrowth/tests/who_test_data/README.md

# Stop when done
s/down

Minimal installation (without docker) assuming you have a python virtual env setup

pip install rcpchgrowth

With notebook & package dependencies:

pip install "rcpchgrowth[notebook]"

The notebook extra currently pulls in: pandas, matplotlib, jupyterlab, ipykernel.

Data handling / privacy

Data handling & privacy
Never commit identifiable patient data.
• Keep raw identifiable data outside version control (secure, access‑controlled).
• De‑identify before analysis (remove names, NHS numbers, full DOB; date‑shift if required).
• Do not push raw exports to forks, PRs or gists.
• Use ResearchTemplate.ipynb for generating de‑identified derived outputs.
If in doubt, stop and seek local information governance guidance.

Contributing

See issues list and please open discussions before large changes.


Copyright © Royal College of Paediatrics and Child Health

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rcpchgrowth-4.6.2.tar.gz (4.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rcpchgrowth-4.6.2-py3-none-any.whl (4.2 MB view details)

Uploaded Python 3

File details

Details for the file rcpchgrowth-4.6.2.tar.gz.

File metadata

  • Download URL: rcpchgrowth-4.6.2.tar.gz
  • Upload date:
  • Size: 4.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for rcpchgrowth-4.6.2.tar.gz
Algorithm Hash digest
SHA256 48b41bccf19cd869b494bbb85887c9bb63a8487eb907f7210639e348ba03fe1a
MD5 e252305218126116640fb8fcd36544b7
BLAKE2b-256 d9c3fcfba10a361238de5db571d5132a7c4fb360a87751ac960f8a7f5682ddac

See more details on using hashes here.

Provenance

The following attestation bundles were made for rcpchgrowth-4.6.2.tar.gz:

Publisher: python-publish.yml on rcpch/rcpchgrowth-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rcpchgrowth-4.6.2-py3-none-any.whl.

File metadata

  • Download URL: rcpchgrowth-4.6.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for rcpchgrowth-4.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b75f33b06e2a71041c137ebe5e2dcd34e04f92ccd456a5e8699a8c55de741a6f
MD5 396b5d2bf88995d9c4f8e1d331151b77
BLAKE2b-256 4742915294772de707f3e6df11a273ccf16b3b19ca10be202872f55a88df3209

See more details on using hashes here.

Provenance

The following attestation bundles were made for rcpchgrowth-4.6.2-py3-none-any.whl:

Publisher: python-publish.yml on rcpch/rcpchgrowth-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

4.6.4

2 files

This release

4.6.2 This release

2 files

4.6.1

2 files

4.6.0

2 files

4.5.1

2 files

4.5.0

2 files

4.4.1

2 files

4.4.0

2 files

4.3.8

2 files

4.3.7

2 files

4.3.6

2 files

4.3.5

2 files

4.3.4

2 files

4.3.3

2 files

4.3.2

2 files

4.3.1

2 files

4.3.0

2 files

4.2.8

2 files

4.2.7

2 files

4.2.6

2 files

4.2.5

2 files

4.2.4

2 files

4.2.3

2 files

4.2.1

2 files

4.2.0

2 files

4.1.1

2 files

4.1.0

2 files

4.0.2

2 files

4.0.1

2 files

4.0.0

2 files

3.2.1

2 files

3.2.0

2 files

3.1.17

2 files

3.1.16

2 files

3.1.14

2 files

3.1.13

2 files

3.1.12

2 files

3.1.11

2 files

3.1.10

2 files

3.1.9

2 files

3.1.8

2 files

3.1.7

2 files

3.1.6

2 files

3.1.5

2 files

3.1.4

2 files

3.1.3

2 files

3.0.1

2 files

3.0.0

2 files

2.5.1

2 files

2.5.0

2 files

2.4.3

2 files

2.4.2

2 files

2.4.1

2 files

2.4.0

2 files

2.3.20

2 files

2.3.19

2 files

2.3.17

2 files

2.3.16

2 files

2.3.15

2 files

2.3.14

2 files

2.3.13

2 files

2.3.12

2 files

2.3.11

2 files

2.3.10

2 files

2.3.9

2 files

2.3.7

2 files

2.3.5

2 files

2.3.4

2 files

2.3.3

2 files

2.3.2

2 files

2.3.1

2 files

2.3.0

2 files

2.2.9

2 files

2.2.8

2 files

2.2.7

2 files

2.2.6

2 files

2.2.5

2 files

2.2.2

2 files

2.2.1

2 files

2.1.20

2 files

2.1.14

2 files

2.1.13

2 files

2.1.12

2 files

2.1.11

2 files

2.1.10

2 files

2.1.9

2 files

2.1.8

2 files

2.1.7

2 files

2.1.6

2 files

2.1.5

2 files

2.1.3

2 files

2.1.2

2 files

0.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page