Skip to content

[For training purposes] An example python package to calculate health indicators

Notifications You must be signed in to change notification settings

ed-rhilbert/pyhealth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyhealth

Python package to calculate health indicators

  • Renan HILBERT
  • v0.0.1 (July 2023)

Installation

 pip install git+https://github.com/ed-rhilbert/pyhealth

Getting started

>>> from pyhealth.calculations.calculate import calculate_bmi

>>> heights = [1.75, 1.65, 1.80]
>>> weights = [80, 55, 95.2]

>>> bmis = calculate_bmi(heights, weights)
>>> print(bmis)

[26.122448979591837, 20.202020202020204, 29.382716049382715]

Contribution

git clone git@github.com:ed-rhilbert/pyhealth.git
cd pyhealth/
python3 -m venv venv
source venv/bin activate
pip install -r requirements.txt
pip install -e .

Tests

pytest

Test with code coverage

pytest --cov

Documentation

TO DO

About

[For training purposes] An example python package to calculate health indicators

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages