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.2.tar.gz
(22.9 kB
view hashes)
Built Distribution
Close
Hashes for dategen-1.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 913e22aedffc89b656a89f5fb4f693e8dab40261016518530863ece900de74bc |
|
MD5 | 5ac1f9a5ef994390aa50d3dc3ae1e631 |
|
BLAKE2b-256 | d7ad0cff94400435f17fee7aaf73c1f73cf098bee425a1c3c7ac8aa9e0760922 |