slackbuilds/python/aniso8601
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
README
aniso8601.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
aniso8601.info python/aniso8601: Convert python to python2. 2021-06-02 01:02:23 +07:00
slack-desc

README

A library for parsing ISO 8601 strings.

Features:
Pure Python implementation
Python 3 support
Logical behavior

    Parse a time, get a datetime.time
    Parse a date, get a datetime.date
    Parse a datetime, get a datetime.datetime
    Parse a duration, get a datetime.timedelta
    Parse an interval, get a tuple of dates or datetimes
    Parse a repeating interval, get a date or datetime generator

UTC offset represented as fixed-offset tzinfo
dateutil.relativedelta available for calendar accuracy
No regular expressions