Period Iterator
Project description
Period Iterator
Period Iterator is a library easing you to iterate through given period.
Usage
from period_iterator import period_iterator
period = period_iterator('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 not period.next():
break
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for period_iterator-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f590dc8adf666853ad6f611417a696ff6c370595e140be7b13eb3435740efcdf |
|
MD5 | 989f0f230ebd3b0f816d5efd9e7adcf1 |
|
BLAKE2b-256 | 5de69204297444ff39fcd39943c18e0ed153ac5dc3ca595e90df4b934831d4c0 |