Cardiovascular Risk AssessmentMade Simple

Production-grade Python package for epidemiological research, clinical decision support, and public health analysis

Why CVD Risk Calculator?

A comprehensive, validated, and production-ready solution for cardiovascular risk assessment

7 Risk Models

Comprehensive collection of major CVD risk prediction algorithms

Production Ready

Type-safe, validated, and thoroughly tested (96% coverage)

Academic Quality

Validated against published results, suitable for research

Python 3.10+

Modern Python with full type hints and comprehensive docs

High Performance

Optimized for processing 1M+ patient records efficiently

Validated Inputs

Pydantic validation ensures data integrity and type safety

7 Validated Risk Models

Choose the right model for your population and use case

S

SCORE2

Year: 2021

Region: Europe

A

ASCVD

Year: 2013

Region: US

Q

QRISK3

Year: 2017

Region: UK

F

Framingham

Year: 1998

Region: US

S

SMART2

Year: 2014

Region: Europe

W

WHO

Year: 2019

Region: Global

G

Globorisk

Year: 2017

Region: Global

Interactive Demo

Try the risk calculator with sample patient data

Patient Information

Risk Assessment

Enter patient information and click "Calculate Risk"

Get Started in Minutes

# Install
pip install cvd-risk-calculator

# Usage
from cvd_risk_calculator.models import SCORE2
from cvd_risk_calculator.core.validation import PatientData

patient = PatientData(
    age=55, sex="male",
    systolic_bp=140.0,
    total_cholesterol=6.0,
    hdl_cholesterol=1.2,
    smoking=True,
    region="moderate"
)

model = SCORE2()
result = model.calculate(patient)
print(f"Risk: {result.risk_score:.1f}%")