Metadata-Version: 2.3
Name: htd
Version: 0.0.1
Summary: Parse time deltas from human-readable strings
Author: Baptiste Fontaine
Author-email: baptiste@bixoto.com
Requires-Python: >=3.9
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Description-Content-Type: text/markdown

# htd

**htd** stands for **h**uman **t**ime **d**elta and is a micro-library to parse strings such as `7d4h`
into `timedelta(days=7, hours=4)`.

## Install

    pip install htd

With Poetry:

    poetry add htd

## Usage

```python
import htd

htd.parse("7d")
# => datetime.timedelta(days=7)
```

