Skip to main content

Generate sequence of datatimes, like seq

Project description

dts: Generate sequence of datatimes, like seq

Sequece of dates

dts generate sequence of datetimes.

$ dts 20180401 20180403
20180401
20180402
20180403

If you do it using seq, it will like below.

$ seq 1 3
1
2
3
$ seq -f '%02g' 1 3 | xargs -I {} echo "201804{}"
20180401
20180402
20180403

Install

pip install dts

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

dts-0.1.2.tar.gz (3.7 kB view hashes)

Uploaded Source

Supported by

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