Date Command for shell
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb4a88229d2c98522b94e6a6e386d16073cf5a698be467978b0a542df066f3e7
|
|
| MD5 |
51c20e1fc2d9dade2c10766e348446e9
|
|
| BLAKE2b-256 |
26c2734915576e2773b7d93815300d2d28c3ddea6a923809068e43b862b98dcb
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a4b61af5acddeeb0563df6fa0eb4804d8090f71c055b95378a66f23e730c0f0
|
|
| MD5 |
cd65488874fbf1cfcfeaa0f3200aab1f
|
|
| BLAKE2b-256 |
205d8ba98f3eef0ba628e2febae8568d39e97ce16a4c75748b3d21ffd73cb91e
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7baedb4da154a03d70b98ce96c7d074faff53fcaac767cadd522d1c4b2582ba9
|
|
| MD5 |
d697711d1dfd60bfc6e9bcdff5f84093
|
|
| BLAKE2b-256 |
49c68e07dffbde38a9a769a5e94cc93b7c7302443192ba27e1db52dd44df98fa
|