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.

Files for dts, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size dts-0.1.2.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page