https://github.com/destag/at-date
Simple Python library for at-date string parsing
https://github.com/destag/at-date
datetime hacktoberfest parser python utility
Last synced: 2 days ago
JSON representation
Simple Python library for at-date string parsing
- Host: GitHub
- URL: https://github.com/destag/at-date
- Owner: destag
- License: mit
- Created: 2018-08-07T12:26:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-11-03T10:30:02.000Z (3 months ago)
- Last Synced: 2025-11-03T12:16:14.467Z (3 months ago)
- Topics: datetime, hacktoberfest, parser, python, utility
- Language: Python
- Homepage: https://destag.github.io/at-date/
- Size: 294 KB
- Stars: 4
- Watchers: 1
- Forks: 12
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# at-date
[](https://travis-ci.org/destag/at-date)
[](https://codecov.io/gh/destag/at-date)
[](https://www.codefactor.io/repository/github/destag/at-date)
[](https://badge.fury.io/py/atdate)
[](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.