Period Iterator
Project description
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
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 Distribution
period-iterator-1.0.1.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for period_iterator-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a09d7d1cdc40b1110bd4a36f6231c1f683a6123eade8bc5f00970588a9a68246 |
|
MD5 | 072ae09c1c79a3eb59f3b60e55c707b7 |
|
BLAKE2b-256 | ca406e9b088367908759533bace3d1f55ef6005279135d692e3836c8899b2a6e |