Metadata-Version: 2.4
Name: duration-humanizer
Version: 0.2.3
Summary: Convert seconds into human readable format
Author: Manish Maheshwari
License: MIT
Project-URL: Homepage, https://github.com/maheshwarimanish/duration-humanizer
Project-URL: Repository, https://github.com/maheshwarimanish/duration-humanizer
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# Duration Humanizer

A lightweight Python package that converts durations in seconds into a human-readable format.

## Features

- Convert seconds into days, hours, minutes, and seconds
- Simple and easy-to-use API
- Lightweight with no external dependencies

## Installation

```bash
pip install duration-humanizer
```

## Usage

```python
from duration_humanizer import humanize

print(humanize(3661))
```

### Output

```text
1 hour 1 minute 1 second
```

## More Examples

```python
from duration_humanizer import humanize

print(humanize(45))
# 45 seconds

print(humanize(125))
# 2 minutes 5 seconds

print(humanize(3661))
# 1 hour 1 minute 1 second

print(humanize(90061))
# 1 day 1 hour 1 minute 1 second
```

## Project Links

- PyPI: https://pypi.org/project/duration-humanizer/
- GitHub: https://github.com/maheshwarimanish/duration-humanizer

## License

MIT License
