×

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:05 2025
md5 checksum f2195f3ab2e158f3e6a9926e0b198c09
arch x86_64
build py312h06a4308_0
depends python >=3.12,<3.13.0a0
license GPL-3.0
license_family GPL
md5 f2195f3ab2e158f3e6a9926e0b198c09
name strict-rfc3339
platform linux
sha1 d4c603c2f96d8dce3f8277e6b60f0d8c9fb2b2d7
sha256 a8f0b28775e1767ed270092b659caebe0997da0bde28852b5f3a155586c75ee1
size 24808
subdir linux-64
timestamp 1698902259479
version 0.7