Metadata-Version: 2.4
Name: python-utils-rondomondo
Version: 0.1.0
Summary: Reusable Python utilities for dates, money, and more
Author-email: David Kierans <dave@abcdef.ai>
License-Expression: MIT
Project-URL: Repository, https://github.com/rondomondo/python-utils-rondomondo
Project-URL: Issues, https://github.com/rondomondo/python-utils-rondomondo/issues
Keywords: utilities,dates,money,decimal,datetime
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: pytest-cov>=5.0; extra == "dev"
Requires-Dist: ruff>=0.4; extra == "dev"
Requires-Dist: mypy>=1.9; extra == "dev"
Dynamic: license-file

# python-utils-rondomondo

Reusable Python utilities for dates and money.

## Install

```bash
pip install python-utils-rondomondo
```

Or with `uv`:

```bash
uv add python-utils-rondomondo
```

## Usage

```python
from python_utils.dates import now_utc, parse_duration, date_windows
from python_utils.money import format_currency, allocate, round_half_up
```

### Dates

```python
from python_utils.dates import now_utc, parse_duration, to_iso

now = now_utc()
delta = parse_duration("7days")
print(to_iso(now))
```

### Money

```python
from decimal import Decimal
from python_utils.money import format_currency, allocate

print(format_currency(Decimal("1234.5")))   # $1,234.50
shares = allocate(Decimal("100.00"), [1, 2, 3])
```

## Requirements

Python 3.11+

## License

MIT
