Skip to content

ouahibelhanchi/pytimeparser

Repository files navigation

Python time expressions parser

Documentation Status

Basic Python module to parse time expressions.

Usage

To use Python time expressions parser in a project:

import pytimeparser

output_timedelta = pytimeparser.parse('3 days 5:12:43.123')

print(output_timedelta.total_seconds())

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.