BSD Ports

devel/py-strict-rfc3339 0.7_1 MidnightBSD

Strict, simple, lightweight RFC3339 functions

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
gpl3
Categories
devel, python

Description

Simple and lightweight 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.

In the other systems

The newest version among them is 0.7, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-strict-rfc33390.7_1 newestno data-[email protected]-
FreeBSDdevel/py-strict-rfc33390.7_1 newestnone known-[email protected]-
DragonFlydevel/py-strict-rfc33390.7_1 newestnone known-[email protected]-
HardenedBSDdevel/py-strict-rfc33390.7_1 newestno data-[email protected]-
GhostBSDdevel/py-strict-rfc33390.7_1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}strict-rfc3339

From mports:

cd /usr/mports/devel/py-strict-rfc3339 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}strict-rfc3339>0:devel/py-strict-rfc3339

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
strict-rfc3339-0.7.tar.gz175525cad17bedfc3af57b399db0fed32771f18fc54bbd917e85546088607ac5e1277
Master sites 1
  • PYPI