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.0.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for date_pick-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0273768c09e2edb3f80d0e522413428236d09266018d3eb805a6be49466d6f13 |
|
MD5 | 58a628d9aa4169598aaf876064668129 |
|
BLAKE2b-256 | 72ab7048ec41d8a6a74ab8d3f86cbfbd25e7c32104020e2a46cc217767a78cdc |