./time/py-ciso8601, Fast ISO8601 date time parser for Python written in C

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


Branch: CURRENT, Version: 2.3.1, Package name: py311-ciso8601-2.3.1, Maintainer: pkgsrc-users

ciso8601 converts ISO 8601 or RFC 3339 date time strings into Python datetime
objects. Since it's written as a C module, it is much faster than other Python
libraries.


Required to run:
[time/py-pytz] [lang/python310]

Master sites:

Filesize: 30.493 KB

Version history: (Expand)


CVS history: (Expand)


   2023-10-31 21:41:51 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ciso8601: updated to 2.3.1

Version 2.3.1

* Added Python 3.12 wheels
   2023-08-02 18:17:20 by Nia Alarie | Files touched by this commit (41)
Log message:
*: Use FORCE_C_STD=c99 for C packages that use for loop initial
declarations without setting -std=c99.
   2023-07-11 07:39:25 by Nia Alarie | Files touched by this commit (1)
Log message:
py-ciso8601: Assumes compiler defaults to c99
   2022-12-31 22:56:43 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ciso8601: updated to 2.3.0

Version 2.3.0

* Added Python 3.11 support
* Fix the build for PyPy2
* Added missing `fromutc` implementation for `FixedOffset`.
* Removed improper ability to call `FixedOffset`'s `dst`, `tzname` and \ 
`utcoffset` without arguments
* Fixed: `datetime.tzname` returns a `str` in Python 2.7, not a `unicode`
* Change `METH_VARARGS` to `METH_O`, enhancing performance.
* Added support for ISO week dates,
* Added support for ordinal dates
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 13:24:47 by Nia Alarie | Files touched by this commit (263)
Log message:
time: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 17:04:23 by Nia Alarie | Files touched by this commit (263)
Log message:
time: Remove SHA1 hashes for distfiles
   2021-08-09 15:07:40 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ciso8601: updated to 2.2.0

Version 2.2.0

* Added Python 3.9 support
* Switched to using a C implementation of `timezone` objects.
    * Much faster parse times for timestamps with timezone information
        * ~2.5x faster on Python 2.7, ~10% faster on Python 3.9
    * Thanks to [`pendulum`](https://github.com/sdispater/pendulum) and \ 
@sdispater for the code.
    * Python 2.7 users no longer need to install `pytz` dependency :smiley:
* Added caching of tzinfo objects
  * Parsing is ~1.1x faster for subsequent timestamps that have the same time \ 
zone offset.
  * Caching can be disabled at compile time by setting the \ 
`CISO8601_CACHING_ENABLED=0` environment variable
* Fixed a memory leak in the case where an invalid timestamp had a non-UTC \ 
timezone and extra characters