Metadata-Version: 2.1
Name: atdate
Version: 0.0.1.dev11
Summary: Simple linux at command string parser
Home-page: https://github.com/destag/at-date
Author: Przemysław Pietras
Author-email: przemyslawp94@gmail.com
License: MIT License
Keywords: atdate,at,date,datetime,time,parse,parser
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development
Description-Content-Type: text/markdown
Requires-Dist: lark-parser (>=0.6.3)
Requires-Dist: python-dateutil (>=2.7.3)

# at-date

[![Build Status](https://travis-ci.org/destag/at-date.svg?branch=master)](https://travis-ci.org/destag/at-date)
[![codecov](https://codecov.io/gh/destag/at-date/branch/master/graph/badge.svg)](https://codecov.io/gh/destag/at-date)
[![CodeFactor](https://www.codefactor.io/repository/github/destag/at-date/badge)](https://www.codefactor.io/repository/github/destag/at-date)
[![PyPI version](https://badge.fury.io/py/atdate.svg)](https://badge.fury.io/py/atdate)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/atdate.svg)](https://pypi.python.org/pypi/atdate/)

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:

```bash
pip install atdate
```

## Getting started

To use **at-date** import **parse** function.

```python
>>> 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/](docs/) directory or in [docs page](https://destag.github.io/at-date/) page.

## How to Contribute

Take a look at [CONTRIBUTING](CONTRIBUTING.md) guide.

## License

**At-date** is licensed under MIT License. See [LICENSE](LICENSE) for more information.


