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
File details
Details for the file datetime-itertool-0.0.1a0.tar.gz
.
File metadata
- Download URL: datetime-itertool-0.0.1a0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.8.5 Darwin/20.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80625db0f26f42aced47e4b4214f6a85fdcb9f09617d49e6f3b61fd90b227895 |
|
MD5 | ad9c1d24f607701cf8aa6624c9115b16 |
|
BLAKE2b-256 | d70912376ed722b03b51a5aee62fc02713073bc12ae27b34e9b329fd771aa49c |
File details
Details for the file datetime_itertool-0.0.1a0-py3-none-any.whl
.
File metadata
- Download URL: datetime_itertool-0.0.1a0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.8.5 Darwin/20.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20b05bfe37d8fdcc54e7489a187fc0220f56bab95566b8bf3713b4484ddbe0e9 |
|
MD5 | 36969b1a26bb1602dfccec83ed06ef3a |
|
BLAKE2b-256 | 405f407070fd4d09fa1b0abeb010ef4dd370288af5ff2bee17c1954fa7c57ba5 |