Skip to main content

Pick date by conditions and list of re-like wildcards

Project description

Welcome to date_pick ⛏️

Codestyle: Black Codecheck: Flake8

Description

Pick date by conditions and list of re-like wildcards

Quickstart

>>> from date_pick import DatePick
>>> import datetime
>>> 
>>> datetime.datetime.now()
datetime.datetime(2021, 11, 22, 15, 53, 20, 357911)
>>> 
>>> picker = DatePicker()
>>> # pick the nearest Monday 4 AM
>>> picker.pick(["*-*-*-0 04:00:00"])
"2021-11-29 04:00:00"

Authors

  • Nick Kuzmenkov

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_pick-0.1.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

date_pick-0.1.1-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

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