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)

Installation

Method 1: Using PyPI

$ pip install date-cli

Method 2: Using git

$ pip install git+https://github.com/Jhengsh/date-cli.git

Tuturial

Basic Use:

$ date_range -s 20200225 -e 20200305 | awk '{print "python execute.py --yyyymmdd "$1";"}'
# python execute.py --yyyymmdd 20200225;
# python execute.py --yyyymmdd 20200226;
# python execute.py --yyyymmdd 20200227;
# python execute.py --yyyymmdd 20200228;
# python execute.py --yyyymmdd 20200229;
# python execute.py --yyyymmdd 20200301;
# python execute.py --yyyymmdd 20200302;
# python execute.py --yyyymmdd 20200303;
# python execute.py --yyyymmdd 20200304;
# python execute.py --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.

Source Distribution

date-cli-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

date_cli-0.0.1-py3.7.egg (4.3 kB view details)

Uploaded Egg

date_cli-0.0.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file date-cli-0.0.1.tar.gz.

File metadata

  • Download URL: date-cli-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for date-cli-0.0.1.tar.gz
Algorithm Hash digest
SHA256 eb4a88229d2c98522b94e6a6e386d16073cf5a698be467978b0a542df066f3e7
MD5 51c20e1fc2d9dade2c10766e348446e9
BLAKE2b-256 26c2734915576e2773b7d93815300d2d28c3ddea6a923809068e43b862b98dcb

See more details on using hashes here.

File details

Details for the file date_cli-0.0.1-py3.7.egg.

File metadata

  • Download URL: date_cli-0.0.1-py3.7.egg
  • Upload date:
  • Size: 4.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for date_cli-0.0.1-py3.7.egg
Algorithm Hash digest
SHA256 4a4b61af5acddeeb0563df6fa0eb4804d8090f71c055b95378a66f23e730c0f0
MD5 cd65488874fbf1cfcfeaa0f3200aab1f
BLAKE2b-256 205d8ba98f3eef0ba628e2febae8568d39e97ce16a4c75748b3d21ffd73cb91e

See more details on using hashes here.

File details

Details for the file date_cli-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: date_cli-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for date_cli-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7baedb4da154a03d70b98ce96c7d074faff53fcaac767cadd522d1c4b2582ba9
MD5 d697711d1dfd60bfc6e9bcdff5f84093
BLAKE2b-256 49c68e07dffbde38a9a769a5e94cc93b7c7302443192ba27e1db52dd44df98fa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page