Skip to main content

Date Command for shell

Project description

Build Status Latest Release

This package provides date command line.

  • date_range: help you generate date between 2 date(format: yyyymmdd)
  • month_range: help you generate date between 2 month(format: yyyymm)


Method 1: Using PyPI

$ pip install date-cli

Method 2: Using git

$ pip install git+


Basic Use:

$ date_range -s 20200225 -e 20200305 | awk '{print "python --yyyymmdd "$1";"}'
# python --yyyymmdd 20200225;
# python --yyyymmdd 20200226;
# python --yyyymmdd 20200227;
# python --yyyymmdd 20200228;
# python --yyyymmdd 20200229;
# python --yyyymmdd 20200301;
# python --yyyymmdd 20200302;
# python --yyyymmdd 20200303;
# python --yyyymmdd 20200304;
# python --yyyymmdd 20200305;

$ month_range -s 202001 -e 202003                                                                          jhengsh@Jhengshs-MBP
# 202001
# 202002
# 202003

Project details

Download files

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

Files for date-cli, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size date_cli-0.0.1-py3.7.egg (4.3 kB) File type Egg Python version 3.7 Upload date Hashes View
Filename, size date_cli-0.0.1-py3-none-any.whl (4.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size date-cli-0.0.1.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page