Metadata-Version: 2.1
Name: period-iterator
Version: 1.0.0
Summary: Period Iterator
Home-page: https://github.com/chonla/period-iterator
Author: Chonlasith Jucksriporn
Author-email: chonlasith@gmail.com
License: MIT
Keywords: period,iterator
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.7, <4
Requires-Dist: python-dateutil
Requires-Dist: pytz

===============
Period Iterator
===============

Period Iterator is a library easing you to iterate through given period.

-----
Usage
-----

::

    period = PeriodIterator('2020-02-01,2020-02-03', 'Asia/Bangkok')

    while True:
        print(period.cursor.begin()) # Begin of day
        print(period.cursor.end()) # End of day
        if period.next():
            break

-------
License
-------

MIT_

.. _MIT: https://github.com/chonla/period-iterator/blob/master/LICENSE


