Metadata-Version: 2.0
Name: pytimeparser
Version: 0.2.0
Summary: Basic Python module to parse time expressions.
Home-page: https://github.com/ouahibelhanchi/pytimeparser
Author: Ouahib El Hanchi
Author-email: ouahib.el.hanchi@gmail.com
License: MIT license
Keywords: pytimeparser
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6

==============================
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.


