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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file bmi-kalculator-0.1.0.tar.gz.

File metadata

  • Download URL: bmi-kalculator-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3

File hashes

Hashes for bmi-kalculator-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5b1e0f84a758d6942adc54f0b2deeef9ae3490964305221f2d0aefcf20d2f3de
MD5 e15766ca43451d1bf646f9aaba400c41
BLAKE2b-256 6c3ffeccc842f82760a4947d74419be3087a940289f240d0ad3e4e667a5bb882

See more details on using hashes here.

File details

Details for the file bmi_kalculator-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bmi_kalculator-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3

File hashes

Hashes for bmi_kalculator-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7da99b5e02aceb0569d641cfb7a0990380b27eac481ad7de8b0cc82c744c4c9f
MD5 7420423d4bace7e37e6fd3ec1e5095df
BLAKE2b-256 bce915b28776884435c075101d076a42d7801b0006d542a554ffce624531edf9

See more details on using hashes here.

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