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
Install directly from PyPI:
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
pyhealthify-0.1.1.tar.gz
(4.1 kB
view details)
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.1.tar.gz.
File metadata
- Download URL: pyhealthify-0.1.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85bd990973eec873aa8494c8ee1692cf97dc3586663a7cec73f2b4709ff2032c
|
|
| MD5 |
89ed19e35ee8ba4d8afe4a8a8ba7d0ee
|
|
| BLAKE2b-256 |
2fa7162a9df2b14fcc8631b0fbbecf7026ccf5e45e48191d53d3fa2ffced3c42
|
File details
Details for the file pyhealthify-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pyhealthify-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.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 |
714550075e2301b06951e40e7880cfee2edcccd7cb3dbabdea3e84df576fb72d
|
|
| MD5 |
6bc5854d7afa1629c395b280b0bc842b
|
|
| BLAKE2b-256 |
de28421ef6cfa1058e22d39701a56b5d2c6411b9f67d9b1e68d79aebb9afa5b6
|