A date generator.
Project description
Table of Contents
Dategen is a python package that yield a generator of dates.
Install
$ python3 -m pip install dategen
Usage
import dategen
g = dategen.dategen.backward
help(g)
x=g()
# only the last command will be displayed.
# type( x ) # generator
# list( x ) # 5000 datetime, a very long list.
# next( x ) # one datetime form the generator
# len( list(x) ) # 5000
folder structures
date
tree
Fri Jul 23 17:57:13 CST 2021 . ├── LICENSE ├── Pipfile ├── Pipfile.lock ├── README.md ├── Untitled.ipynb ├── Untitled1.ipynb ├── dategen │ ├── init.py │ └── dategen.py ├── log.org ├── pyproject.toml └── tests └── dategen.ipynb
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
dategen-1.0.1.tar.gz
(22.9 kB
view hashes)
Built Distribution
Close
Hashes for dategen-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bae52ad9e4a21ac912a3348794f531a33533c7628f0c42b9297877663df7d468 |
|
MD5 | a451d039c854ee798197d9392ae528fa |
|
BLAKE2b-256 | 165100add9b6ea78c422c634c65afffe6f40dd1202ad8ad35532be72731d764f |