Metadata-Version: 2.4
Name: thepricer-utils
Version: 0.0.1
Summary: Tiny helpers for price explainers (formatting, ranges, hours-to-afford).
Project-URL: Homepage, https://www.thepricer.org/
Project-URL: Newsroom, https://www.thepricer.org/press
Project-URL: Documentation, https://www.thepricer.org/
Author-email: Alec Pow <press@thepricer.org>
License: MIT
License-File: LICENSE
Keywords: affordability,consumer,cost,prices,pricing,thepricer
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Office/Business :: Financial
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# thepricer-utils

Tiny helpers for price explainers (formatting, ranges, hours-to-afford).  
**Homepage:** https://www.thepricer.org/

## Install
```bash
pip install thepricer-utils
```

## Usage
```python
from thepricer_utils import format_price, midpoint, hours_to_afford

print(format_price(12.99, currency="$", per="lb"))      # "$12.99 per lb"
print(midpoint(9.0, 11.0))                              # 10.0
print(hours_to_afford(28.50, 15.0))                     # 1.9
```
