Metadata-Version: 1.1
Name: pretty-cron
Version: 1.0.0
Summary: Converts crontab expressions to human-readable descriptions.
Home-page: https://github.com/adamchainz/pretty-cron
Author: Adam Johnson
Author-email: me@adamj.eu
License: MIT
Description: ===========
        pretty-cron
        ===========
        
        .. image:: https://img.shields.io/travis/adamchainz/pretty-cron.svg
                :target: https://travis-ci.org/adamchainz/pretty-cron
        
        .. image:: https://img.shields.io/pypi/v/pretty-cron.svg
                :target: https://pypi.python.org/pypi/pretty-cron
        
        Converts crontab expressions to human-readable descriptions.
        
        Installation
        ============
        
        Use pip:
        
        .. code-block:: bash
        
            pip install pretty-cron
        
        API
        ===
        
        ``prettify_cron(cron_expression)``
        ----------------------------------
        
        Converts the given string cron expression into a pretty, human-readable,
        English description of what it means. If the string is not a valid cron
        expression, or it includes features not currently supported, it is returned
        as-is.
        
        For example:
        
        .. code-block:: python
        
            >>> import pretty_cron
            >>> pretty_cron.prettify_cron("0 * * * *")
            "At 0 minutes past every hour of every day"
            >>> pretty_cron.prettify_cron("0 0 1 1 *")
            "At 00:00 on the 1st of January"
            >>> pretty_cron.prettify_cron("12 15 * 1 *")
            "At 15:12 every day in January"
            >>> pretty_cron.prettify_cron("lalala")  # Not a cron expression
            "lalala"
        
        
        
        
        History
        -------
        
        1.0.0 (pending)
        ---------------
        
        * First release on PyPI, featuring ``prettify_cron`` function.
        
Keywords: cron
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
