Skip to main content

BMI, BMI Category, Health Risk calculation

Project description

BMI Calculator

Python BMI Calculator calculates BMI, BMI Category and Health risk from Height and Weight of the persons and total number of overweight people in data.

Objective :

  1. Read the JSON raw data and created new fields for BMI, BMI Category and Health risk.
  2. Find out the total number of overweight pesons in data.
  3. Validation test case has been performed.

Prerequisites:

  1. BMI Calculator package
  2. Python Libraries needed : pandas, json

Installation:

pip install BMI_APP

Usage :

from BMI_APP import health

a = health("data.json") # read raw json data

a.getData() # displays updated dataframe with new columns

a.overweights() # returns number of over persons

PyPi Package :

The package has been build and uploaded at https://github.com/manishgupta-ind/code-20220528-manishgupta

Project details


Download files

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

Source Distribution

BMI_APP-0.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

BMI_APP-0.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file BMI_APP-0.2.tar.gz.

File metadata

  • Download URL: BMI_APP-0.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.7

File hashes

Hashes for BMI_APP-0.2.tar.gz
Algorithm Hash digest
SHA256 fb0f0efd7da38a4e7330e34952a2c91a415dbf0327fb75951c3f68b4dba5f141
MD5 592bed7f2877121039f613c46d9dfa60
BLAKE2b-256 14350515f2cc9fc3413c59aea711d1962387420f9ded5c2f880eecaf2fceb88f

See more details on using hashes here.

File details

Details for the file BMI_APP-0.2-py3-none-any.whl.

File metadata

  • Download URL: BMI_APP-0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.7

File hashes

Hashes for BMI_APP-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7796c116b988500cd91613de40237ea3aba512c2e52cb97fc42359b134adaf39
MD5 5539a5fe892ae2340583334438719666
BLAKE2b-256 8801a42715cac9c409f348ab02599dea2de93a91157fc266eae946fcda1c9084

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page