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 details)
Built Distribution
File details
Details for the file dategen-1.0.2.tar.gz
.
File metadata
- Download URL: dategen-1.0.2.tar.gz
- Upload date:
- Size: 22.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 239ddd2dbfab4dda38250610561a6e1fa7d02506ec8afee8fcb6ff64cd3ec558 |
|
MD5 | 1dab021dfbba3ed049effc8787eaf7f2 |
|
BLAKE2b-256 | 92f801f194a97d6766f818eedf6e368ba2566e513ae646be027233810e712836 |
File details
Details for the file dategen-1.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: dategen-1.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 913e22aedffc89b656a89f5fb4f693e8dab40261016518530863ece900de74bc |
|
MD5 | 5ac1f9a5ef994390aa50d3dc3ae1e631 |
|
BLAKE2b-256 | d7ad0cff94400435f17fee7aaf73c1f73cf098bee425a1c3c7ac8aa9e0760922 |