semvec/pypi-packages huggingface dataset:
pytimeparser 0.2.0
Basic Python module to parse time expressions.
License: MIT license
Keywords: pytimeparser

==============================
Python time expressions parser
==============================


.. image:: https://img.shields.io/pypi/v/pytimeparser.svg
        :target: https://pypi.python.org/pypi/pytimeparser

.. image:: https://img.shields.io/travis/ouahibelhanchi/pytimeparser.svg
        :target: https://travis-ci.org/ouahibelhanchi/pytimeparser

.. image:: https://readthedocs.org/projects/pytimeparser/badge/?version=latest
        :target: https://pytimeparser.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status




Basic Python module to parse time expressions.


* Free software: MIT license
* Documentation: https://pytimeparser.readthedocs.io.


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.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage


=======
History
=======

0.2.0 (2018-06-11)
------------------

* Raise `ValueError` in case no time expression recognized.

0.1.0 (2018-04-02)
------------------

* First release on PyPI.