Period Iterator
Project description
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 Distribution
period-iterator-1.0.3.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for period_iterator-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 954aa61c867ea4178cf097d8c2438735114d28ae3d928091b1a4a3fe9d51afe9 |
|
MD5 | 1e6a70cc4ddf5c1d1b2f295abb81b502 |
|
BLAKE2b-256 | 8f4b8c6994dbd12cb54c613e26fb52137488f9370bf35c112bd0cb5c8b94a3b2 |