Metadata-Version: 2.5
Name: trw-metaharness
Version: 0.0.1
Summary: Format durations in seconds as human-friendly text and parse them back.
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 1 - Planning
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Description-Content-Type: text/markdown

> **Note:** This package name is reserved by its owner. This distribution is a small standalone utility and is **not** affiliated with, part of, or a substitute for any other software that uses a similar name. If you were looking for a TRW component, install it with the official TRW installer, which uses its own package index.

# spandur

Format a duration in seconds as human-friendly text (`2h 5m 3s`) and parse such text back into seconds. Stdlib only.

```python
from spandur import format_duration, parse_duration

format_duration(7503)        # '2h 5m 3s'
parse_duration("1d 2h")      # 93600
```
