./time/py-aniso8601, Library for parsing ISO 8601 strings

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 6.0.0, Package name: py27-aniso8601-6.0.0, Maintainer: pkgsrc-users

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
* Parser separate from representation, allowing parsing to different datetime
formats
* No regular expressions


Required to run:
[devel/py-setuptools] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 48fa13510125cb075c3af2fdb392bba0c09a6985
RMD160: d552fc8e5d64614aed300054482f9b6cab4ff41a
Filesize: 35.575 KB

Version history: (Expand)


CVS history: (Expand)


   2019-04-03 11:31:40 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-aniso8601: updated to 6.0.0

aniso8601 6.0.0
Remove previously deprecated built in version of relativetimebuilder
Python 2 support will be removed in 7.0.0

aniso8601 5.0.0
Previously deprecated relative keyword removed
Move builders to builders module
aniso8601.builder.PythonTimeBuilder -> aniso8601.builders.python.PythonTimeBuilder
aniso8601.builder.RelativeTimeBuilder -> \ 
aniso8601.builders.relative.RelativeTimeBuilder
aniso8601.builder.TupleBuilder -> aniso8601.builders.TupleBuilder
UTCOffset moved out of builder (aniso8601.builder.UTCOffset -> \ 
aniso8601.utcoffset.UTCOffset)
Fractional arguments are now handled with greater precision
When build_time is called with only hh 24<=hh<25, a MidnightBoundsError is \ 
raised, this used to be a HoursOutOfBoundsError
Promote interval components to datetime objects if the given duration has second \ 
or microsecond resolution, or if the duration tuple has hour, minute, or second \ 
components
Before promotion would only happen if the duration tuple had hour, minute, or \ 
second components
The built in RelativeTimeBuilder is deprecated, it will be removed in aniso8601 \ 
6.0.0, use RelativeTimeBuilder from relativetimebuilder instead
   2019-01-09 10:01:08 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-aniso8601: updated to 4.1.0

4.1.0:
Unknown changes.
   2018-12-06 20:25:34 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
py-aniso8601: added version 4.0.1

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
* Parser separate from representation, allowing parsing to different datetime
  formats
* No regular expressions