[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#761152: ITP: python-strict-rfc3339 -- Strict, simple, lightweight RFC3339 functions



Package: wnpp
Severity: wishlist
Owner: Florian Preinstorfer <fp@xell.at>

* Package name    : python-strict-rfc3339
  Version         : 0.4
  Upstream Author : Daniel Richman, Adam Greig
* URL             : https://pypi.python.org/pypi/strict-rfc3339/
* License         : GPL-3
  Programming Lang: Python
  Description     : Strict, simple, lightweight RFC3339 functions

This package tries to stick as closely as possible to RFC3339. Its
goals are:
 * Convert unix timestamps to and from RFC3339.
 * Either produce RFC3339 strings with a UTC offset (Z) or with the
   offset that the C time module reports is the local timezone offset.
 * Simple with minimal dependencies/libraries.
 * Avoid timezones as much as possible.
 * Be very strict and follow RFC3339 as closely as possible.

This program may be used to improve the validation of json-schema files.
The package python-jsonschema optionally uses this program (if it is
installed) to check the format 'date-time' as specified in the json
schema specification. This package is used in-house and we'd like to
contribute it back to Debian. A sponsor would be needed and a first
draft of the package is available at [1].

regards,
Florian

[1] https://github.com/nblock/python-strict-rfc3339


Reply to: