Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

date-cli

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

date-cli

Date Command for shell

  • 0.0.1
  • PyPI
  • Socket score

Maintainers
1

======== date-cli

.. image:: https://travis-ci.org/Jhengsh/date-cli.svg?branch=master :target: https://travis-ci.org/Jhengsh/date-cli :alt: Build Status

.. image:: https://img.shields.io/pypi/v/date-cli.svg :target: https://pypi.org/project/date-cli/ :alt: 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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc