Skip to content

Parses time string (e.g. 1h5min6s) and returns second

License

Notifications You must be signed in to change notification settings

utgwkk/py-timeparser

Repository files navigation

py-timeparser test PyPI version

Parses time string (e.g. 1h5min6s) and returns second

Install

$ pip install py-timeparser

How to use

>>> import timeparser

>>> timeparser.parse('10s')
10

>>> timeparser.parse('1h5min')
3900

License

MIT

About

Parses time string (e.g. 1h5min6s) and returns second

Resources

License

Stars

Watchers

Forks

Packages

No packages published