datetime-itertool

Simple datetime iterator


License
MIT
Install
pip install datetime-itertool==0.0.1a0

Documentation

datetime-itertool

Build Status codecov Python Version wemake-python-styleguide

Simple datetime iterator

Features

Installation

pip install datetime-itertool

Example

Showcase how your project can be used:

import datetime

from datetime_itertool.datetime_iterator import DateTimeIterator


start = datetime.datetime(2022, 2, 7)
end = datetime.datetime(2022, 2, 10)


for date_time in DateTimeIterator(start, end):
    print(date_time)

# 2022-02-07 00:00:00
# 2022-02-08 00:00:00
# 2022-02-09 00:00:00

License

MIT

Credits

This project was generated with wemake-python-package. Current template version is: 5fe13ee2646d5cf38736bacfa8f9dbbfac092efb. See what is updated since then.