A simple health & fitness utility library (BMI, calories, macros, hydration).
Project description
🏥 PyHealthify
A simple Python package for health, fitness, and nutrition calculations.
Calculate BMI, daily calorie needs, macros, steps-to-calories, and hydration requirements easily.
✨ Features
- 📊 BMI Calculator – with WHO categories
- 🔥 Daily Calorie Needs – using Mifflin-St Jeor equation
- 🍽️ Macro Breakdown – protein, carbs, fats split
- 🚶 Steps → Calories – estimate calories burned from steps
- 💧 Hydration Needs – suggest daily water intake
📦 Installation
pip install pyhealthify
Usage
from pyhealthify import bmi, calories, activity, hydration
BMI
my_bmi = bmi.calculate(70, 1.75) print("BMI:", my_bmi, "-", bmi.category(my_bmi))
Daily Calories
cals = calories.daily_calories(70, 175, 25, "male", "moderate") print("Calories Needed:", cals) print("Macro Split:", calories.macro_breakdown(cals))
Activity
print("Calories Burned (10000 steps):", activity.steps_to_calories(10000, 70))
Hydration
print("Water Intake (L):", hydration.daily_water_intake(70))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyhealthify-0.1.0.tar.gz.
File metadata
- Download URL: pyhealthify-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b763692b2e163af71f25143ed43c3494a60b92c772a59268d0cecb61603e713
|
|
| MD5 |
a6a2939c54f0d71bdbd8935f55672462
|
|
| BLAKE2b-256 |
0cc6a9592101ee570968b23f84b43e203f82c7a04d533db4ba8ab1bc76f620f1
|
File details
Details for the file pyhealthify-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pyhealthify-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4dcd5714f0b3936b33b76001db5a2080ca987d1bfa6e1006111438c1c223cf94
|
|
| MD5 |
60d05348db51de2b65eccdfe32eb123c
|
|
| BLAKE2b-256 |
b0fe52eb78ef0960daeb200544e5d542bccf770afafc0ac5f4577a072d66aee3
|