×

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:04 2025
md5 checksum 5fcd9200e3ef3a00c267437d7254d350
arch x86_64
build py310h06a4308_0
depends python >=3.10,<3.11.0a0
license GPL-3.0
license_family GPL
md5 5fcd9200e3ef3a00c267437d7254d350
name strict-rfc3339
platform linux
sha1 8b6e25366918afe19ec2b0619476ca43c2207035
sha256 c0df5196b33c8698fd3c488b0d8bcab57d36d63f3ffb2782fb93e12b6ea68d27
size 25122
subdir linux-64
timestamp 1683042322177
version 0.7