Skip to main content

A date generator.

Project description

Table of Contents

  1. Install
  2. Usage
  3. folder structures

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)

Uploaded Source

Built Distribution

dategen-1.0.2-py2.py3-none-any.whl (2.7 kB view details)

Uploaded Python 2 Python 3

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

Hashes for dategen-1.0.2.tar.gz
Algorithm Hash digest
SHA256 239ddd2dbfab4dda38250610561a6e1fa7d02506ec8afee8fcb6ff64cd3ec558
MD5 1dab021dfbba3ed049effc8787eaf7f2
BLAKE2b-256 92f801f194a97d6766f818eedf6e368ba2566e513ae646be027233810e712836

See more details on using hashes here.

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

Hashes for dategen-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 913e22aedffc89b656a89f5fb4f693e8dab40261016518530863ece900de74bc
MD5 5ac1f9a5ef994390aa50d3dc3ae1e631
BLAKE2b-256 d7ad0cff94400435f17fee7aaf73c1f73cf098bee425a1c3c7ac8aa9e0760922

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page