×

strict-rfc3339 is a simple & light python module to validate, parse and generate RFC3339 time strings. It was initially created as a part of habitat in response to difficulty using other libraries. It can convert UNIX timestamps to and from RFC3339, either producing strings with a UTC offset (Z) or with the offset that the C time module reports is the local timezone offset. It has minimal dependencies (none beyond those that come with Python) and avoids the error-prone act of dealing with timezones as much as possible. Besides that, it's designed to be strict and stick closely to RFC3339, with a couple of very small caveats. It's also fully unit tested.

Uploaded Mon Mar 31 02:55:06 2025
md5 checksum 0de6a056eaafd1345949182bc872e288
arch x86_64
build py38h06a4308_0
depends python >=3.8,<3.9.0a0
license GPL-3.0
license_family GPL
md5 0de6a056eaafd1345949182bc872e288
name strict-rfc3339
platform linux
sha1 3a1a4edd57ff534ea239afe1a1c294aa01b447ef
sha256 4c4d85c58c57f771f2372991c051cc42d40b977fd79b0d4299803b350cb9bc2a
size 25036
subdir linux-64
timestamp 1683042294523
version 0.7