Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/muhammadahmed-0/bmi-calculator

This is a simple BMI (Body Mass Index) calculator built using Streamlit, a Python library for creating web applications. The BMI calculator allows users to input their weight and height, select their preferred units, and calculates their BMI based on the input.
https://github.com/muhammadahmed-0/bmi-calculator

bmi bmi-calc bmi-calculator bmi-calculator-python bmicalculator body-mass-index calculator fitness python streamlit web-application

Last synced: 2 days ago
JSON representation

This is a simple BMI (Body Mass Index) calculator built using Streamlit, a Python library for creating web applications. The BMI calculator allows users to input their weight and height, select their preferred units, and calculates their BMI based on the input.

Awesome Lists containing this project

README

        

# BMI Calculator

This is a simple BMI (Body Mass Index) calculator built using Streamlit, a Python library for creating web applications. The BMI calculator allows users to input their weight and height, select their preferred units, and calculate their BMI based on the input.

Here is the GUI:

![image](https://github.com/MuhammadAhmed-0/BMI-Calculator/assets/92883593/75497e8b-da83-4fa5-8a4f-1766b77dc817)

## Features

- Input weight and height in either kilograms or pounds, and meters, centimeters, or inches respectively.
- Automatically converts weight and height units for accurate BMI calculation.
- Calculates BMI based on the formula: BMI = weight (kg) / (height (m) ^ 2).
- Provides an interpretation of the calculated BMI category (Underweight, Normal weight, Overweight, Obese).
- Responsive design for easy use on various devices.

## How to Use

1. Clone the repository to your local machine:

```
git clone https://github.com/your_username/bmi_calculator.git
```

2. Navigate to the project directory:

```
cd bmi_calculator
```

3. Install the required dependencies:

```
pip install streamlit
```

4. Run the Streamlit app:

```
streamlit run bmi_calculator.py
```

5. Access the BMI calculator in your web browser at the provided local address.

## Dependencies

- Streamlit: 0.86.0
- Python: 3.8 or higher

## Contributors

- [Muhammad Ahmed](https://github.com/MuhammadAhmed-0)