Pick date by conditions and list of re-like wildcards
Project description
Welcome to date_pick ⛏️
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
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
date_pick-0.1.1.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for date_pick-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 116c924f46178c6ce81530c81e60e749fb62922fe6fef8ec0ed96b74ee2e615c |
|
MD5 | bf8e067c47955d4350be71e3082bee74 |
|
BLAKE2b-256 | 089891233b6697ef53a2d3fe7b5708418e1c49cc5585e41b42205263b57d70e9 |