Simple datetime iterator
Project description
datetime-itertool
Simple datetime iterator
Features
- Fully typed with annotations and checked with mypy, PEP561 compatible
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
Credits
This project was generated with wemake-python-package
. Current template version is: 5fe13ee2646d5cf38736bacfa8f9dbbfac092efb. See what is updated since then.
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
Built Distribution
Close
Hashes for datetime-itertool-0.0.1a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80625db0f26f42aced47e4b4214f6a85fdcb9f09617d49e6f3b61fd90b227895 |
|
MD5 | ad9c1d24f607701cf8aa6624c9115b16 |
|
BLAKE2b-256 | d70912376ed722b03b51a5aee62fc02713073bc12ae27b34e9b329fd771aa49c |
Close
Hashes for datetime_itertool-0.0.1a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20b05bfe37d8fdcc54e7489a187fc0220f56bab95566b8bf3713b4484ddbe0e9 |
|
MD5 | 36969b1a26bb1602dfccec83ed06ef3a |
|
BLAKE2b-256 | 405f407070fd4d09fa1b0abeb010ef4dd370288af5ff2bee17c1954fa7c57ba5 |