Skip to main content

Simple datetime iterator

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datetime-itertool-0.0.1a0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

datetime_itertool-0.0.1a0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

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

Hashes for datetime-itertool-0.0.1a0.tar.gz
Algorithm Hash digest
SHA256 80625db0f26f42aced47e4b4214f6a85fdcb9f09617d49e6f3b61fd90b227895
MD5 ad9c1d24f607701cf8aa6624c9115b16
BLAKE2b-256 d70912376ed722b03b51a5aee62fc02713073bc12ae27b34e9b329fd771aa49c

See more details on using hashes here.

File details

Details for the file datetime_itertool-0.0.1a0-py3-none-any.whl.

File metadata

File hashes

Hashes for datetime_itertool-0.0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 20b05bfe37d8fdcc54e7489a187fc0220f56bab95566b8bf3713b4484ddbe0e9
MD5 36969b1a26bb1602dfccec83ed06ef3a
BLAKE2b-256 405f407070fd4d09fa1b0abeb010ef4dd370288af5ff2bee17c1954fa7c57ba5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page