Skip to main content

Simple linux at command string parser

Project description

at-date

Build Status codecov CodeFactor PyPI version PyPI pyversions

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


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 hashes)

Uploaded Source

Built Distribution

atdate-0.0.1.dev11-py3-none-any.whl (5.1 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