semvec/pypi-packages huggingface dataset:
pyhealthify 0.1.1
A simple health & fitness utility library (BMI, calories, macros, hydration).
License: MIT
Requires Python: >=3.7

# 🏥 PyHealthify

[![PyPI version](https://img.shields.io/pypi/v/pyhealthify?color=blue)](https://pypi.org/project/pyhealthify/)
[![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![Python](https://img.shields.io/pypi/pyversions/pyhealthify.svg)](https://pypi.org/project/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:

```bash
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))
snap-python 0.1.7
Interact with snapd and snapstore(s) from Python
License: MIT
Requires Python: <4.0,>=3.10

# snap-python

snap-python provides an API client to interact with snapd

[Click here to read the documentation](https://alexdlukens.github.io/snap-python/)

## Installation

To install snap-python, you can use pip:

```
pip install snap-python
```

## Usage

Here is a simple example of how to use snap-python:

```python
# uses asyncio, must be run in an event loop
>>> import asyncio
>>> from snap_python.client import SnapClient
>>> sc = SnapClient()
>>> installed_snaps = asyncio.run(sc.snaps.list_installed_snaps())
>>> [snap.name for snap in installed_snaps.result]
[..., 'vlc', 'snapcraft', 'firefox', 'store-tui', 'gtk-common-themes', 'thunderbird', ...]
```

Get details for installed snap `vlc`

```python

# uses asyncio, must be run in an event loop
>>> import asyncio
>>> from snap_python.client import SnapClient
>>> sc = SnapClient()
>>> vlc_snap = asyncio.run(sc.snaps.get_snap_info("vlc"))
>>> vlc_snap.result.version
'3.0.20-1-g2617de71b6'
```

## License

This project is licensed under the MIT License. See the LICENSE file for more details.