Simple linux at command string parser
Project description
at-date
Simple Python library for parsing at command string into datetime objects.
noon next day -> 2018-10-11 12:00:00
Installation
To install at-date simply use pip:
pip install atdate
Getting started
To use at-date import parse function.
>>> from atdate import parse
>>> parse('noon next day')
datetime.datetime(2018, 10, 11, 12, 0)
>>> parse('now + 8 hours')
datetime.datetime(2018, 10, 10, 15, 42, 24)
More info can be found in docs/ directory or in docs page page.
How to Contribute
Take a look at CONTRIBUTING guide.
License
At-date is licensed under MIT License. See LICENSE for more information.
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
atdate-0.0.1.dev11.tar.gz
(4.5 kB
view details)
Built Distribution
File details
Details for the file atdate-0.0.1.dev11.tar.gz
.
File metadata
- Download URL: atdate-0.0.1.dev11.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b55a67185e40cc994f4b2287e3c07b9c5dcf85f73a1a8f9194eb13ef0bb5343b |
|
MD5 | 48e7408c093feb0efdbbffcf3a7dcd11 |
|
BLAKE2b-256 | 3f0a96be84a3c8775d52d1f9a1c4f30ec96308f96604405252e6ef583aef095a |
File details
Details for the file atdate-0.0.1.dev11-py3-none-any.whl
.
File metadata
- Download URL: atdate-0.0.1.dev11-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5c45c25ae1ba8e32778b24263a93f815cd99b87995b5d3e324752c664bd2d87 |
|
MD5 | a25422233253b9b12725c7a90be84002 |
|
BLAKE2b-256 | 79a96ca6fb5849e529be0802dbeb5ebdde99ccc9880b0998bab795c452a802a8 |