Skip to main content

Calculates body mas index (BMI) based on a given set of parameters such as weight, height, gender, age and life-style

Project description

Calculates body mas index (BMI) based on a given set of parameters such as weight, height, gender, age and life-style

python setup.py sdist bdist_wheel

upload

pip install twine

twine upload --repository-url https://test.pypi.org/legacy/ dist/*
twine upload dist/*

python -m twine upload --repository testpypi dist/*
python -m twine upload --repository pypi dist/*

pip install -i https://test.pypi.org/simple/ --no-deps bmi-calculator-0.1.0

Usage:

import bmi_kalculator as bmi
>> bm = bmi.PersonForBMI(25, 150, 134, 'female')
>> bm.calculate_bmi()
>> bm.conclusions()

# OR
from bmi_kalculator import PersonForBMI as bmi
>> bm = bmi(23, 45, 56, 'f')
>> bm.calculate_bmi()
>> bm.conclusions()

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-kalculator-0.1.0.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

bmi_kalculator-0.1.0-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

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