devel/py-strict-rfc3339 0.7_1 DragonFly
Strict, simple, lightweight RFC3339 functions
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- GPLv3
- Categories
- devel, python
- Package size
- 18.9 KiB, 61.6 KiB installed
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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/py-strict-rfc3339 | 0.7_1 newest | none known | - | [email protected] | - |
| FreeBSD | devel/py-strict-rfc3339 | 0.7_1 newest | none known | - | [email protected] | - |
| NetBSD | time/py-strict-rfc3339 by name | 0.7nb1 newest | none known | - | [email protected] | - |
| MidnightBSD | devel/py-strict-rfc3339 | 0.7_1 newest | no data | - | [email protected] | - |
| HardenedBSD | devel/py-strict-rfc3339 | 0.7_1 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-strict-rfc3339 | 0.7_1 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install py311-strict-rfc3339
From DPorts:
cd /usr/dports/devel/py-strict-rfc3339 && make install clean
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.