Skip to main content

This package contains a BMI (Body Mass Index) calculator program with UI.

Project description

BMI Calculator

GitHub: https://github.com/Miqbal20/kalkulator-bmi

Body Mass Index (BMI)

Body Mass Index or BMI is a measure used to indicate the weight category of a person. This calculation method was initially developed in the 19th century by Adolphe Quetelet. Another term used for BMI is Quetelet index.

Screenshots

Initial View In Use
Screenshots - Initial View Screenshots - In Use

Installation & How to Use

This project supports two execution modes: using Poetry (recommended) or a standard Python Virtual Environment (venv).

Prerequisites

This application requires tkinter for its Graphical User Interface.

  • Windows: tkinter is included in the standard Python installer by default. Ensure the "tcl/tk and IDLE" option is checked when installing Python.
  • macOS: tkinter is included if you install Python from python.org. If you use Homebrew, you can install it via:
    brew install python-tk
    
  • Linux (Ubuntu/Debian): Install via your package manager:
    sudo apt-get update && sudo apt-get install -y python3-tk
    

Option 1: Using Poetry

  1. Make sure you have Poetry installed.
  2. Install the project dependencies:
poetry install
  1. Run the GUI Application:
poetry run bmi-calculator

Option 2: Using standard Python venv

  1. Create a virtual environment:
python3 -m venv venv
  1. Activate the virtual environment:
  • On Linux/macOS:
    source venv/bin/activate
    
  • On Windows:
    venv\Scripts\activate
    
  1. Install dependencies from requirements.txt:
pip install -r requirements.txt
  1. Run the application:
python main.py

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

kalkulator_bmi-1.0.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

kalkulator_bmi-1.0.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file kalkulator_bmi-1.0.0.tar.gz.

File metadata

  • Download URL: kalkulator_bmi-1.0.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.7 Linux/6.17.0-19-generic

File hashes

Hashes for kalkulator_bmi-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f61dd190b94bb3639d06af8dc714aa9e2077de6cd7ce212c7cb7d9added487ec
MD5 1d6f6657a20c72ac98736d952ac1e610
BLAKE2b-256 c50c0c0d39432bd866249a183d3d662f2f7d6c39242fdbcb952b25856aea75bb

See more details on using hashes here.

File details

Details for the file kalkulator_bmi-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: kalkulator_bmi-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.7 Linux/6.17.0-19-generic

File hashes

Hashes for kalkulator_bmi-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 40d444a419515b05c7f8ec8693df26195f6e8bf1bd98b2c007b84034d62d29bd
MD5 5676266e6d6e72248d05f8094d84680d
BLAKE2b-256 7b0297b5386b55a8adf04da53146b30ec648d0d50057e7172e1214bd93ad3a9c

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