×

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 f79431b42e6065907452cda5346cff7b
arch x86_64
build py311h06a4308_0
depends python >=3.11,<3.12.0a0
license GPL-3.0
license_family GPL
md5 f79431b42e6065907452cda5346cff7b
name strict-rfc3339
platform linux
sha1 42bf45ff84738db22bcfe94d28237faaa5728e7b
sha256 07c8b0199d70ec746ab1448a407006da9475293302333eeac8a8909e399caba9
size 26490
subdir linux-64
timestamp 1683042267189
version 0.7