Metadata-Version: 2.1
Name: rolex
Version: 0.0.8
Summary: An elegant datetime library.
Home-page: https://github.com/MacHu-GWU/
Author: Sanhe Hu
Author-email: husanhe@gmail.com
Maintainer: Sanhe Hu
Maintainer-email: husanhe@gmail.com
License: MIT
Download-URL: https://pypi.python.org/pypi/rolex/0.0.8#downloads
Platform: Windows
Platform: MacOS
Platform: Unix
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Requires-Dist: python-dateutil (>=2.6.1)
Provides-Extra: docs
Requires-Dist: sphinx (==1.8.1) ; extra == 'docs'
Requires-Dist: sphinx-rtd-theme ; extra == 'docs'
Requires-Dist: sphinx-jinja ; extra == 'docs'
Requires-Dist: sphinx-copybutton ; extra == 'docs'
Requires-Dist: docfly (>=0.0.17) ; extra == 'docs'
Requires-Dist: rstobj (>=0.0.5) ; extra == 'docs'
Requires-Dist: pygments ; extra == 'docs'
Provides-Extra: tests
Requires-Dist: pytest (==3.2.3) ; extra == 'tests'
Requires-Dist: pytest-cov (==2.5.1) ; extra == 'tests'

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

.. image:: https://travis-ci.org/MacHu-GWU/rolex-project.svg?branch=master
    :target: https://travis-ci.org/MacHu-GWU/rolex-project?branch=master

.. image:: https://codecov.io/gh/MacHu-GWU/rolex-project/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/MacHu-GWU/rolex-project

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

.. image:: https://img.shields.io/pypi/l/rolex.svg
    :target: https://pypi.python.org/pypi/rolex

.. image:: https://img.shields.io/pypi/pyversions/rolex.svg
    :target: https://pypi.python.org/pypi/rolex

.. image:: https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social
    :target: https://github.com/MacHu-GWU/rolex-project

------


.. image:: https://img.shields.io/badge/Link-Document-blue.svg
      :target: https://rolex.readthedocs.io/index.html

.. image:: https://img.shields.io/badge/Link-API-blue.svg
      :target: https://rolex.readthedocs.io/py-modindex.html

.. image:: https://img.shields.io/badge/Link-Source_Code-blue.svg
      :target: https://rolex.readthedocs.io/py-modindex.html

.. image:: https://img.shields.io/badge/Link-Install-blue.svg
      :target: `install`_

.. image:: https://img.shields.io/badge/Link-GitHub-blue.svg
      :target: https://github.com/MacHu-GWU/rolex-project

.. image:: https://img.shields.io/badge/Link-Submit_Issue-blue.svg
      :target: https://github.com/MacHu-GWU/rolex-project/issues

.. image:: https://img.shields.io/badge/Link-Request_Feature-blue.svg
      :target: https://github.com/MacHu-GWU/rolex-project/issues

.. image:: https://img.shields.io/badge/Link-Download-blue.svg
      :target: https://pypi.org/pypi/rolex#files


Welcome to the ``rolex`` Documentation
==============================================================================

A elegant datetime library.

- 100% Pure Python implementation.
- Faster datetime/date parser than ``dateutil.parser.parse``.
- Powerful parser convert other type to datetime/date.
- Easy to use high performance time series/random datetime, date generator.
- Relative time calculation (add seconds, hour, week, month, year ...).

.. contents::


.. _install:

Install
------------------------------------------------------------------------------
``rolex`` is released on PyPI, so all you need is:

.. code-block:: console

    $ pip install rolex

To upgrade to latest version:

.. code-block:: console

    $ pip install --upgrade rolex


